-by: Hariharan Mari
---
.../selftests/kvm/s390x/ucontrol_test.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/tools/testing/selftests/kvm/s390x/ucontrol_test.c
b/tools/testing/selftests/kvm/s390x/ucontrol_test.c
index b003abda8495..8f306395696e 100644
--- a/tools
ned-off-by: Christoph Schlameuss
Reviewed-by: Hariharan Mari
---
Documentation/virt/kvm/api.rst | 3 +++
arch/s390/kvm/interrupt.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/Documentation/virt/kvm/api.rst
b/Documentation/virt/kvm/api.rst
index 454c2aaa155e..f15b61317aad 10
this patch series.
Signed-off-by: Christoph Schlameuss
Reviewed-by: Hariharan Mari
---
.../selftests/kvm/s390x/ucontrol_test.c | 148 ++
1 file changed, 148 insertions(+)
diff --git a/tools/testing/selftests/kvm/s390x/ucontrol_test.c
b/tools/testing/selftests/kvm/s390x
y: Claudio Imbrenda
Signed-off-by: Christoph Schlameuss
Reviewed-by: Hariharan Mari
---
Documentation/virt/kvm/devices/s390_flic.rst | 4
arch/s390/kvm/interrupt.c| 4
2 files changed, 8 insertions(+)
diff --git a/Documentation/virt/kvm/devices/s390_flic.rst
b/Document
On 2024-12-16 10:21, Christoph Schlameuss wrote:
Fixup the uc_attr_mem_limit test case to also cover the
KVM_HAS_DEVICE_ATTR ioctl.
Signed-off-by: Christoph Schlameuss
Tested-by: Hariharan Mari
---
tools/testing/selftests/kvm/s390x/ucontrol_test.c | 5 -
1 file changed, 4 insertions
: Hariharan Mari
---
.../selftests/kvm/s390x/ucontrol_test.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/tools/testing/selftests/kvm/s390x/ucontrol_test.c
b/tools/testing/selftests/kvm/s390x/ucontrol_test.c
index b003abda8495..8f306395696e 100644
--- a/tools
removed this test case can work in all
situations. The function of the iske instruction is still validated by
the remaining code.
Fixes: 7d900f8ac191 ("selftests: kvm: s390: Add uc_skey VM test case")
Signed-off-by: Christoph Schlameuss
Tested-by: Hariharan Mari
---
.../selftests
this patch series.
Signed-off-by: Christoph Schlameuss
Tested-by: Hariharan Mari
---
.../selftests/kvm/s390x/ucontrol_test.c | 148 ++
1 file changed, 148 insertions(+)
diff --git a/tools/testing/selftests/kvm/s390x/ucontrol_test.c
b/tools/testing/selftests/kvm/s390x
y: Claudio Imbrenda
Signed-off-by: Christoph Schlameuss
Tested-by: Hariharan Mari
---
Documentation/virt/kvm/devices/s390_flic.rst | 4
arch/s390/kvm/interrupt.c| 4
2 files changed, 8 insertions(+)
diff --git a/Documentation/virt/kvm/devices/s390_flic.rst
b/Document
ned-off-by: Christoph Schlameuss
Tested-by: Hariharan Mari
---
Documentation/virt/kvm/api.rst | 3 +++
arch/s390/kvm/interrupt.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/Documentation/virt/kvm/api.rst
b/Documentation/virt/kvm/api.rst
index 454c2aaa155e..f15b61317aad 10
follows the established pattern.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
---
.../kvm/s390x/cpumodel_subfuncs_test.c| 32 +++
1 file changed, 32 insertions(+)
diff --git a/tools/testing/selftests/kvm/s390x
.
The test procedure follows the established pattern.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
Reviewed-by: Christoph Schlameuss
---
.../kvm/s390x/cpumodel_subfuncs_test.c| 61 +++
1 file changed, 61 insertions(+)
diff --git a
procedure follows the established pattern.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
Reviewed-by: Christoph Schlameuss
---
.../kvm/s390x/cpumodel_subfuncs_test.c| 49 +++
1 file changed, 49 insertions(+)
diff --git a/tools/testing
pattern:
1. Obtain KVM_S390_VM_CPU_MACHINE_SUBFUNC attribute for the VM.
2. Execute PRNO, KDSA and KMA instructions.
3. Compare KVM-reported results with direct instruction execution results.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
Reviewed-by: Christoph
subfunctions.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
---
tools/testing/selftests/kvm/Makefile | 2 +
.../selftests/kvm/include/s390x/facility.h| 50 +
.../selftests/kvm/lib/s390x/facility.c| 14 +++
.../kvm/s390x
facility.c file in
selftests/kvm/lib/s390x/
* Fixed the line length
* Fixed single line comments and multiline comments
* Renamed the PLO macro
* Removed the unnecessary type cast where Implicit type promotion applies
---
Hariharan Mari (5):
KVM: s390: selftests: Add regression tests for SORTL
follows the established pattern.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
---
.../kvm/s390x/cpumodel_subfuncs_test.c| 34 +++
1 file changed, 34 insertions(+)
diff --git a/tools/testing/selftests/kvm/s390x
.
The test procedure follows the established pattern.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
---
.../kvm/s390x/cpumodel_subfuncs_test.c| 78 +++
1 file changed, 78 insertions(+)
diff --git a/tools/testing/selftests/kvm/s390x
procedure follows the established pattern.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
---
.../kvm/s390x/cpumodel_subfuncs_test.c| 65 +++
1 file changed, 65 insertions(+)
diff --git a/tools/testing/selftests/kvm/s390x
pattern:
1. Obtain KVM_S390_VM_CPU_MACHINE_SUBFUNC attribute for the VM.
2. Execute PRNO, KDSA and KMA instructions.
3. Compare KVM-reported results with direct instruction execution results.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
---
.../kvm/s390x
subfunctions.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
---
tools/testing/selftests/kvm/Makefile | 1 +
.../selftests/kvm/include/s390x/facility.h| 50
.../kvm/s390x/cpumodel_subfuncs_test.c| 115 ++
3 files
direct instruction execution results.
Testing has been performed on s390x hardware with KVM support. All tests
pass successfully, verifying the correct implementation of these
subfunctions in KVM.
---
v2:
* Fix facility_bit type from bool to int
---
Hariharan Mari (5):
KVM: s390: selftests
follows the established pattern.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
---
.../kvm/s390x/cpumodel_subfuncs_test.c| 36 ++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests/kvm/s390x
.
The test procedure follows the established pattern.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
---
.../kvm/s390x/cpumodel_subfuncs_test.c| 78 +++
1 file changed, 78 insertions(+)
diff --git a/tools/testing/selftests/kvm/s390x
procedure follows the established pattern.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
---
.../kvm/s390x/cpumodel_subfuncs_test.c| 65 +++
1 file changed, 65 insertions(+)
diff --git a/tools/testing/selftests/kvm/s390x
pattern:
1. Obtain KVM_S390_VM_CPU_MACHINE_SUBFUNC attribute for the VM.
2. Execute PRNO, KDSA and KMA instructions.
3. Compare KVM-reported results with direct instruction execution results.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
---
.../kvm/s390x
subfunctions.
Suggested-by: Janosch Frank
Signed-off-by: Hariharan Mari
Reviewed-by: Janosch Frank
---
tools/testing/selftests/kvm/Makefile | 1 +
.../selftests/kvm/include/s390x/facility.h| 50
.../kvm/s390x/cpumodel_subfuncs_test.c| 115 ++
3 files
with direct instruction execution results.
Testing has been performed on s390x hardware with KVM support. All tests
pass successfully, verifying the correct implementation of these
subfunctions in KVM.
Hariharan Mari (5):
KVM: s390: selftests: Add regression tests for SORTL and DFLTCC CPU
28 matches
Mail list logo