diff options
author | Marc Zyngier <maz@kernel.org> | 2022-07-05 10:26:07 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-07-17 11:55:33 +0100 |
commit | e1246f3f2df7aec025fd587ac3d7912007d1144d (patch) | |
tree | 178ef7a858569de2a7e5bcb22ce4d9973c098e35 /scripts/gdb/linux/proc.py | |
parent | 38cf0bb7625a58625efeef9ec944671464ff7430 (diff) |
KVM: arm64: vgic-v3: Consolidate userspace access for MMIO registers
For userspace accesses to GICv3 MMIO registers (and related data),
vgic_v3_{get,set}_attr are littered with {get,put}_user() calls,
making it hard to audit and reason about.
Consolidate all userspace accesses in vgic_v3_attr_regs_access(),
making the code far simpler to audit.
Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions