]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: vgic-v3: Make the userspace accessors use sysreg API
authorMarc Zyngier <maz@kernel.org>
Mon, 4 Jul 2022 08:57:38 +0000 (09:57 +0100)
committerMarc Zyngier <maz@kernel.org>
Sun, 17 Jul 2022 10:55:33 +0000 (11:55 +0100)
commit8ffba71b427cf45e9f4c3aba128a371850567b4b
tree5791822410f86618bc380b1b09528198998686a7
parent3d797adadce504d3b47cf63b5091b3825e36ae3c
KVM: arm64: vgic-v3: Make the userspace accessors use sysreg API

The vgic-v3 sysreg accessors have been ignored as the rest of the
sysreg internal API was evolving, and are stuck with the .access
method (which is normally reserved to the guest's own access)
for the userspace accesses (which should use the .set/.get_user()
methods).

Catch up with the program and repaint all the accessors so that
they fit into the normal userspace model, and plug the result into
the helpers that have been introduced earlier.

Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/vgic-sys-reg-v3.c