diff options
| author | 2022-07-05 10:26:07 +0100 | |
|---|---|---|
| committer | 2022-07-17 11:55:33 +0100 | |
| commit | e1246f3f2df7aec025fd587ac3d7912007d1144d (patch) | |
| tree | 178ef7a858569de2a7e5bcb22ce4d9973c098e35 /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: arm64: vgic-v3: Use u32 to manage the line level from userspace (diff) | |
| download | linux-dev-e1246f3f2df7aec025fd587ac3d7912007d1144d.tar.xz linux-dev-e1246f3f2df7aec025fd587ac3d7912007d1144d.zip | |
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 'tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
