RE: [PATCH v9 1/7] smccc: Add HVC call variant with result registers other than 0 thru 3

2021-03-25 Thread Michael Kelley
From: Mark Rutland Sent: Thursday, March 25, 2021 2:56 AM > > On Thu, Mar 25, 2021 at 04:55:51AM +, Michael Kelley wrote: > > From: Mark Rutland Sent: Wednesday, March 24, 2021 > > 9:55 AM > > > For the benefit of others here, SMCCCv1.2 allows: > > > > > > * SMC64/HVC64 to use all of

Re: [PATCH v9 1/7] smccc: Add HVC call variant with result registers other than 0 thru 3

2021-03-25 Thread Mark Rutland
On Thu, Mar 25, 2021 at 04:55:51AM +, Michael Kelley wrote: > From: Mark Rutland Sent: Wednesday, March 24, 2021 > 9:55 AM > > For the benefit of others here, SMCCCv1.2 allows: > > > > * SMC64/HVC64 to use all of x1-x17 for both parameters and return values > > * SMC32/HVC32 to use all of

RE: [PATCH v9 1/7] smccc: Add HVC call variant with result registers other than 0 thru 3

2021-03-24 Thread Michael Kelley
From: Mark Rutland Sent: Wednesday, March 24, 2021 9:55 AM > > Hi Michael, > > On Mon, Mar 08, 2021 at 11:57:13AM -0800, Michael Kelley wrote: > > Hypercalls to Hyper-V on ARM64 may return results in registers other > > than X0 thru X3, as permitted by the SMCCC spec version 1.2 and later. > >

Re: [PATCH v9 1/7] smccc: Add HVC call variant with result registers other than 0 thru 3

2021-03-24 Thread Mark Rutland
Hi Michael, On Mon, Mar 08, 2021 at 11:57:13AM -0800, Michael Kelley wrote: > Hypercalls to Hyper-V on ARM64 may return results in registers other > than X0 thru X3, as permitted by the SMCCC spec version 1.2 and later. > Accommodate this by adding a variant of arm_smccc_1_1_hvc that allows > the

[PATCH v9 1/7] smccc: Add HVC call variant with result registers other than 0 thru 3

2021-03-08 Thread Michael Kelley
Hypercalls to Hyper-V on ARM64 may return results in registers other than X0 thru X3, as permitted by the SMCCC spec version 1.2 and later. Accommodate this by adding a variant of arm_smccc_1_1_hvc that allows the caller to specify which 3 registers are returned in addition to X0. Signed-off-by: