commit | 9008c235cb8162a4110c9153cace8530bc716210 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Mon Mar 27 17:03:39 2017 +0100 |
committer | Christoffer Dall <cdall@linaro.org> | Sun Apr 09 07:49:13 2017 -0700 |
tree | 8549f245bfc9b196d2630d7f046ce856418e9734 | |
parent | 24d5950f6befae3f4b7eaab890ad9bc0988824b6 [diff] |
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>