diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-05-29 13:11:17 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-05-31 18:00:57 +0100 |
commit | b4f18c063a13dfb33e3a63fe1844823e19c2265e (patch) | |
tree | bc443010e3993eb477128be3d1e5eefeae9ed408 /virt | |
parent | 55e3748e8902ff641e334226bdcb432f9a5d78d3 (diff) |
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions