summaryrefslogtreecommitdiff
path: root/lib/test_debug_virtual.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-03-12 20:27:36 +0300
committerMarc Zyngier <maz@kernel.org>2020-09-29 16:19:38 +0300
commit42223fb100b43430daf0c396701cd75b2579ddb7 (patch)
tree87b6dcf13dd8fa6d939dd882443b436efb589dcb /lib/test_debug_virtual.c
parentf4d51dffc6c01a9e94650d95ce0104964f8ae822 (diff)
downloadlinux-42223fb100b43430daf0c396701cd75b2579ddb7.tar.xz
KVM: arm64: Refactor PMU attribute error handling
The PMU emulation error handling is pretty messy when dealing with attributes. Let's refactor it so that we have less duplication, and that it is easy to extend later on. A functional change is that kvm_arm_pmu_v3_init() used to return -ENXIO when the PMU feature wasn't set. The error is now reported as -ENODEV, matching the documentation. -ENXIO is still returned when the interrupt isn't properly configured. Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'lib/test_debug_virtual.c')
0 files changed, 0 insertions, 0 deletions