mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Frederic Weisbecker <frederic@kernel.org>
To: Avi Weiss <thnkslprpt@gmail.com>
Cc: anna-maria@linutronix.de, tglx@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clockevents: Match the CPU when unbinding devices via sysfs
Date: Tue, 3 Nov 2026 14:52:38 +0100	[thread overview]
Message-ID: <aunnJgIALzGyhO41@localhost.localdomain> (raw)
In-Reply-To: <20261101141120.367124-1-thnkslprpt@gmail.com>

Le Sun, Nov 01, 2026 at 04:11:20PM +0200, Avi Weiss a écrit :
> Clockevent devices belonging to different CPUs can share the same
> name. The sysfs unbind handler selects the first matching name from
> the global device list, which can cause a request for one CPU to
> unbind another CPU's device or incorrectly return -EBUSY.
> 
> Check the device's CPU mask when selecting the clockevent to unbind
> so that the request targets a device eligible for the specified CPU.
> 
> Fixes: 03e13cf5ee60 ("clockevents: Implement unbind functionality")
> Signed-off-by: Avi Weiss <thnkslprpt@gmail.com>

Reviewed-by: Frederic Weisbecker <frederic@kernel.org>

-- 
Frederic Weisbecker
SUSE Labs

      reply	other threads:[~2026-11-03 13:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-01 14:11 Avi Weiss
2026-11-03 13:52 ` Frederic Weisbecker [this message]

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=aunnJgIALzGyhO41@localhost.localdomain \
    --to=frederic@kernel.org \
    --cc=anna-maria@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@kernel.org \
    --cc=thnkslprpt@gmail.com \
    /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

all inboxes | Powered by JetHome®