diff options
author | David Brazdil <dbrazdil@google.com> | 2020-12-02 18:41:11 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-12-04 10:08:34 +0000 |
commit | a805e1fb30990e29b3174c39bf39015065e5dc19 (patch) | |
tree | 8dd343bd2f9f13986be4dc8e06a987fff09ba6d3 /arch/x86/boot/pmjump.S | |
parent | 94f5e8a4642aedb19ca73f534372d7ed65e1c84e (diff) | |
download | linux-a805e1fb30990e29b3174c39bf39015065e5dc19.tar.bz2 |
KVM: arm64: Add SMC handler in nVHE EL2
Add handler of host SMCs in KVM nVHE trap handler. Forward all SMCs to
EL3 and propagate the result back to EL1. This is done in preparation
for validating host SMCs in KVM protected mode.
The implementation assumes that firmware uses SMCCC v1.2 or older. That
means x0-x17 can be used both for arguments and results, other GPRs are
preserved.
Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201202184122.26046-16-dbrazdil@google.com
Diffstat (limited to 'arch/x86/boot/pmjump.S')
0 files changed, 0 insertions, 0 deletions