linux/arch/s390
Claudio Imbrenda 6f73517d0a KVM: s390: pv: refactor s390_reset_acc
Refactor s390_reset_acc so that it can be reused in upcoming patches.

We don't want to hold all the locks used in a walk_page_range for too
long, and the destroy page UVC does take some time to complete.
Therefore we quickly gather the pages to destroy, and then destroy them
without holding all the locks.

The new refactored function optionally allows to return early without
completing if a fatal signal is pending (and return and appropriate
error code). Two wrappers are provided to call the new function.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Nico Boehr <nrb@linux.ibm.com>
Link: https://lore.kernel.org/r/20220628135619.32410-5-imbrenda@linux.ibm.com
Message-Id: <20220628135619.32410-5-imbrenda@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
2022-07-13 14:42:11 +00:00
..
appldata s390/appldata: use struct_size() helper 2020-06-29 16:32:34 +02:00
boot s390: Add attestation query information 2022-07-11 11:29:51 +02:00
configs s390: enable CONFIG_HARDENED_USERCOPY in debug_defconfig 2022-04-12 11:56:08 +02:00
crypto more s390 updates for 5.19 merge window 2022-06-03 13:57:50 -07:00
hypfs s390/hypfs: fix typos in comments 2022-05-06 20:45:13 +02:00
include KVM: s390: pv: refactor s390_reset_acc 2022-07-13 14:42:11 +00:00
kernel KVM: s390: pv: handle secure storage violations for protected guests 2022-07-13 14:42:11 +00:00
kvm KVM: s390: pv: refactor s390_reset_acc 2022-07-13 14:42:11 +00:00
lib s390/alternatives: provide identical sized orginal/alternative sequences 2022-05-17 15:16:28 +02:00
mm KVM: s390: pv: refactor s390_reset_acc 2022-07-13 14:42:11 +00:00
net s390/bpf: Fix typo in comment 2022-05-23 11:25:53 -07:00
pci KVM: s390: pci: add routines to start/stop interpretive execution 2022-07-11 09:54:33 +02:00
purgatory s390/purgatory: workaround llvm's IAS limitations 2022-05-17 15:16:28 +02:00
tools KVM: s390: Add facility 197 to the allow list 2022-07-13 15:25:25 +02:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig more s390 updates for 5.19 merge window 2022-06-03 13:57:50 -07:00
Kconfig.debug s390/Kconfig.debug: fix indentation 2022-06-01 12:03:15 +02:00
Makefile Kbuild updates for v5.19 2022-05-26 12:09:50 -07:00