summaryrefslogtreecommitdiff
path: root/arch/s390/lib/test_modules_helpers.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@linux.ibm.com>2022-01-13 11:44:19 +0100
committerHeiko Carstens <hca@linux.ibm.com>2022-01-23 10:20:02 +0100
commit1ea1d6a847d2b1d17fefd9196664b95f052a0775 (patch)
tree7577a435e4f2963cdb8658f5d7cf337271c9ffa4 /arch/s390/lib/test_modules_helpers.c
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
s390/nmi: handle guarded storage validity failures for KVM guests
machine check validity bits reflect the state of the machine check. If a guest does not make use of guarded storage, the validity bit might be off. We can not use the host CR bit to decide if the validity bit must be on. So ignore "invalid" guarded storage controls for KVM guests in the host and rely on the machine check being forwarded to the guest. If no other errors happen from a host perspective everything is fine and no process must be killed and the host can continue to run. Cc: stable@vger.kernel.org Fixes: c929500d7a5a ("s390/nmi: s390: New low level handling for machine check happening in guest") Reported-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com> Tested-by: Carsten Otte <cotte@de.ibm.com> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions