[PATCH] ARM: KVM: Don't handle PSCI calls via SMC

Christoffer Dall cdall at cs.columbia.edu
Wed May 1 13:59:13 EDT 2013


On Wed, May 1, 2013 at 9:49 AM, Dave P Martin <Dave.Martin at arm.com> wrote:
> Currently, kvmtool unconditionally declares that HVC should be used
> to call PSCI, so the function numbers in the DT tell the guest
> nothing about the function ID namespace or calling convention for
> SMC.
>
> We already assume that the guest will examine and honour the DT,
> since there is no way it could possibly guess the KVM-specific PSCI
> function IDs otherwise.  So let's not encourage guests to violate
> what's specified in the DT by using SMC to make the call.
>
> Signed-off-by: Dave P Martin <Dave.Martin at arm.com>
> Acked-by: Marc Zyngier <marc.zyngier at arm.com>

Thanks, applied.

-Christoffer



More information about the linux-arm-kernel mailing list