public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Venkat Rao Bagalkote" <venkat88@linux.ibm.com>,
	"Madhavan Srinivasan" <maddy@linux.ibm.com>
Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org,
	"Ritesh Harjani (IBM)" <ritesh.list@gmail.com>,
	"Christophe Leroy" <chleroy@kernel.org>
Subject: Re: [PATCH v4] char/nvram: Remove redundant nvram_mutex
Date: Mon, 13 Apr 2026 17:51:22 +0200	[thread overview]
Message-ID: <929a3612-5d0f-4298-bb0f-b6cb0c215e85@app.fastmail.com> (raw)
In-Reply-To: <E92E66BE-165B-4289-99B1-3F4E6B84CAAD@linux.ibm.com>

On Tue, Apr 7, 2026, at 11:02, Venkat wrote:
>> On 7 Apr 2026, at 12:11 PM, Tellakula Yeswanth Krishna <yeswanth@linux.ibm.com> wrote:
>> 
>> Tested-by: yeswanth <yeswanth@linux.ibm.com>
>> 
>> On 02/04/26 9:33 pm, Tellakula Yeswanth Krishna wrote:
>>> 
>>> On 30/03/26 4:05 pm, Venkat Rao Bagalkote wrote:
>>>> The global nvram_mutex in drivers/char/nvram.c is redundant and unused,
>>>> and this triggers compiler warnings on some configurations.
>>>> 
>>>> All platform-specific nvram operations already provide their own internal
>>>> synchronization, meaning the wrapper-level mutex does not provide any
>>>> additional safety.
>>>> 
>>>> Remove the nvram_mutex definition along with all remaining lock/unlock
>>>> users across PPC32, x86, and m68k code paths, and rely entirely on the
>>>> per-architecture nvram implementations for locking.
>>>> 
>>>> Suggested-by: Arnd Bergmann <arnd@arndb.de>
>>>> Signed-off-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>

Reviewed-by: Arnd Bergmann <arnd@arndb.de>

> Thanks for the earlier review and suggestion on this change.
>
> I’m not entirely sure which tree would be the best home for this patch, 
> given that the change touches common NVRAM code used across multiple 
> architectures (PPC32, x86, and m68k). 
>
> If there are no further comments or objections from others, would you 
> be able to pick this up through your tree?
>
> Please let me know if this should instead go via some other tree or maintainer.

Greg manages the char-misc.git tree, while I mainly do reviews. Please
resend the patch once 7.1-rc1 is out, with Greg as the recipient,
and keeping the rest of the Cc list.

       Arnd


      reply	other threads:[~2026-04-13 15:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-30 10:35 [PATCH v4] char/nvram: Remove redundant nvram_mutex Venkat Rao Bagalkote
2026-03-31  1:49 ` Ritesh Harjani
2026-04-02 16:03 ` Tellakula Yeswanth Krishna
2026-04-07  6:41   ` Tellakula Yeswanth Krishna
2026-04-07  9:02     ` Venkat
2026-04-13 15:51       ` Arnd Bergmann [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=929a3612-5d0f-4298-bb0f-b6cb0c215e85@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=chleroy@kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.ibm.com \
    --cc=ritesh.list@gmail.com \
    --cc=venkat88@linux.ibm.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