On 27.03.2018 16:25, Thomas Huth wrote: > On 27.03.2018 15:52, Janosch Frank wrote: >> 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. > > Ok. > >> I might be able to compromise on putting diag10 and cmm >> into one file and maybe even merge pfmf and skey. > > Putting diag10 and cmm together into one file sounds like a good idea, > to me, but pfmf does more than just storage keys (it's also used to > clear a page), so I think it's ok to keep those separated. > > So could you please spin a v4 where you put diag10 and cmm together and > where you init prm.c in test_ext1_nand() in patch 7, please? Sure, you can expect that tomorrow. > > Thanks, > Thomas >
Attachment:
signature.asc
Description: OpenPGP digital signature