Re: [PATCH 0/3] clocksource/drivers: Prevent clockevent driver unbind
From: Daniel Lezcano
Date: Wed Nov 12 2025 - 04:48:25 EST
Hi Johan,
On 11/11/25 16:32, Johan Hovold wrote:
Clockevents cannot be deregistered so suppress driver bind attributes to
prevent drivers from being unbound and, for example, releasing
underlying resources after registration.
For non architected timers, we want to be able to convert the timers as modules.
That's an on-going work [1].
Your series assumes we won't convert that into modules, so you do the conversion to builtin. But actually, there is a slow move to module conversion.
However, given a clockevent can not be unregistered, the 'suppress_bind_attrs' flag makes sense for those registering one.
-- Daniel
[1] https://lore.kernel.org/all/20250602151853.1942521-1-daniel.lezcano@xxxxxxxxxx/
--
<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