]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: s390: selftests: Add uc_map_unmap VM test case
authorChristoph Schlameuss <schlameuss@linux.ibm.com>
Thu, 7 Nov 2024 14:10:20 +0000 (15:10 +0100)
committerJanosch Frank <frankja@linux.ibm.com>
Mon, 11 Nov 2024 12:04:36 +0000 (12:04 +0000)
commitae16b0ab3baeb5e969dd8192a185297b96cd56a9
tree5531d1a691f69259cf2bee2cbee4e774b233af8b
parent75ec613efa257a43663232b2aa46d1737395bb73
KVM: s390: selftests: Add uc_map_unmap VM test case

Add a test case verifying basic running and interaction of ucontrol VMs.
Fill the segment and page tables for allocated memory and map memory on
first access.

* uc_map_unmap
  Store and load data to mapped and unmapped memory and use pic segment
  translation handling to map memory on access.

Signed-off-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Link:
https://lore.kernel.org/r/20241107141024.238916-2-schlameuss@linux.ibm.com
[frankja@linux.ibm.com: Fixed patch prefix]
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Message-ID: <20241107141024.238916-2-schlameuss@linux.ibm.com>
tools/testing/selftests/kvm/s390x/ucontrol_test.c