On Tue Aug 20, 2024 at 8:48 AM CEST, Hariharan Mari wrote:
Extend the existing regression test framework for s390x CPU subfunctions to include tests for the PRNO (Perform Random Number Operation), KDSA (Compute Digital Signature Authentication) and KMA (Cipher Message with Authentication) crypto functions.
The test procedure follows the established pattern:
- Obtain KVM_S390_VM_CPU_MACHINE_SUBFUNC attribute for the VM.
- Execute PRNO, KDSA and KMA instructions.
- Compare KVM-reported results with direct instruction execution results.
Suggested-by: Janosch Frank frankja@linux.ibm.com Signed-off-by: Hariharan Mari hari55@linux.ibm.com Reviewed-by: Janosch Frank frankja@linux.ibm.com
LGTM
Reviewed-by: Christoph Schlameuss schlameuss@linux.ibm.com
.../kvm/s390x/cpumodel_subfuncs_test.c | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+)
[...]