arm64: KVM: Force undefined exception for Guest SMC intructions
authorAnup Patel <anup.patel@linaro.org>
Thu, 12 Dec 2013 16:12:23 +0000 (16:12 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:28 +0000 (17:18 +0200)
commitdfbd506266a97ad252336ea96e41791fdd0c0828
treebc9b31f1b15ca7f462393e3d4a3893af2e248165
parentaf4604a0f9c909b60d043cebb20110804639460e
arm64: KVM: Force undefined exception for Guest SMC intructions

The SMC-based PSCI emulation for Guest is going to be very different
from the in-kernel HVC-based PSCI emulation hence for now just inject
undefined exception when Guest executes SMC instruction.

Signed-off-by: Anup Patel <anup.patel@linaro.org>
Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Signed-off-by: marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit e5cf9dcdbfd26cd4e1991db08755da900454efeb)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/kvm/handle_exit.c