All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: Matthew Wilcox <willy@infradead.org>
Cc: linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Bjorn Andersson <andersson@kernel.org>,
	linux-remoteproc@vger.kernel.org,
	Baolin Wang <baolin.wang@linux.alibaba.com>
Subject: Re: [PATCH v2 0/4] hwspinlock: add summary in debugfs
Date: Mon, 22 Jun 2026 18:20:05 +0200	[thread overview]
Message-ID: <ajlgtWNBWkCxJjde@ninjato> (raw)
In-Reply-To: <ajk_u7TVT-kL8z2A@casper.infradead.org>

On Mon, Jun 22, 2026 at 02:59:23PM +0100, Matthew Wilcox wrote:
> On Mon, Jun 22, 2026 at 10:51:59AM +0200, Wolfram Sang wrote:
> > Renesas R-Car SoCs have their spinlocks inside a unit called MFIS. Up to
> > R-Car Gen4, there was only one MFIS unit on the SoC. Gen5, though, has
> > multiple instances and, thus, multiple spinlock providers. The spinlocks
> > are meant for specific cases (AP<->AP, AP<->RT, AP<->SCP...). For
> > development on these systems, it is helpful to have an overview of
> > registered spinlocks in debugfs. This series adds support for that. The
> > first two patches update the radix-tree header to support more lock
> > types. The third patch fixes a missing RCU annotation for the slot
> > pointer. The fourth patch finally adds the desired functionality.
> > 
> > Because the radix tree seems to have no dedicated tree nor maintainer, I
> > suggest that all these patches go in via hwspinlock. This also keeps the
> > dependencies zero.
> 
> The radix tree is deprecated.  I don't want to add any new functionality
> to it.  Here's a replacement patch to convert hwspinlock to use an
> XArray instead of a radix tree.  Compile tested only.

Wow, thanks a ton! I have a conference coming up but I still hope to be
able to test your patch this week. We will see...


      reply	other threads:[~2026-06-22 16:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-22  8:51 [PATCH v2 0/4] hwspinlock: add summary in debugfs Wolfram Sang
2026-06-22  8:52 ` [PATCH v2 1/4] radix-tree: add parameter doc for radix_tree_deref_slot_protected() Wolfram Sang
2026-06-22 10:16   ` Andy Shevchenko
2026-06-22  8:52 ` [PATCH v2 2/4] radix-tree: allow more lock types with radix_tree_deref_slot_protected() Wolfram Sang
2026-06-22 10:18   ` Andy Shevchenko
2026-06-22  8:52 ` [PATCH v2 3/4] hwspinlock: annotate slot pointer as RCU sensitive Wolfram Sang
2026-06-22 10:20   ` Andy Shevchenko
2026-06-22  8:52 ` [PATCH v2 4/4] hwspinlock: add summary in debugfs Wolfram Sang
2026-06-22 10:24   ` Andy Shevchenko
2026-06-22 13:59 ` [PATCH v2 0/4] " Matthew Wilcox
2026-06-22 16:20   ` Wolfram Sang [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=ajlgtWNBWkCxJjde@ninjato \
    --to=wsa+renesas@sang-engineering.com \
    --cc=andersson@kernel.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=baolin.wang@linux.alibaba.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=willy@infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.