summaryrefslogtreecommitdiffstats
path: root/include/clocksource
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2021-02-14 16:11:30 +0900
committerHector Martin <marcan@marcan.st>2021-04-08 20:18:38 +0900
commit86332e9e3477af8f31c9d5f3e81e57e0fd2118e7 (patch)
treec572eab5a337569ccd19951c0c9f6bc59b80fb53 /include/clocksource
parenta6cf39fbe133857a7f26f0cab8198869caf44dee (diff)
downloadlinux-86332e9e3477af8f31c9d5f3e81e57e0fd2118e7.tar.gz
linux-86332e9e3477af8f31c9d5f3e81e57e0fd2118e7.tar.bz2
linux-86332e9e3477af8f31c9d5f3e81e57e0fd2118e7.zip
arm64: arch_timer: Implement support for interrupt-names
This allows the devicetree to correctly represent the available set of timers, which varies from device to device, without the need for fake dummy interrupts for unavailable slots. Also add the hyp-virt timer/PPI, which is not currently used, but worth representing. Reviewed-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Hector Martin <marcan@marcan.st>
Diffstat (limited to 'include/clocksource')
-rw-r--r--include/clocksource/arm_arch_timer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clocksource/arm_arch_timer.h b/include/clocksource/arm_arch_timer.h
index 1d68d5613dae..73c7139c866f 100644
--- a/include/clocksource/arm_arch_timer.h
+++ b/include/clocksource/arm_arch_timer.h
@@ -32,6 +32,7 @@ enum arch_timer_ppi_nr {
ARCH_TIMER_PHYS_NONSECURE_PPI,
ARCH_TIMER_VIRT_PPI,
ARCH_TIMER_HYP_PPI,
+ ARCH_TIMER_HYP_VIRT_PPI,
ARCH_TIMER_MAX_TIMER_PPI
};