Re: [PATCH v2 03/11] arm64: gunyah: Add Gunyah hypercalls ABI

From
Dmitry Baryshkov <hidden>
Date
2022-08-02 13:34:58
Also in
linux-arm-kernel, linux-arm-msm, linux-devicetree
Reply to
Elliot Berman, 2022-08-01
On 02/08/2022 00:12, Elliot Berman wrote:
Add initial support to perform Gunyah hypercalls. The arm64 ABI for
Gunyah hypercalls generally follows the SMC Calling Convention.
Seeing a c&p (or c&rework) from arm-smccc.h, could you please describe:

1) Why can't you use the existing arm_smccc_1_1_hvc()? I checked, you don't seem to be getting more than 4 values back.

2) If #1 is not possible, why can't you add necessary glue code to the arm-smccc.h (as your code to support nargs/multiple return values is generic enough) and use corresponding macro in asm/gunyah.h ?

-- 
With best wishes
Dmitry
Thread (46 messages) 46 messages, 9 authors, last reply 2022-08-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help