2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 17:23:55 +08:00
linux-next/arch/s390/kvm
Sven Schnelle 0b0ed657fe s390: remove critical section cleanup from entry.S
The current code is rather complex and caused a lot of subtle
and hard to debug bugs in the past. Simplify the code by calling
the system_call handler with interrupts disabled, save
machine state, and re-enable them later.

This requires significant changes to the machine check handling code
as well. When the machine check interrupt arrived while being in kernel
mode the new code will signal pending machine checks with a SIGP external
call. When userspace was interrupted, the handler will switch to the
kernel stack and directly execute s390_handle_mcck().

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2020-05-28 12:21:54 +02:00
..
diag.c KVM: s390: protvirt: Report CPU state to Ultravisor 2020-02-27 19:47:12 +01:00
gaccess.c KVM: s390: Use fallthrough; 2020-03-23 18:30:07 +01:00
gaccess.h KVM: s390: Remove redundant license text 2017-12-06 09:18:42 +01:00
guestdbg.c KVM: s390: introduce defines for control registers 2018-05-17 09:02:27 +02:00
intercept.c KVM: s390: Features and Enhancements for 5.7 part1 2020-03-16 18:19:34 +01:00
interrupt.c KVM: s390: Use fallthrough; 2020-03-23 18:30:07 +01:00
irq.h KVM: s390: Remove redundant license text 2017-12-06 09:18:42 +01:00
Kconfig vhost: refine vhost and vringh kconfig 2020-04-01 12:06:26 -04:00
kvm-s390.c s390: remove critical section cleanup from entry.S 2020-05-28 12:21:54 +02:00
kvm-s390.h KVM: s390: protvirt: Report CPU state to Ultravisor 2020-02-27 19:47:12 +01:00
Makefile KVM: s390: protvirt: Add initial vm and cpu lifecycle handling 2020-02-27 19:47:11 +01:00
priv.c KVM: s390: protvirt: STSI handling 2020-02-27 19:47:12 +01:00
pv.c KVM: s390: protvirt: Report CPU state to Ultravisor 2020-02-27 19:47:12 +01:00
sigp.c KVM: s390: introduce and use kvm_s390_test_cpuflags() 2018-01-24 17:46:42 +01:00
trace-s390.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vsie.c s390: remove critical section cleanup from entry.S 2020-05-28 12:21:54 +02:00