mirror of
https://github.com/torvalds/linux
synced 2024-10-08 12:22:38 +00:00
KVM: arm64: nv: Add trap description for SPSR_EL2 and ELR_EL2
Having carved a hole for SP_EL1, we are now missing the entries for SPSR_EL2 and ELR_EL2. Add them back. Reported-by: Miguel Luis <miguel.luis@oracle.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
This commit is contained in:
parent
60046980bf
commit
c948a0a2f5
|
@ -651,6 +651,8 @@ static const struct encoding_to_trap_config encoding_to_cgt[] __initconst = {
|
|||
SR_RANGE_TRAP(sys_reg(3, 4, 0, 0, 0),
|
||||
sys_reg(3, 4, 3, 15, 7), CGT_HCR_NV),
|
||||
/* Skip the SP_EL1 encoding... */
|
||||
SR_TRAP(SYS_SPSR_EL2, CGT_HCR_NV),
|
||||
SR_TRAP(SYS_ELR_EL2, CGT_HCR_NV),
|
||||
SR_RANGE_TRAP(sys_reg(3, 4, 4, 1, 1),
|
||||
sys_reg(3, 4, 10, 15, 7), CGT_HCR_NV),
|
||||
SR_RANGE_TRAP(sys_reg(3, 4, 12, 0, 0),
|
||||
|
|
Loading…
Reference in a new issue