From: Conor Dooley <conor@kernel.org>
To: Paul Walmsley <pjw@kernel.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Rahul Pathak <rpathak@ventanamicro.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Anup Patel <apatel@ventanamicro.com>,
linux-clk@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clk: COMMON_CLK_RPMI should depend on RISCV
Date: Thu, 2 Oct 2025 10:36:01 +0100 [thread overview]
Message-ID: <20251002-rubbing-nucleus-b353e09be786@spud> (raw)
In-Reply-To: <6555b47f-919b-b56c-4a76-352c904343c2@kernel.org>
[-- Attachment #1.1: Type: text/plain, Size: 1450 bytes --]
On Wed, Oct 01, 2025 at 07:15:56PM -0600, Paul Walmsley wrote:
> On Tue, 30 Sep 2025, Geert Uytterhoeven wrote:
>
> > The RISC-V platform management interface (RPMI) is only available on
> > RISC-V platforms. Hence add a dependency on RISCV, to prevent asking
> > the user about this driver when configuring a kernel for a different
> > architecture.
> >
> > Fixes: 5ba9f520f41a33c9 ("clk: Add clock driver for the RISC-V RPMI clock service group")
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Thanks Geert for catching this.
>
> This patch is against unmerged patches in -next. So I'll plan to add this
> to the PR that I plan to send to Linus tomorrow -- unless any of the
> drivers/clk maintainers would prefer that I not.
>
> > And perhaps the "default RISCV" should be dropped, too?
>
> Probably. I guess we should just add this to the arch/riscv defconfig
> instead. Let's wait on this one for a few days to see if anyone has any
> comments, and consider that change for v6.18-rc fixes.
There's little point having "default RISCV" if it's only available on
RISCV in the first place, may as well just be "default y" and be
simpler.
My 2c is that putting it in defconfig is barely worth doing, unless there
are actual platforms that use it.
Does QEMU provide a useful test for it that exercises the various code
paths, that would make it worthwhile to have in defconfig Anup?
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2025-10-02 9:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-30 14:50 [PATCH] clk: COMMON_CLK_RPMI should depend on RISCV Geert Uytterhoeven
2025-10-02 1:15 ` Paul Walmsley
2025-10-02 1:31 ` Paul Walmsley
2025-10-02 9:36 ` Conor Dooley [this message]
2025-10-02 14:34 ` Anup Patel
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=20251002-rubbing-nucleus-b353e09be786@spud \
--to=conor@kernel.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=apatel@ventanamicro.com \
--cc=geert+renesas@glider.be \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=mturquette@baylibre.com \
--cc=pjw@kernel.org \
--cc=rpathak@ventanamicro.com \
--cc=sboyd@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