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

Dave Martin dave.martin at linaro.org
Thu May 2 13:19:25 EDT 2013


On Wed, May 01, 2013 at 10:59:13AM -0700, Christoffer Dall wrote:
> 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

Thanks
---Dave



More information about the linux-arm-kernel mailing list