public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] s390x: pv: Fixes and improvements
@ 2020-09-07 12:46 Janosch Frank
  2020-09-07 12:46 ` [PATCH v2 1/2] s390x: uv: Add destroy page call Janosch Frank
  2020-09-07 12:47 ` [PATCH v2 2/2] s390x: Add 3f program exception handler Janosch Frank
  0 siblings, 2 replies; 13+ messages in thread
From: Janosch Frank @ 2020-09-07 12:46 UTC (permalink / raw)
  To: linux-s390; +Cc: borntraeger, gor, imbrenda, kvm, david, hca

Using the destroy call instead of the export on a VM shutdown, we can
clear out a protected guest much faster.

The 3f exception can in fact be triggered by userspace and therefore
should not panic the whole system, but send a SIGSEGV to the culprit
process.

v2:
	* Removed whitespace damage
	* Directly access task struct for pid and comm
	* Removed NOKPROBE_SYMBOL

Janosch Frank (2):
  s390x: uv: Add destroy page call
  s390x: Add 3f program exception handler

 arch/s390/include/asm/uv.h   |  7 +++++++
 arch/s390/kernel/pgm_check.S |  2 +-
 arch/s390/kernel/uv.c        | 20 ++++++++++++++++++++
 arch/s390/mm/fault.c         | 20 ++++++++++++++++++++
 arch/s390/mm/gmap.c          |  2 +-
 5 files changed, 49 insertions(+), 2 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2020-09-08 19:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-07 12:46 [PATCH v2 0/2] s390x: pv: Fixes and improvements Janosch Frank
2020-09-07 12:46 ` [PATCH v2 1/2] s390x: uv: Add destroy page call Janosch Frank
2020-09-07 17:59   ` Thomas Huth
2020-09-08  6:28   ` Cornelia Huck
2020-09-07 12:47 ` [PATCH v2 2/2] s390x: Add 3f program exception handler Janosch Frank
2020-09-08  6:39   ` Cornelia Huck
     [not found]   ` <202009080542.UHmgfE5u%lkp@intel.com>
2020-09-08  7:53     ` Heiko Carstens
2020-09-08 13:05       ` [PATCH v3] " Janosch Frank
2020-09-08 13:06         ` Heiko Carstens
2020-09-08 13:09           ` Janosch Frank
2020-09-08 13:18             ` Heiko Carstens
2020-09-08 13:10           ` Christian Borntraeger
2020-09-08  7:58   ` [PATCH v2 2/2] " kernel test robot

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