]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/irq/idle: Use stcke instead of stckf for time stamps
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 13 May 2026 14:01:27 +0000 (16:01 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 15 Jun 2026 14:33:40 +0000 (16:33 +0200)
commit4fe307f0f5c1fa6afff9175f59930dcd39ee99fd
treed1b9fcabbf5703419f1d425ac47bd0bcf538334b
parentfe47b8b1c0b8c502c090a3de7b1fe6412f0133da
s390/irq/idle: Use stcke instead of stckf for time stamps

The upcoming cpu idle time accounting rework involves comparing and
subtracting cross cpu time stamps. Time stamps created with the stckf
instruction monotonic with respect to the local cpu. For cross cpu
monotonic time stamps the slightly slower stcke instruction has to
be used [1].

Convert the idle time accounting relevant usages of stckf to stcke.

[1] Principles of Operation - Setting and Inspecting the Clock

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/idle.h
arch/s390/include/asm/lowcore.h
arch/s390/include/asm/vtime.h
arch/s390/kernel/entry.S
arch/s390/kernel/idle.c
arch/s390/kernel/irq.c
drivers/s390/cio/qdio_main.c
drivers/s390/cio/qdio_thinint.c