diff options
author | Marc Zyngier <[email protected]> | 2023-10-23 10:54:43 +0100 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2023-10-25 00:24:57 +0000 |
commit | c7d11a61c7f7de75e4e269485644ea8c5a4e0bf6 (patch) | |
tree | 032cd89e3aecf8b6f413f8dc861629186658982c /lib/test_fortify/write_overflow-strncpy.c | |
parent | 04cf5465055442c15c37bbedb1febe2d8f3a47be (diff) |
KVM: arm64: Do not let a L1 hypervisor access the *32_EL2 sysregs
DBGVCR32_EL2, DACR32_EL2, IFSR32_EL2 and FPEXC32_EL2 are required to
UNDEF when AArch32 isn't implemented, which is definitely the case when
running NV.
Given that this is the only case where these registers can trap,
unconditionally inject an UNDEF exception.
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Oliver Upton <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions