public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v2 0/4] s390x: Add skey removal facility test
@ 2019-08-28 11:36 Janosch Frank
  2019-08-28 11:36 ` [kvm-unit-tests PATCH v2 1/4] s390x: Move pfmf to lib and make address void Janosch Frank
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Janosch Frank @ 2019-08-28 11:36 UTC (permalink / raw)
  To: kvm; +Cc: linux-s390, david, thuth

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

-- 
2.17.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-08-28 14:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-28 11:36 [kvm-unit-tests PATCH v2 0/4] s390x: Add skey removal facility test Janosch Frank
2019-08-28 11:36 ` [kvm-unit-tests PATCH v2 1/4] s390x: Move pfmf to lib and make address void Janosch Frank
2019-08-28 11:39   ` Thomas Huth
2019-08-28 11:36 ` [kvm-unit-tests PATCH v2 2/4] s390x: Storage key library functions now take void ptr addresses Janosch Frank
2019-08-28 11:36 ` [kvm-unit-tests PATCH v2 3/4] s390x: Bump march to zEC12 Janosch Frank
2019-08-28 11:41   ` Thomas Huth
2019-08-28 11:36 ` [kvm-unit-tests PATCH v2 4/4] s390x: Add storage key removal facility Janosch Frank
2019-08-28 12:02   ` Thomas Huth
2019-08-28 14:05     ` Janosch Frank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox