aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2023-08-15 19:38:53 +0100
committerMarc Zyngier <[email protected]>2023-08-17 10:00:27 +0100
commit15b4d82d69d7b0e5833b7a023dff3d7bbae5ccfc (patch)
tree13d82d1a56a3d4808dbf89ea54348a3f826d8ec6 /lib/memory-notifier-error-inject.c
parente880bd3363237ed8abbe623d1b49d59d5f6fe0d1 (diff)
KVM: arm64: nv: Add fine grained trap forwarding infrastructure
Fine Grained Traps are fun. Not. Implement the fine grained trap forwarding, reusing the Coarse Grained Traps infrastructure previously implemented. Each sysreg/instruction inserted in the xarray gets a FGT group (vaguely equivalent to a register number), a bit number in that register, and a polarity. It is then pretty easy to check the FGT state at handling time, just like we do for the coarse version (it is just faster). Reviewed-by: Eric Auger <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Reviewed-by: Jing Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions