On Wed, Jul 6, 2022 at 9:43 AM Marc Zyngier <maz@xxxxxxxxxx> wrote: > > Finding out whether a sysreg exists has little to do with that > register being accessed, so drop the is_write parameter. > > Also, the reg pointer is completely unused, and we're better off > just passing the attr pointer to the function. > > This result in a small cleanup of the calling site, with a new > helper converting the vGIC view of a sysreg into the canonical > one (this is purely cosmetic, as the encoding is the same). > > Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx> Reviewed-by: Reiji Watanabe <reijiw@xxxxxxxxxx> _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm