Re: [PATCH v2 2/5] KVM: s390: selftests: Add regression tests for PRNO, KDSA and KMA crypto subfunctions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
>
> 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 <frankja@xxxxxxxxxxxxx>
> Signed-off-by: Hariharan Mari <hari55@xxxxxxxxxxxxx>
> Reviewed-by: Janosch Frank <frankja@xxxxxxxxxxxxx>

LGTM

Reviewed-by: Christoph Schlameuss <schlameuss@xxxxxxxxxxxxx>

> ---
>  .../kvm/s390x/cpumodel_subfuncs_test.c        | 51 +++++++++++++++++++
>  1 file changed, 51 insertions(+)

[...]





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux