diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-03-27 17:03:38 +0100 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-04-09 07:49:13 -0700 |
commit | 24d5950f6befae3f4b7eaab890ad9bc0988824b6 (patch) | |
tree | 276aea69bae328c49c63336c6976af4d03ea45d7 /init/do_mounts_rd.c | |
parent | arm64: KVM: PMU: Refactor pmu_*_el0_disabled (diff) | |
download | linux-dev-24d5950f6befae3f4b7eaab890ad9bc0988824b6.tar.xz linux-dev-24d5950f6befae3f4b7eaab890ad9bc0988824b6.zip |
arm64: KVM: PMU: Inject UNDEF exception on illegal register access
Both pmu_*_el0_disabled() and pmu_counter_idx_valid() perform checks
on the validity of an access, but only return a boolean indicating
if the access is valid or not.
Let's allow these functions to also inject an UNDEF exception if
the access was illegal.
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions