Re: [kvm-unit-tests PATCH v3 0/8] s390x: Extend s390x coverage

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

 



On 27.03.2018 15:29, David Hildenbrand wrote:
> On 27.03.2018 13:55, Janosch Frank wrote:
>> The IBM team wants to join in on testing s390x KVM thoroughly, so I
>> prepared a lot of memory related tests and some IBM z14 related tests.
>>
>> v3:
>> 	* Merged sthyi inline assembly and improved report messages
>> 	* Cosmetical fixes
>> 	* Other inline assembly fixes
>>
>> v2:
>> 	* Improved inline assembly for gs and vector tests
>> 	* Improved test skipping messages for tests needing specific
>>           failities
>> 	* General improvements from review
>>
>> Janosch Frank (8):
>>   s390x: Add sthyi tests
>>   s390x: Add privileged operation exceptions handling
>>   s390x: Add storage keys tests
>>   s390x: Add diag10 tests
>>   s390x: Add pfmf tests
>>   s390x: Add cmm tests
>>   s390x: Add vector tests
>>   s390x: Add simple guarded storage tests
>>
>>  lib/s390x/asm/arch_def.h |  28 ++++++++
>>  lib/s390x/asm/mem.h      |  52 +++++++++++++++
>>  lib/s390x/interrupt.c    |   7 ++
>>  s390x/Makefile           |   7 ++
>>  s390x/cmm.c              |  69 +++++++++++++++++++
>>  s390x/diag10.c           |  81 ++++++++++++++++++++++
>>  s390x/gs.c               | 170 +++++++++++++++++++++++++++++++++++++++++++++++
>>  s390x/pfmf.c             | 144 +++++++++++++++++++++++++++++++++++++++
>>  s390x/skey.c             |  94 ++++++++++++++++++++++++++
>>  s390x/sthyi.c            | 169 ++++++++++++++++++++++++++++++++++++++++++++++
>>  s390x/sthyi.h            | 131 ++++++++++++++++++++++++++++++++++++
>>  s390x/unittests.cfg      |  21 ++++++
>>  s390x/vector.c           | 134 +++++++++++++++++++++++++++++++++++++
>>  13 files changed, 1107 insertions(+)
>>  create mode 100644 lib/s390x/asm/mem.h
>>  create mode 100644 s390x/cmm.c
>>  create mode 100644 s390x/diag10.c
>>  create mode 100644 s390x/gs.c
>>  create mode 100644 s390x/pfmf.c
>>  create mode 100644 s390x/skey.c
>>  create mode 100644 s390x/sthyi.c
>>  create mode 100644 s390x/sthyi.h
>>  create mode 100644 s390x/vector.c
>>
> 
> In general, looks good to me. But I somewhat dislike creating so many
> new test.
> 
> Can we at least merge pfmf+skey and maybe move sthyi+diag10+(cmm) to
> intercept.c?
> 
> Any good reasons to keep it separated? I agree that things like
> vx/gs/skey can remain isolated - they test isolated features/functionality.

intercept.c has rather small tests and I'd like to avoid cramming any of
mine into it. I might be able to compromise on putting diag10 and cmm
into one file and maybe even merge pfmf and skey.

I generally dislike argument parsing at test start to manage which
instruction is tested for any test longer than 30 lines. Being able to
just run a single elf and write my tests without the hurdle of having to
call dozens of library functions is what made me write them for
kvm-unit-tests in the first place.


> 
> Thanks!
> 


Attachment: signature.asc
Description: OpenPGP digital signature


[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