linux/arch/arm64/kvm/hyp
Marc Zyngier b4f18c063a arm64: KVM: Handle guest's ARCH_WORKAROUND_2 requests
In order to forward the guest's ARCH_WORKAROUND_2 calls to EL3,
add a small(-ish) sequence to handle it at EL2. Special care must
be taken to track the state of the guest itself by updating the
workaround flags. We also rely on patching to enable calls into
the firmware.

Note that since we need to execute branches, this always executes
after the Spectre-v2 mitigation has been applied.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2018-05-31 18:00:57 +01:00
..
debug-sr.c KVM: arm64: Improve debug register save/restore flow 2018-03-19 10:53:12 +00:00
entry.S arm64: KVM: Use SMCCC_ARCH_WORKAROUND_1 for Falkor BP hardening 2018-04-11 18:49:30 +01:00
fpsimd.S arm64: KVM: Implement fpsimd save/restore 2015-12-14 11:30:41 +00:00
hyp-entry.S arm64: KVM: Handle guest's ARCH_WORKAROUND_2 requests 2018-05-31 18:00:57 +01:00
Makefile KVM: arm/arm64: Move arm64-only vgic-v2-sr.c file to arm64 2018-03-19 10:53:20 +00:00
s2-setup.c KVM: arm64: Stop save/restoring host tpidr_el1 on VHE 2018-01-13 10:44:40 +00:00
switch.c arm64: KVM: Add ARCH_WORKAROUND_2 support for guests 2018-05-31 18:00:55 +01:00
sysreg-sr.c KVM: arm64: Configure c15, PMU, and debug register traps on cpu load/put for VHE 2018-03-19 10:53:19 +00:00
tlb.c KVM: arm/arm64: Detangle kvm_mmu.h from kvm_hyp.h 2018-01-08 15:20:43 +01:00
vgic-v2-cpuif-proxy.c arm64: vgic-v2: Fix proxying of cpuif access 2018-05-04 16:45:55 +01:00