Messages in this thread | | | Subject | Re: [PATCH 4/7] clocksource/arm_arch_timer: Direcly assign set_next_event workaround | From | Daniel Lezcano <> | Date | Thu, 11 Apr 2019 19:17:58 +0200 |
| |
On 08/04/2019 17:49, Marc Zyngier wrote: > When a given timer is affected by an erratum and requires an > alternative implementation of set_next_event, we do a rather > complicated dance to detect and call the workaround on each > set_next_event call. > > This is clearly idiotic, as we can perfectly detect whether > this CPU requires a workaround while setting up the clock event > device. > > This only requires the CPU-specific detection to be done a bit > earlier, and we can then safely override the set_next_event pointer > if we have a workaround associated to that CPU. > > Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Do you want me to take the patch ?
Otherwise:
Acked-by; Daniel Lezcano <daniel.lezcano@linaro.org>
-- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
| |