]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/wti: Introduce infrastructure for warning track interrupt
authorTobias Huschle <huschle@linux.ibm.com>
Mon, 12 Aug 2024 11:39:27 +0000 (13:39 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 29 Aug 2024 20:56:34 +0000 (22:56 +0200)
commit2c6c9ccc76434d5609300aa578a4737e1686b320
tree12d5ebc7d5b121569eb3617549a844b188a595de
parent324db0faf8e1cbfde7a033e77f674f2bb819b54e
s390/wti: Introduce infrastructure for warning track interrupt

The warning-track interrupt (wti) provides a notification that the
receiving CPU will be pre-empted from its physical CPU within a short
time frame. This time frame is called grace period and depends on the
machine type. Giving up the CPU on time may prevent a task to get stuck
while holding a resource.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Mete Durlu <meted@linux.ibm.com>
Signed-off-by: Tobias Huschle <huschle@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/ctlreg.h
arch/s390/include/asm/diag.h
arch/s390/include/asm/irq.h
arch/s390/include/asm/sclp.h
arch/s390/kernel/diag.c
arch/s390/kernel/irq.c
drivers/s390/char/sclp_early.c