diff options
author | Marc Zyngier <maz@kernel.org> | 2024-02-14 13:18:10 +0000 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-02-19 17:13:00 +0000 |
commit | 9958d58779c92b72ef5b29284d073ecaa2a28764 (patch) | |
tree | 46f22018097d5d1ca4e88be3936850a61fcfcaba /drivers/atm/iphase.c | |
parent | 0beb14de740df93a5af0edc0bd4941dc037e6688 (diff) |
KVM: arm64: nv: Correctly handle negative polarity FGTs
Negative trap bits are a massive pain. They are, on the surface,
indistinguishable from RES0 bits. Do you trap? or do you ignore?
Thankfully, we now have the right infrastructure to check for RES0
bits as long as the register is backed by VNCR, which is the case
for the FGT registers.
Use that information as a discriminant when handling a trap that
is potentially caused by a FGT.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240214131827.2856277-10-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'drivers/atm/iphase.c')
0 files changed, 0 insertions, 0 deletions