Linux Documentation
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: Guenter Roeck <linux@roeck-us.net>,
	Ulf Hansson <ulf.hansson@oss.qualcomm.com>,
	Cristian Marussi <cristian.marussi@arm.com>
Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, git@amd.com,
	vincent.guittot@linaro.org, Souvik.Chakravarty@arm.com,
	"Alex Shi" <alexs@kernel.org>,
	"Andy Shevchenko" <andy@kernel.org>,
	"Bartosz Golaszewski" <brgl@kernel.org>,
	"Brian Masney" <bmasney@redhat.com>,
	"David Lechner" <dlechner@baylibre.com>,
	"Dongliang Mu" <dzm91@hust.edu.cn>,
	"Fabio Estevam" <festevam@gmail.com>,
	"Frank Li" <Frank.Li@nxp.com>,
	"Jonathan Cameron" <jic23@kernel.org>,
	"Jonathan Corbet" <corbet@lwn.net>, "Len Brown" <lenb@kernel.org>,
	"Liam Girdwood" <lgirdwood@gmail.com>,
	"Linus Walleij" <linusw@kernel.org>,
	"Lukasz Luba" <lukasz.luba@arm.com>,
	"Mark Brown" <broonie@kernel.org>,
	"Michael Turquette" <mturquette@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>, "Pavel Machek" <pavel@kernel.org>,
	"Peng Fan" <peng.fan@nxp.com>,
	"Pengutronix Kernel Team" <kernel@pengutronix.de>,
	"Philipp Zabel" <p.zabel@pengutronix.de>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	"Sascha Hauer" <s.hauer@pengutronix.de>,
	"Shuah Khan" <skhan@linuxfoundation.org>,
	"Stephen Boyd" <sboyd@kernel.org>,
	"Sudeep Holla" <sudeep.holla@kernel.org>,
	"Ulf Hansson" <ulfh@kernel.org>,
	"Viresh Kumar" <viresh.kumar@linaro.org>,
	"Yanteng Si" <si.yanteng@linux.dev>,
	arm-scmi@vger.kernel.org,
	"open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
	<imx@lists.linux.dev>,
	linux-arm-kernel@lists.infradead.org,
	"open list:COMMON CLK FRAMEWORK" <linux-clk@vger.kernel.org>,
	"open list:DOCUMENTATION" <linux-doc@vger.kernel.org>,
	"open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
	"open list:HARDWARE MONITORING" <linux-hwmon@vger.kernel.org>,
	"open list:IIO SUBSYSTEM AND DRIVERS" <linux-iio@vger.kernel.org>,
	"open list:ENERGY MODEL" <linux-pm@vger.kernel.org>
Subject: Re: [RFC PATCH] firmware: scmi: Make SCMI arch independent
Date: Tue, 21 Jul 2026 12:23:55 +0200	[thread overview]
Message-ID: <d1aadebd-9bcf-4198-917d-61f12702e364@amd.com> (raw)
In-Reply-To: <612e3496-2917-4d4c-8794-69c3b5b27c5c@roeck-us.net>



On 7/20/26 16:43, Guenter Roeck wrote:
> On 7/14/26 06:16, Ulf Hansson wrote:
>> On Thu, Jul 9, 2026 at 5:56 PM Cristian Marussi
>> <cristian.marussi@arm.com> wrote:
>>>
>>> On Thu, Jul 09, 2026 at 03:27:00PM +0200, Michal Simek wrote:
>>>> On heterogenious systems like AMD/Xilinx FPGA there is a need to talk to
>>>> SCMI server from different architectures than ARM that's why remove
>>>> ARM/ARM64 Kconfig dependency with also remove ARM from description and
>>>> rename folder to reflect it.
>>>
>>> While I understand dropping the dependency on ARM (I always wanted to do
>>> that and test if it worked at all on some otehr archs with QEMU), I am
>>> not sure about the whole renaming party ? why is needed just for
>>> cosmetic reasons ? it is at the end an arm originated protocol so I dont
>>> see it as a being wrong to be named as such even though used by other
>>> archs...I have not really strong opinion on this...
>>
>> This is certainly not my call to make, but I have to admit that I
>> fully agree with the above.
>>
>> Usually we don't rename files that indicate a legacy platform name,
>> just because a new company/platform wants to make use of it.
>>
> 
> I agree.

Just to add a data point: renaming an ARM-named-but-not-ARM-specific file when
another architecture adopts it does have precedent. See the EFI stub/init, which
were renamed precisely to drop the misleading "arm" name once RISC-V reused
them:

2e0eb483c058 ("efi/libstub: Move arm-stub to a common file")
f30f242fb131 ("efi: Rename arm-init to efi-init common for all arch")

The justification there was the same as here — the code isn't actually
ARM-specific, so the ARM name is misleading once a second arch uses it.

That said, I agree it shouldn't be done purely for cosmetics; it makes sense
when it's paired with the real change (dropping the ARM dependency).

Thanks,
Michal




  reply	other threads:[~2026-07-21 10:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-09 13:27 [RFC PATCH] firmware: scmi: Make SCMI arch independent Michal Simek
2026-07-09 13:48 ` Mark Brown
2026-07-09 14:14 ` Sudeep Holla
2026-07-09 15:15   ` Michal Simek
2026-07-09 15:04 ` Vincent Guittot
2026-07-09 15:56 ` Cristian Marussi
2026-07-10  7:03   ` Michal Simek
2026-07-10  7:35     ` Sudeep Holla
2026-07-10  7:42       ` Michal Simek
2026-07-10  8:38         ` Sudeep Holla
2026-07-10  8:46           ` Michal Simek
2026-07-10  8:59             ` Sudeep Holla
2026-07-14 13:16   ` Ulf Hansson
2026-07-20 14:43     ` Guenter Roeck
2026-07-21 10:23       ` Michal Simek [this message]
2026-07-09 16:07 ` Guenter Roeck
2026-07-10  6:01   ` Michal Simek

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=d1aadebd-9bcf-4198-917d-61f12702e364@amd.com \
    --to=michal.simek@amd.com \
    --cc=Frank.Li@nxp.com \
    --cc=Souvik.Chakravarty@arm.com \
    --cc=alexs@kernel.org \
    --cc=andy@kernel.org \
    --cc=arm-scmi@vger.kernel.org \
    --cc=bmasney@redhat.com \
    --cc=brgl@kernel.org \
    --cc=broonie@kernel.org \
    --cc=corbet@lwn.net \
    --cc=cristian.marussi@arm.com \
    --cc=dlechner@baylibre.com \
    --cc=dzm91@hust.edu.cn \
    --cc=festevam@gmail.com \
    --cc=git@amd.com \
    --cc=imx@lists.linux.dev \
    --cc=jic23@kernel.org \
    --cc=kernel@pengutronix.de \
    --cc=lenb@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=lukasz.luba@arm.com \
    --cc=monstr@monstr.eu \
    --cc=mturquette@baylibre.com \
    --cc=nuno.sa@analog.com \
    --cc=p.zabel@pengutronix.de \
    --cc=pavel@kernel.org \
    --cc=peng.fan@nxp.com \
    --cc=rafael@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=sboyd@kernel.org \
    --cc=si.yanteng@linux.dev \
    --cc=skhan@linuxfoundation.org \
    --cc=sudeep.holla@kernel.org \
    --cc=ulf.hansson@oss.qualcomm.com \
    --cc=ulfh@kernel.org \
    --cc=vincent.guittot@linaro.org \
    --cc=viresh.kumar@linaro.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