diff options
author | Hector Martin <marcan@marcan.st> | 2021-02-14 08:11:30 +0100 |
---|---|---|
committer | Hector Martin <marcan@marcan.st> | 2021-04-08 13:18:38 +0200 |
commit | 86332e9e3477af8f31c9d5f3e81e57e0fd2118e7 (patch) | |
tree | c572eab5a337569ccd19951c0c9f6bc59b80fb53 /include/clocksource | |
parent | dt-bindings: timer: arm,arch_timer: Add interrupt-names support (diff) | |
download | linux-86332e9e3477af8f31c9d5f3e81e57e0fd2118e7.tar.xz 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.h | 1 |
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 }; |