<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/firmware/arm_scmi, branch linux-6.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-10-15T14:28:49Z</updated>
<entry>
<title>firmware: arm_scmi: Fix premature SCMI_XFER_FLAG_IS_RAW clearing in raw mode</title>
<updated>2025-10-15T14:28:49Z</updated>
<author>
<name>Artem Shimko</name>
</author>
<published>2025-10-08T09:10:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20b93a0088a595bceed4a026d527cbbac4e876c5'/>
<id>urn:sha1:20b93a0088a595bceed4a026d527cbbac4e876c5</id>
<content type='text'>
The SCMI_XFER_FLAG_IS_RAW flag was being cleared prematurely in
scmi_xfer_raw_put() before the transfer completion was properly
acknowledged by the raw message handlers.

Move the clearing of SCMI_XFER_FLAG_IS_RAW and SCMI_XFER_FLAG_CHAN_SET
from scmi_xfer_raw_put() to __scmi_xfer_put() to ensure the flags remain
set throughout the entire raw message processing pipeline until the
transfer is returned to the free pool.

Fixes: 3095a3e25d8f ("firmware: arm_scmi: Add xfer helpers to provide raw access")
Suggested-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Signed-off-by: Artem Shimko &lt;a.shimko.dev@gmail.com&gt;
Reviewed-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Message-Id: &lt;20251008091057.1969260-1-a.shimko.dev@gmail.com&gt;
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Skip RAW initialization on failure</title>
<updated>2025-10-15T14:28:01Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2025-10-14T11:53:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=092b9e2ce6dd63d2f36822751a51957412706986'/>
<id>urn:sha1:092b9e2ce6dd63d2f36822751a51957412706986</id>
<content type='text'>
Avoid attempting to initialize RAW mode when the debug subsystem itself
has failed to initialize, since doing so is pointless and emits
misleading error messages.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Message-Id: &lt;20251014115346.2391418-3-cristian.marussi@arm.com&gt;
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>include: trace: Fix inflight count helper on failed initialization</title>
<updated>2025-10-15T14:26:41Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2025-10-14T11:53:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=289ce7e9a5e1a52ac7e522a3e389dc16be08d7a4'/>
<id>urn:sha1:289ce7e9a5e1a52ac7e522a3e389dc16be08d7a4</id>
<content type='text'>
Add a check to the scmi_inflight_count() helper to handle the case
when the SCMI debug subsystem fails to initialize.

Fixes: f8e656382b4a ("include: trace:  Add tracepoint support for inflight xfer count")
Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Message-Id: &lt;20251014115346.2391418-2-cristian.marussi@arm.com&gt;
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Account for failed debug initialization</title>
<updated>2025-10-15T14:24:29Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2025-10-14T11:53:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2290ab43b9d8eafb8046387f10a8dfa2b030ba46'/>
<id>urn:sha1:2290ab43b9d8eafb8046387f10a8dfa2b030ba46</id>
<content type='text'>
When the SCMI debug subsystem fails to initialize, the related debug root
will be missing, and the underlying descriptor will be NULL.

Handle this fault condition in the SCMI debug helpers that maintain
metrics counters.

Fixes: 0b3d48c4726e ("firmware: arm_scmi: Track basic SCMI communication debug metrics")
Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Message-Id: &lt;20251014115346.2391418-1-cristian.marussi@arm.com&gt;
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Simplify printks with pOF format</title>
<updated>2025-09-12T10:32:21Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2025-09-12T09:24:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f86054cc1a6792f0812d5f23f271a83848edabb'/>
<id>urn:sha1:2f86054cc1a6792f0812d5f23f271a83848edabb</id>
<content type='text'>
Print full device node name with %pOF format, so the code will be a bit
simpler.

Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Message-Id: &lt;20250912092423.162497-2-krzysztof.kozlowski@linaro.org&gt;
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: imx: Discover MISC board info from the system manager</title>
<updated>2025-09-09T10:26:20Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2025-09-04T10:40:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=88d3671baf4145b806a737f7923df99a53a74737'/>
<id>urn:sha1:88d3671baf4145b806a737f7923df99a53a74737</id>
<content type='text'>
The i.MX SCMI MISC protocol can report board information from the
System Manager (SM), including a board name and board-specific
attributes. Query this during protocol initialization.

If the firmware does not implement BOARD_INFO, handle -EOPNOTSUPP
gracefully and continue.

Reviewed-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Message-Id: &lt;20250904-sm-misc-api-v1-v4-4-0bf10eaabdf1@nxp.com&gt;
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: imx: Support retrieving MISC protocol configuration info</title>
<updated>2025-09-08T10:52:30Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2025-09-04T10:40:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d3e25c244d5335ef868983b5dad9d4c06396d67e'/>
<id>urn:sha1:d3e25c244d5335ef868983b5dad9d4c06396d67e</id>
<content type='text'>
The MISC protocol can provide System Manager (SM) configuration
information, including platform identifiers and board-specific
attributes. Add support to retrieve this information during protocol
initialization.

If the firmware does not implement the CFG_INFO command, handle
-EOPNOTSUPP gracefully and continue without failing init.

Reviewed-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Message-Id: &lt;20250904-sm-misc-api-v1-v4-3-0bf10eaabdf1@nxp.com&gt;
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: imx: Discover MISC build info from the system manager</title>
<updated>2025-09-08T10:52:30Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2025-09-04T10:40:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc798b105070a190e2b793d30d0c59aa00299861'/>
<id>urn:sha1:cc798b105070a190e2b793d30d0c59aa00299861</id>
<content type='text'>
MISC protocol can report System Manager (SM) build information (commit,
build date/time, etc.). Discover those information at the init time.
If the firmware doesn't support it, ignore -EOPNOTSUPP.

Reviewed-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Message-Id: &lt;20250904-sm-misc-api-v1-v4-2-0bf10eaabdf1@nxp.com&gt;
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: imx: Add documentation for MISC_BOARD_INFO</title>
<updated>2025-09-08T10:32:17Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2025-09-04T10:40:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=646c0c9e06a6613da5496645344af7e6e0f4ee9d'/>
<id>urn:sha1:646c0c9e06a6613da5496645344af7e6e0f4ee9d</id>
<content type='text'>
System Manager Firmware supports getting board information, add
documentation for this MISC_BOARD_INFO command.

Also extends the SYSLOG response to include NOT_SUPPORTED.

Reviewed-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Message-Id: &lt;20250904-sm-misc-api-v1-v4-1-0bf10eaabdf1@nxp.com&gt;
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: quirk: Prevent writes to string constants</title>
<updated>2025-09-02T10:23:42Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2025-08-29T13:21:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=572ce546390d1b7c99b16c38cae1b680c716216c'/>
<id>urn:sha1:572ce546390d1b7c99b16c38cae1b680c716216c</id>
<content type='text'>
The quirk version range is typically a string constant and must not be
modified (e.g. as it may be stored in read-only memory). Attempting
to do so can trigger faults such as:

  |  Unable to handle kernel write to read-only memory at virtual
  |  address ffffc036d998a947

Update the range parsing so that it operates on a copy of the version
range string, and mark all the quirk strings as const to reduce the
risk of introducing similar future issues.

Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220437
Fixes: 487c407d57d6 ("firmware: arm_scmi: Add common framework to handle firmware quirks")
Cc: stable@vger.kernel.org	# 6.16
Cc: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Reported-by: Jan Palus &lt;jpalus@fastmail.com&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Message-Id: &lt;20250829132152.28218-1-johan@kernel.org&gt;
[sudeep.holla: minor commit message rewording; switch to cleanup helpers]
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
</feed>
