public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Sudeep Holla <sudeep.holla@arm.com>
To: Petr Malat <oss@malat.biz>
Cc: stable@vger.kernel.org, pierre.gondois@arm.com,
	wen.yang@linux.dev, Sudeep Holla <sudeep.holla@arm.com>
Subject: Re: [PATCH] cacheinfo: Remove of_node_put() for fw_token
Date: Mon, 5 Jan 2026 10:50:57 +0000	[thread overview]
Message-ID: <aVuXkUjzIb7BC5vv@bogus> (raw)
In-Reply-To: <20260102193457.270660-1-oss@malat.biz>

On Fri, Jan 02, 2026 at 08:34:57PM +0100, Petr Malat wrote:
> fw_token is used for DT/ACPI systems to identify CPUs sharing caches.
> For DT based systems, fw_token is set to a pointer to a DT node.
> 
> Commit 22def0b492e6 ("arch_topology: Build cacheinfo from primary CPU")
> removed clearing of per_cpu_cacheinfo(cpu), which leads to reference
> underrun in cache_shared_cpu_map_remove() during repeated cpu
> offline/online as the reference is no longer incremented, because
> allocate_cache_info() is now skipped in the online path.
> 
> The same problem existed on upstream but had a different root cause,
> see 2613cc29c572 ("cacheinfo: Remove of_node_put() for fw_token").
> 

Please let us know which stable versions you need this for ? I assume it
is for stable only, but it not clear from the subject.

Or do you want this to be applied only for v6.1.x as 22def0b492e6 exist
in v6.1.x ?

-- 
Regards,
Sudeep

  reply	other threads:[~2026-01-05 10:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-02 19:34 [PATCH] cacheinfo: Remove of_node_put() for fw_token Petr Malat
2026-01-05 10:50 ` Sudeep Holla [this message]
2026-01-05 13:06   ` Petr Malat

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=aVuXkUjzIb7BC5vv@bogus \
    --to=sudeep.holla@arm.com \
    --cc=oss@malat.biz \
    --cc=pierre.gondois@arm.com \
    --cc=stable@vger.kernel.org \
    --cc=wen.yang@linux.dev \
    /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