linux_dsm_epyc7002/arch/s390
Martin Schwidefsky 0a5e2ec264 s390/kvm: fix detection of guest machine checks
The new detection code for guest machine checks added a check based
on %r11 to .Lcleanup_sie to distinguish between normal asynchronous
interrupts and machine checks. But the funtion is called from the
program check handler as well with an undefined value in %r11.

The effect is that all program exceptions pointing to the SIE instruction
will set the CIF_MCCK_GUEST bit. The bit stays set for the CPU until the
 next machine check comes in which will incorrectly be interpreted as a
guest machine check.

The simplest fix is to stop using .Lcleanup_sie in the program check
handler and duplicate a few instructions.

Fixes: c929500d7a ("s390/nmi: s390: New low level handling for machine check happening in guest")
Cc: <stable@vger.kernel.org> # v4.13+
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2017-10-25 07:59:30 +02:00
..
appldata
boot
configs s390: fix zfcpdump-config 2017-10-16 08:19:01 +02:00
crypto
hypfs
include s390/mm: make pmdp_invalidate() do invalidation only 2017-09-19 08:36:19 +02:00
kernel s390/kvm: fix detection of guest machine checks 2017-10-25 07:59:30 +02:00
kvm First batch of KVM changes for 4.14 2017-09-08 15:18:36 -07:00
lib s390/uaccess: avoid mvcos jump label 2017-08-29 16:29:10 +02:00
mm s390/mm: fix write access check in gup_huge_pmd() 2017-09-19 08:36:20 +02:00
net bpf, s390x: implement jiting of BPF_J{LT, LE, SLT, SLE} 2017-08-09 16:53:57 -07:00
numa
oprofile
pci IOMMU Updates for Linux v4.14 2017-09-09 15:03:24 -07:00
tools First batch of KVM changes for 4.14 2017-09-08 15:18:36 -07:00
defconfig
Kbuild
Kconfig s390: add support for IBM z14 machines 2017-07-26 08:25:15 +02:00
Kconfig.debug
Makefile s390: add support for IBM z14 machines 2017-07-26 08:25:15 +02:00