public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@oss.nxp.com>
To: Dan Carpenter <dan.carpenter@linaro.org>
Cc: Sudeep Holla <sudeep.holla@arm.com>,
	Cristian Marussi <cristian.marussi@arm.com>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-kernel@vger.kernel.org, arm-scmi@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev,
	devicetree@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH v4 3/7] firmware: arm_scmi: imx: Add i.MX95 LMM protocol
Date: Wed, 9 Apr 2025 11:33:25 +0800	[thread overview]
Message-ID: <20250409033325.GA27988@nxa18884-linux> (raw)
In-Reply-To: <b85cd7c9-1747-4f8d-82e5-5bf734263566@stanley.mountain>

On Tue, Apr 08, 2025 at 12:21:56PM +0300, Dan Carpenter wrote:
>On Tue, Apr 08, 2025 at 04:44:27PM +0800, Peng Fan (OSS) wrote:
>> From: Peng Fan <peng.fan@nxp.com>
>> 
>> Add Logical Machine Management(LMM) protocol which is intended for boot,
>> shutdown, and reset of other logical machines (LM). It is usually used to
>> allow one LM to manager another used as an offload or accelerator engine.
>> 
>> Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
>> Signed-off-by: Peng Fan <peng.fan@nxp.com>
>> ---
>>  drivers/firmware/arm_scmi/vendors/imx/Kconfig      |  11 +
>>  drivers/firmware/arm_scmi/vendors/imx/Makefile     |   1 +
>>  drivers/firmware/arm_scmi/vendors/imx/imx-sm-lmm.c | 262 +++++++++++++++++++++
>>  include/linux/scmi_imx_protocol.h                  |  32 +++
>>  4 files changed, 306 insertions(+)
>> 
>> diff --git a/drivers/firmware/arm_scmi/vendors/imx/Kconfig b/drivers/firmware/arm_scmi/vendors/imx/Kconfig
>> index a01bf5e47301d2f93c9bfc7eebc77e083ea4ed75..1a936fc87d2350e2a21bccd45dfbeebfa3b90286 100644
>> --- a/drivers/firmware/arm_scmi/vendors/imx/Kconfig
>> +++ b/drivers/firmware/arm_scmi/vendors/imx/Kconfig
>> @@ -12,6 +12,17 @@ config IMX_SCMI_BBM_EXT
>>  	  To compile this driver as a module, choose M here: the
>>  	  module will be called imx-sm-bbm.
>>  
>> +config IMX_SCMI_LMM_EXT
>> +	tristate "i.MX SCMI LMM EXTENSION"
>> +	depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF)
>> +	default y if ARCH_MXC
>> +	help
>> +	  This enables i.MX System Logical Machine Protocol to
>> +	  manage Logical Machines boot, shutdown and etc.
>> +
>> +	  To compile this driver as a module, choose M here: the
>> +	  module will be called imx-sm-lmm.
>> +
>
>Remind me again what happens if you have both the default and the
>extension modules enabled?

With update defconfig to m, it will be built as module as below output:

  MODPOST Module.symvers
  CC [M]  drivers/firmware/arm_scmi/vendors/imx/imx-sm-lmm.mod.o
  CC [M]  drivers/firmware/arm_scmi/vendors/imx/imx-sm-misc.mod.o
  LD [M]  drivers/firmware/arm_scmi/vendors/imx/imx-sm-lmm.ko
  LD [M]  drivers/firmware/arm_scmi/vendors/imx/imx-sm-misc.ko

Regards,
Peng
>
>regards,
>dan carpenter
>


  reply	other threads:[~2025-04-09  2:27 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-08  8:44 [PATCH v4 0/7] firmware: scmi/imx: Add i.MX95 LMM/CPU Protocol Peng Fan (OSS)
2025-04-08  8:44 ` [PATCH v4 1/7] firmware: arm_scmi: imx: Add LMM and CPU documentation Peng Fan (OSS)
2025-04-08  8:44 ` [PATCH v4 2/7] dt-bindings: firmware: Add i.MX95 SCMI LMM and CPU protocol Peng Fan (OSS)
2025-04-08  8:44 ` [PATCH v4 3/7] firmware: arm_scmi: imx: Add i.MX95 LMM protocol Peng Fan (OSS)
2025-04-08  9:17   ` Dan Carpenter
2025-04-09  3:37     ` Peng Fan
2025-04-08  9:21   ` Dan Carpenter
2025-04-09  3:33     ` Peng Fan [this message]
2025-04-08  8:44 ` [PATCH v4 4/7] firmware: arm_scmi: imx: Add i.MX95 CPU Protocol Peng Fan (OSS)
2025-04-08  8:44 ` [PATCH v4 5/7] firmware: imx: Add i.MX95 SCMI LMM driver Peng Fan (OSS)
2025-04-14  9:34   ` Sudeep Holla
2025-04-14  9:57     ` Peng Fan
2025-04-14 10:15       ` Sudeep Holla
2025-04-14 10:44         ` Peng Fan
2025-04-14 11:00           ` Peng Fan
2025-04-14 11:17             ` Sudeep Holla
2025-04-15  9:10               ` Peng Fan
2025-04-15 14:48                 ` Sudeep Holla
2025-04-08  8:44 ` [PATCH v4 6/7] firmware: imx: Add i.MX95 SCMI CPU driver Peng Fan (OSS)
2025-04-08  8:44 ` [PATCH v4 7/7] MAINTAINERS: add entry for i.MX SCMI extensions Peng Fan (OSS)
2025-04-24  9:43 ` [PATCH v4 0/7] firmware: scmi/imx: Add i.MX95 LMM/CPU Protocol Sudeep Holla

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=20250409033325.GA27988@nxa18884-linux \
    --to=peng.fan@oss.nxp.com \
    --cc=arm-scmi@vger.kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cristian.marussi@arm.com \
    --cc=dan.carpenter@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peng.fan@nxp.com \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=sudeep.holla@arm.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