On Wed, Jul 6, 2022 at 10:05 AM Marc Zyngier <maz@xxxxxxxxxx> wrote: > > 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(), > makeing the code far simpler to audit. Nit: s/makeing/making/ > > Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx> Reviewed-by: Reiji Watanabe <reijiw@xxxxxxxxxx>