diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-03-27 17:03:39 +0100 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-04-09 07:49:13 -0700 |
commit | 9008c235cb8162a4110c9153cace8530bc716210 (patch) | |
tree | 8549f245bfc9b196d2630d7f046ce856418e9734 /arch/arm/mach-versatile | |
parent | arm64: KVM: PMU: Inject UNDEF exception on illegal register access (diff) | |
download | linux-dev-9008c235cb8162a4110c9153cace8530bc716210.tar.xz linux-dev-9008c235cb8162a4110c9153cace8530bc716210.zip |
arm64: KVM: PMU: Inject UNDEF on non-privileged accesses
access_pminten() and access_pmuserenr() can only be accessed when
the CPU is in a priviledged mode. If it is not, let's inject an
UNDEF exception.
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/mach-versatile')
0 files changed, 0 insertions, 0 deletions