Home
last modified time | relevance | path

Searched hist:"0 ea415390cd345b7d09e8c9ebd4b68adfe873043" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/arm/include/asm/
H A Darch_timer.hdiff 0ea415390cd345b7d09e8c9ebd4b68adfe873043 Mon Apr 08 10:49:07 CDT 2019 Marc Zyngier <marc.zyngier@arm.com> clocksource/arm_arch_timer: Use arch_timer_read_counter to access stable counters

Instead of always going via arch_counter_get_cntvct_stable to access the
counter workaround, let's have arch_timer_read_counter point to the
right method.

For that, we need to track whether any CPU in the system has a
workaround for the counter. This is done by having an atomic variable
tracking this.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
/openbmc/linux/arch/arm64/include/asm/
H A Darch_timer.hdiff 0ea415390cd345b7d09e8c9ebd4b68adfe873043 Mon Apr 08 10:49:07 CDT 2019 Marc Zyngier <marc.zyngier@arm.com> clocksource/arm_arch_timer: Use arch_timer_read_counter to access stable counters

Instead of always going via arch_counter_get_cntvct_stable to access the
counter workaround, let's have arch_timer_read_counter point to the
right method.

For that, we need to track whether any CPU in the system has a
workaround for the counter. This is done by having an atomic variable
tracking this.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
/openbmc/linux/drivers/clocksource/
H A Darm_arch_timer.cdiff 0ea415390cd345b7d09e8c9ebd4b68adfe873043 Mon Apr 08 10:49:07 CDT 2019 Marc Zyngier <marc.zyngier@arm.com> clocksource/arm_arch_timer: Use arch_timer_read_counter to access stable counters

Instead of always going via arch_counter_get_cntvct_stable to access the
counter workaround, let's have arch_timer_read_counter point to the
right method.

For that, we need to track whether any CPU in the system has a
workaround for the counter. This is done by having an atomic variable
tracking this.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>