s390/vtime: Use the generic IRQ entry accounting
authorFrederic Weisbecker <frederic@kernel.org>
Wed, 2 Dec 2020 11:57:29 +0000 (12:57 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Dec 2020 19:20:04 +0000 (20:20 +0100)
commit2b91ec9f551b56751cde48792f1c0a1130358844
treee43dcbee5218a9c9e72735b3000a95d04288d37b
parent7197688b2006357da75a014e0a76be89ca9c2d46
s390/vtime: Use the generic IRQ entry accounting

s390 has its own version of IRQ entry accounting because it doesn't
account the idle time the same way the other architectures do. Only
the actual idle sleep time is accounted as idle time, the rest of the
idle task execution is accounted as system time.

Make the generic IRQ entry accounting aware of architectures that have
their own way of accounting idle time and convert s390 to use it.

This prepares s390 to get involved in further consolidations of IRQ
time accounting.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201202115732.27827-3-frederic@kernel.org
arch/Kconfig
arch/s390/Kconfig
arch/s390/include/asm/vtime.h
arch/s390/kernel/vtime.c
kernel/sched/cputime.c