]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: s390: selftests: Add ucontrol flic attr selftests
authorChristoph Schlameuss <schlameuss@linux.ibm.com>
Mon, 16 Dec 2024 09:21:36 +0000 (10:21 +0100)
committerClaudio Imbrenda <imbrenda@linux.ibm.com>
Tue, 7 Jan 2025 15:36:10 +0000 (16:36 +0100)
commitb07f6a30c7a42661ce7c0222a642c8e91d69c8b1
treec8adaca3cf959d89230a85aec5609ecb2994466c
parentdf989238fa46039393f0af5cfb93a863a233c061
KVM: s390: selftests: Add ucontrol flic attr selftests

Add some superficial selftests for the floating interrupt controller
when using ucontrol VMs. These tests are intended to cover very basic
calls only.

Some of the calls may trigger null pointer dereferences on kernels not
containing the fixes in this patch series.

Signed-off-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
Tested-by: Hariharan Mari <hari55@linux.ibm.com>
Reviewed-by: Hariharan Mari <hari55@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Link: https://lore.kernel.org/r/20241216092140.329196-3-schlameuss@linux.ibm.com
Message-ID: <20241216092140.329196-3-schlameuss@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
tools/testing/selftests/kvm/s390x/ucontrol_test.c