Searched hist:e4e11cc0f81ee7be17d6f6fb96128a6d51c0e838 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/arm64/kvm/hyp/ |
H A D | hyp-entry.S | diff e4e11cc0f81ee7be17d6f6fb96128a6d51c0e838 Wed Oct 17 13:21:16 CDT 2018 Christoffer Dall <christoffer.dall@arm.com> KVM: arm64: Safety check PSTATE when entering guest and handle IL
This commit adds a paranoid check when entering the guest to make sure we don't attempt running guest code in an equally or more privilged mode than the hypervisor. We also catch other accidental programming of the SPSR_EL2 which results in an illegal exception return and report this safely back to the user.
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | ptrace.h | diff e4e11cc0f81ee7be17d6f6fb96128a6d51c0e838 Wed Oct 17 13:21:16 CDT 2018 Christoffer Dall <christoffer.dall@arm.com> KVM: arm64: Safety check PSTATE when entering guest and handle IL
This commit adds a paranoid check when entering the guest to make sure we don't attempt running guest code in an equally or more privilged mode than the hypervisor. We also catch other accidental programming of the SPSR_EL2 which results in an illegal exception return and report this safely back to the user.
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
|
H A D | kvm_asm.h | diff e4e11cc0f81ee7be17d6f6fb96128a6d51c0e838 Wed Oct 17 13:21:16 CDT 2018 Christoffer Dall <christoffer.dall@arm.com> KVM: arm64: Safety check PSTATE when entering guest and handle IL
This commit adds a paranoid check when entering the guest to make sure we don't attempt running guest code in an equally or more privilged mode than the hypervisor. We also catch other accidental programming of the SPSR_EL2 which results in an illegal exception return and report this safely back to the user.
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | handle_exit.c | diff e4e11cc0f81ee7be17d6f6fb96128a6d51c0e838 Wed Oct 17 13:21:16 CDT 2018 Christoffer Dall <christoffer.dall@arm.com> KVM: arm64: Safety check PSTATE when entering guest and handle IL
This commit adds a paranoid check when entering the guest to make sure we don't attempt running guest code in an equally or more privilged mode than the hypervisor. We also catch other accidental programming of the SPSR_EL2 which results in an illegal exception return and report this safely back to the user.
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
|