diff options
| author | David Brazdil <[email protected]> | 2020-07-21 09:44:45 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2020-07-28 09:41:11 +0000 |
| commit | a59a2edbbba7397fede86e40a3da17e5beebf98b (patch) | |
| tree | fe9e1c6219cee12a7013d8b1b8e39b4b18c551b3 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | |
| parent | KVM: arm64: Make nVHE ASLR conditional on RANDOMIZE_BASE (diff) | |
| download | kernel-a59a2edbbba7397fede86e40a3da17e5beebf98b.tar.gz kernel-a59a2edbbba7397fede86e40a3da17e5beebf98b.zip | |
KVM: arm64: Substitute RANDOMIZE_BASE for HARDEN_EL2_VECTORS
The HARDEN_EL2_VECTORS config maps vectors at a fixed location on cores which
are susceptible to Spector variant 3a (A57, A72) to prevent defeating hyp
layout randomization by leaking the value of VBAR_EL2.
Since this feature is only applicable when EL2 layout randomization is enabled,
unify both behind the same RANDOMIZE_BASE Kconfig. Majority of code remains
conditional on a capability selected for the affected cores.
Signed-off-by: David Brazdil <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions
