Re: [PATCH v2 02/11] KVM: arm64: Clean up SMC64 PSCI filtering for AArch32 guests

2021-10-05 Thread Andrew Jones
On Thu, Sep 23, 2021 at 07:16:01PM +, Oliver Upton wrote: > The only valid calling SMC calling convention from an AArch32 state is > SMC32. Disallow any PSCI function that sets the SMC64 function ID bit > when called from AArch32 rather than comparing against known SMC64 PSCI > functions. > >

Re: [PATCH v2 02/11] KVM: arm64: Clean up SMC64 PSCI filtering for AArch32 guests

2021-10-01 Thread Reiji Watanabe
On Thu, Sep 23, 2021 at 12:16 PM Oliver Upton wrote: > > The only valid calling SMC calling convention from an AArch32 state is > SMC32. Disallow any PSCI function that sets the SMC64 function ID bit > when called from AArch32 rather than comparing against known SMC64 PSCI > functions. > > Signed-

[PATCH v2 02/11] KVM: arm64: Clean up SMC64 PSCI filtering for AArch32 guests

2021-09-23 Thread Oliver Upton
The only valid calling SMC calling convention from an AArch32 state is SMC32. Disallow any PSCI function that sets the SMC64 function ID bit when called from AArch32 rather than comparing against known SMC64 PSCI functions. Signed-off-by: Oliver Upton --- arch/arm64/kvm/psci.c | 14 +