mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@nxp.com>
To: Fredrik Markstrom <fredrik.markstrom@est.tech>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Joel Stanley <joel@jms.id.au>,
	Jeremy Kerr <jk@codeconstruct.com.au>,
	linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org,
	Jani Nurminen <jani.nurminen@windriver.com>,
	Ivar Holmqvist <ivar.holmqvist@est.tech>
Subject: Re: [PATCH] i3c: dw: Initialize spinlock to avoid upsetting lockdep
Date: Thu, 15 Jan 2026 11:42:12 -0500	[thread overview]
Message-ID: <aWkY5LCmhcTh+qN0@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20260115-i3c_dw_initialize_spinlock-v1-1-b9c5bfa8be24@est.tech>

On Thu, Jan 15, 2026 at 02:25:29PM +0100, Fredrik Markstrom wrote:

Need context here. You can duplicate subject.

Initialize spinlock to avoid upsetting lockdep.

Frank

> Fixes: e389b1d72a624 ("i3c: dw: Add support for in-band interrupts")
> Suggested-by: Jani Nurminen <jani.nurminen@windriver.com>
> Signed-off-by: Fredrik Markstrom <fredrik.markstrom@est.tech>
> Reviewed-by: Ivar Holmqvist <ivar.holmqvist@est.tech>
> ---
>  drivers/i3c/master/dw-i3c-master.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/i3c/master/dw-i3c-master.c b/drivers/i3c/master/dw-i3c-master.c
> index 889e2ed5bc83..d5b070404056 100644
> --- a/drivers/i3c/master/dw-i3c-master.c
> +++ b/drivers/i3c/master/dw-i3c-master.c
> @@ -1570,6 +1570,8 @@ int dw_i3c_common_probe(struct dw_i3c_master *master,
>  	spin_lock_init(&master->xferqueue.lock);
>  	INIT_LIST_HEAD(&master->xferqueue.list);
>
> +	spin_lock_init(&master->devs_lock);
> +
>  	writel(INTR_ALL, master->regs + INTR_STATUS);
>  	irq = platform_get_irq(pdev, 0);
>  	ret = devm_request_irq(&pdev->dev, irq,
>
> ---
> base-commit: 0f61b1860cc3f52aef9036d7235ed1f017632193
> change-id: 20260115-i3c_dw_initialize_spinlock-d878212a846b
>
> Best regards,
> --
> Fredrik Markstrom <fredrik.markstrom@est.tech>
>

      reply	other threads:[~2026-01-15 16:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-15 13:25 Fredrik Markstrom via B4 Relay
2026-01-15 16:42 ` Frank Li [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=aWkY5LCmhcTh+qN0@lizhi-Precision-Tower-5810 \
    --to=frank.li@nxp.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=fredrik.markstrom@est.tech \
    --cc=ivar.holmqvist@est.tech \
    --cc=jani.nurminen@windriver.com \
    --cc=jk@codeconstruct.com.au \
    --cc=joel@jms.id.au \
    --cc=linux-i3c@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.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 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®