From: Marc Zyngier <maz@kernel.org>
To: Johan Hovold <johan@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] clocksource/drivers/arm_arch_timer_mmio: Prevent driver unbind
Date: Tue, 11 Nov 2025 15:45:13 +0000 [thread overview]
Message-ID: <86zf8stvxy.wl-maz@kernel.org> (raw)
In-Reply-To: <20251111153226.579-2-johan@kernel.org>
On Tue, 11 Nov 2025 15:32:24 +0000,
Johan Hovold <johan@kernel.org> wrote:
>
> Clockevents cannot be deregistered so suppress the bind attributes to
> prevent the driver from being unbound and releasing the underlying
> resources after registration.
>
> Fixes: 4891f01527bb ("clocksource/drivers/arm_arch_timer: Add standalone MMIO driver")
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---
> drivers/clocksource/arm_arch_timer_mmio.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/clocksource/arm_arch_timer_mmio.c b/drivers/clocksource/arm_arch_timer_mmio.c
> index ebe1987d651e..d10362692fdd 100644
> --- a/drivers/clocksource/arm_arch_timer_mmio.c
> +++ b/drivers/clocksource/arm_arch_timer_mmio.c
> @@ -426,6 +426,7 @@ static struct platform_driver arch_timer_mmio_drv = {
> .driver = {
> .name = "arch-timer-mmio",
> .of_match_table = arch_timer_mmio_of_table,
> + .suppress_bind_attrs = true,
> },
> .probe = arch_timer_mmio_probe,
> };
> @@ -434,6 +435,7 @@ builtin_platform_driver(arch_timer_mmio_drv);
> static struct platform_driver arch_timer_mmio_acpi_drv = {
> .driver = {
> .name = "gtdt-arm-mmio-timer",
> + .suppress_bind_attrs = true,
> },
> .probe = arch_timer_mmio_probe,
> };
Acked-by: Marc Zyngier <maz@kernel.org>
M.
--
Without deviation from the norm, progress is not possible.
next prev parent reply other threads:[~2025-11-11 15:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-11 15:32 [PATCH 0/3] clocksource/drivers: Prevent clockevent driver unbind Johan Hovold
2025-11-11 15:32 ` [PATCH 1/3] clocksource/drivers/arm_arch_timer_mmio: Prevent " Johan Hovold
2025-11-11 15:45 ` Marc Zyngier [this message]
2025-11-26 14:40 ` [tip: timers/clocksource] " tip-bot2 for Johan Hovold
2025-11-11 15:32 ` [PATCH 2/3] clocksource/drivers/nxp-pit: " Johan Hovold
2025-11-12 10:00 ` Daniel Lezcano
2025-11-12 11:01 ` Johan Hovold
2025-11-12 15:20 ` Daniel Lezcano
2025-11-26 14:40 ` [tip: timers/clocksource] " tip-bot2 for Johan Hovold
2025-11-11 15:32 ` [PATCH 3/3] clocksource/drivers/nxp-stm: " Johan Hovold
2025-11-26 14:40 ` [tip: timers/clocksource] " tip-bot2 for Johan Hovold
2025-11-12 9:48 ` [PATCH 0/3] clocksource/drivers: Prevent clockevent " Daniel Lezcano
2025-11-12 11:00 ` Johan Hovold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86zf8stvxy.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox