]> git.baikalelectronics.ru Git - kernel.git/commit
s390/nmi: handle vector validity failures for KVM guests
authorChristian Borntraeger <borntraeger@linux.ibm.com>
Mon, 17 Jan 2022 17:40:32 +0000 (18:40 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Sun, 23 Jan 2022 09:20:03 +0000 (10:20 +0100)
commitc86261542a3eb37b8cc5e572314f4f2b959bf227
treef2e37f34dfd009809ebd4298c77fd52038bafadf
parent1b2cd9945bdb26f76fa27a6be5962b4a2a12b632
s390/nmi: handle vector validity failures for KVM guests

The machine check validity bit tells about the context. If a KVM guest
was running the bit tells about the guest validity and the host state is
not affected. As a guest can disable the guest validity this might
result in unwanted host errors on machine checks.

Cc: stable@vger.kernel.org
Fixes: 11a9325b6667 ("s390/nmi: s390: New low level handling for machine check happening in guest")
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/nmi.c