diff options
author | Marc Zyngier <maz@kernel.org> | 2020-04-09 13:05:26 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-04-22 17:13:30 +0100 |
commit | 41ee52ecbcdc98eb2a03241923b1a7d46f476bb3 (patch) | |
tree | a82fefae445268e338524b3188192d0bab8cc2c0 /block/blk-stat.c | |
parent | 9a50ebbffa9862db7604345f5fd763122b0f6fed (diff) |
KVM: arm: vgic: Only use the virtual state when userspace accesses enable bits
There is no point in accessing the HW when writing to any of the
ISENABLER/ICENABLER registers from userspace, as only the guest
should be allowed to change the HW state.
Introduce new userspace-specific accessors that deal solely with
the virtual state.
Reported-by: James Morse <james.morse@arm.com>
Tested-by: James Morse <james.morse@arm.com>
Reviewed-by: James Morse <james.morse@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'block/blk-stat.c')
0 files changed, 0 insertions, 0 deletions