diff options
| author | Marc Zyngier <[email protected]> | 2025-01-27 11:58:38 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2025-05-10 10:04:35 +0000 |
| commit | 397411c743c77a9c1d90f407b502010227a259dc (patch) | |
| tree | c22900c262a0122e99f3c5b9d09d64060ae437b7 /arch/arm64/kvm/emulate-nested.c | |
| parent | KVM: arm64: Use KVM-specific HCRX_EL2 RES0 mask (diff) | |
| download | kernel-397411c743c77a9c1d90f407b502010227a259dc.tar.gz kernel-397411c743c77a9c1d90f407b502010227a259dc.zip | |
KVM: arm64: Handle PSB CSYNC traps
The architecture introduces a trap for PSB CSYNC that fits in
the same EC as LS64. Let's deal with it in a similar way as
LS64.
It's not that we expect this to be useful any time soon anyway.
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'arch/arm64/kvm/emulate-nested.c')
| -rw-r--r-- | arch/arm64/kvm/emulate-nested.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kvm/emulate-nested.c b/arch/arm64/kvm/emulate-nested.c index c581cf29bc59..0b033d3a3d7a 100644 --- a/arch/arm64/kvm/emulate-nested.c +++ b/arch/arm64/kvm/emulate-nested.c @@ -2000,6 +2000,7 @@ static const struct encoding_to_trap_config encoding_to_fgt[] __initconst = { * trap is handled somewhere else. */ static const union trap_config non_0x18_fgt[] __initconst = { + FGT(HFGITR, PSBCSYNC, 1), FGT(HFGITR, nGCSSTR_EL1, 0), FGT(HFGITR, SVC_EL1, 1), FGT(HFGITR, SVC_EL0, 1), |
