Skip to content

s390x: Add skey removal facility test

Janosch Frank kvm linux-s390 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 4 repliesIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

* Added march z12 bump patch
* Addressed review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4s390x: Move pfmf to lib and make address voidlib/s390x/asm/mem.h s390x/pfmf.c+44 -441 reply
2/4s390x: Storage key library functions now take void ptr addresseslib/s390x/asm/mem.h s390x/pfmf.c s390x/skey.c+16 -210 replies
3/4s390x: Bump march to zEC12s390x/Makefile+1 -11 reply
4/4s390x: Add storage key removal facilitys390x/Makefile s390x/pfmf.c s390x/skey.c +1 more+144 -02 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchThomas Huth
1/4R-b
2/4R-b
3/4T-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [kvm-unit-tests PATCH v2 0/4] s390x: Add skey removal facility test

The storage key removal facility (skrf) is an anti-facility, which makes skey related instructions result in a special operation exception when they handle storage keys. E.g. pfmf in clearing mode does not result in an exception, but pfmf key setting does.

The skrf is always active in protected virtualization guests and can be emulated by KVM (expected to be upstreamed with the remaining hpage patches).

v2:
* Added march z12 bump patch
* Addressed review

Janosch Frank (4):
s390x: Move pfmf to lib and make address void
s390x: Storage key library functions now take void ptr addresses
s390x: Bump march to zEC12
s390x: Add storage key removal facility

 lib/s390x/asm/mem.h |  40 +++++++++++---
 s390x/Makefile      |   3 +-
 s390x/pfmf.c        |  71 +++++++++---------------
 s390x/skey.c        |  29 +++++-----
 s390x/skrf.c        | 128 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 205 insertions(+), 66 deletions(-)
 create mode 100644 s390x/skrf.c
Signature · 1 line
2.17.0