diff options
| author | Oliver Upton <[email protected]> | 2024-04-24 17:39:59 +0000 |
|---|---|---|
| committer | Oliver Upton <[email protected]> | 2024-04-24 19:09:36 +0000 |
| commit | 160933e330f4c5a13931d725a4d952a4b9aefa71 (patch) | |
| tree | 0cf6432f9b76a46fea7f4e8e8a7de54c29668ccd /drivers/usb/cdns3/cdnsp-debug.h | |
| parent | 6ddb4f372fc63210034b903d96ebbeb3c7195adb (diff) | |
KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF
Assert that accesses to a non-existent vgic-v2 CPU interface
consistently fail across the various KVM device attr ioctls. This also
serves as a regression test for a bug wherein KVM hits a NULL
dereference when the CPUID specified in the ioctl is invalid.
Note that there is no need to print the observed errno, as TEST_ASSERT()
will take care of it.
Reviewed-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-debug.h')
0 files changed, 0 insertions, 0 deletions