diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2025-11-26 16:33:11 +1100 |
|---|---|---|
| committer | Janosch Frank <frankja@linux.ibm.com> | 2025-11-27 15:39:46 +0100 |
| commit | d0139059e31acd5fea49737558297d801c406638 (patch) | |
| tree | 1edf5b1f078587c46994b54cef858b1a29041e70 /scripts/clang-tools/gen_compile_commands.py | |
| parent | c067847c52e26eceed9f8a938c04456880c486fa (diff) | |
KVM: s390: Enable and disable interrupts in entry code
Move enabling and disabling of interrupts around the SIE instruction to
entry code. Enabling interrupts only after the __TI_sie flag has been set
guarantees that the SIE instruction is not executed if an interrupt happens
between enabling interrupts and the execution of the SIE instruction.
Interrupt handlers and machine check handler forward the PSW to the
sie_exit label in such cases.
This is a prerequisite for VIRT_XFER_TO_GUEST_WORK to prevent that guest
context is entered when e.g. a scheduler IPI, indicating that a reschedule
is required, happens right before the SIE instruction, which could lead to
long delays.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Tested-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
