Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: enable HAVE_IRQ_TIME_ACCOUNTING

arm64 relies on the arm_arch_timer for sched_clock, so we can select
HAVE_IRQ_TIME_ACCOUNTING and have the core sched-clock code enable the
feature at runtime based on the rate.

Reported-by: Mario Smarduch <m.smarduch@samsung.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>

+2 -1
+1 -1
Documentation/features/time/irq-time-acct/arch-support.txt
··· 9 9 | alpha: | .. | 10 10 | arc: | TODO | 11 11 | arm: | ok | 12 - | arm64: | .. | 12 + | arm64: | ok | 13 13 | avr32: | TODO | 14 14 | blackfin: | TODO | 15 15 | c6x: | TODO |
+1
arch/arm64/Kconfig
··· 70 70 select HAVE_FUNCTION_GRAPH_TRACER 71 71 select HAVE_GENERIC_DMA_COHERENT 72 72 select HAVE_HW_BREAKPOINT if PERF_EVENTS 73 + select HAVE_IRQ_TIME_ACCOUNTING 73 74 select HAVE_MEMBLOCK 74 75 select HAVE_PATA_PLATFORM 75 76 select HAVE_PERF_EVENTS