diff options
author | Marc Zyngier <maz@kernel.org> | 2024-06-25 15:00:42 +0200 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-06-27 02:04:25 +0200 |
commit | 91e9cc70b77516e766fd8b532c3a20aba37369d1 (patch) | |
tree | 50d112baed4af5d0a08ba1bb91dd4177f57384f2 /arch/arm64/kvm/sys_regs.c | |
parent | KVM: arm64: Make PIR{,E0}_EL1 save/restore conditional on FEAT_TCRX (diff) | |
download | linux-91e9cc70b77516e766fd8b532c3a20aba37369d1.tar.xz linux-91e9cc70b77516e766fd8b532c3a20aba37369d1.zip |
KVM: arm64: Honor trap routing for TCR2_EL1
TCR2_EL1 handling is missing the handling of its trap configuration:
- HCRX_EL2.TCR2En must be handled in conjunction with HCR_EL2.{TVM,TRVM}
- HFG{R,W}TR_EL2.TCR_EL1 does apply to TCR2_EL1 as well
Without these two controls being implemented, it is impossible to
correctly route TCR2_EL1 traps.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240625130042.259175-7-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'arch/arm64/kvm/sys_regs.c')
0 files changed, 0 insertions, 0 deletions