<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/firmware/arm_scmi/driver.c, branch linux-6.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-05-11T14:17:03Z</updated>
<entry>
<title>firmware: arm_scmi: Fix xfers allocation on Rx channel</title>
<updated>2023-05-11T14:17:03Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2023-03-26T20:34:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d97e9f3fc758506f23d6bf0e1c76a8f8b3d660e'/>
<id>urn:sha1:4d97e9f3fc758506f23d6bf0e1c76a8f8b3d660e</id>
<content type='text'>
[ Upstream commit b2ccba9e8cdc6fb3985cc227844e7c6af309ffb1 ]

Two distinct pools of xfer descriptors are allocated at initialization
time: one (Tx) used to provide xfers to track commands and their replies
(or delayed replies) and another (Rx) to pick xfers from to be used for
processing notifications.

Such pools, though, are allocated globally to be used by the whole SCMI
instance, they are not allocated per-channel and as such the allocation of
notifications xfers cannot be simply skipped if no Rx channel was found for
the base protocol common channel, because there could be defined more
optional per-protocol dedicated channels that instead support Rx channels.

Change the conditional check to skip allocation for the notification pool
only if no Rx channel has been detected on any per-channel protocol at all.

Fixes: 4ebd8f6dea81 ("firmware: arm_scmi: Add receive buffer support for notifications")
Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Link: https://lore.kernel.org/r/20230326203449.3492948-1-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Use the bitmap API to allocate bitmaps</title>
<updated>2023-03-08T15:24:15Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2022-07-08T19:30:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d617808e3b8324eacebabefec49dc75536ee39cc'/>
<id>urn:sha1:d617808e3b8324eacebabefec49dc75536ee39cc</id>
<content type='text'>
Use devm_bitmap_zalloc() instead of hand-writing them.

It is less verbose and it improves the semantic.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Reviewed-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Tested-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Link: https://lore.kernel.org/r/c073b1607ada34d5bde6ce1009179cf15bbf0da3.1657308593.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Fix raw coexistence mode behaviour on failure path</title>
<updated>2023-03-06T08:42:33Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2023-02-23T15:23:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2b76e977fc6bc38e6a4dedb62b34bc90cc6ce97'/>
<id>urn:sha1:b2b76e977fc6bc38e6a4dedb62b34bc90cc6ce97</id>
<content type='text'>
When SCMI raw coexistence mode is enabled make the core stack probe
successfully even when the initial base protocol exchanges with the
platform/server failed.

This behaviour enables the system to boot with a broken regular SCMI
stack but with a fully functional and accessible SCMI raw debugfs
interface that can be used to further debug the issue.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Link: https://lore.kernel.org/r/20230223152330.2707260-1-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Clean up a return statement in scmi_probe</title>
<updated>2023-03-06T08:42:32Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2023-01-23T15:07:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ab5059dc4f4c34325eba6270ef12a4ab1386019'/>
<id>urn:sha1:8ab5059dc4f4c34325eba6270ef12a4ab1386019</id>
<content type='text'>
The comments say "enabled" where "disabled" is intended.  Also it's
cleaner to return zero explicitly instead of ret.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Link: https://lore.kernel.org/r/Y86im5M49p3ePGxj@kili
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Add per-channel raw injection support</title>
<updated>2023-01-20T11:41:37Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2023-01-18T12:14:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7860701d1e6e6e048960567d4767d93d693d6faa'/>
<id>urn:sha1:7860701d1e6e6e048960567d4767d93d693d6faa</id>
<content type='text'>
On a system configured with multiple transport channels, expose a few
additional debugfs per-channel entries to allow a user to explicitly select
which transport channel to use for the SCMI message injection.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Tested-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Tested-by: Vincent Guittot &lt;vincent.guittot@linaro.org&gt;
Link: https://lore.kernel.org/r/20230118121426.492864-18-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Add the raw mode co-existence support</title>
<updated>2023-01-20T11:41:31Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2023-01-18T12:14:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c54633e4e3d004c416ad680d6b0f73c2ac6f018'/>
<id>urn:sha1:9c54633e4e3d004c416ad680d6b0f73c2ac6f018</id>
<content type='text'>
When the raw support is enabled and configured in co-existence mode the
normal SCMI drivers are allowed to register with the SCMI core and
operate as usual alongside the raw operations.

SCMI normal and raw messages will be kept segregated from each other,
but only at the transaction level. Any further possible interference at
the protocol layer will have instead to be handled by the user to attain
reliable results while using the raw transactions.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Tested-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Tested-by: Vincent Guittot &lt;vincent.guittot@linaro.org&gt;
Link: https://lore.kernel.org/r/20230118121426.492864-17-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Call raw mode hooks from the core stack</title>
<updated>2023-01-20T11:41:27Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2023-01-18T12:14:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7063887b538602710cdcc19fbcd78385cbab8791'/>
<id>urn:sha1:7063887b538602710cdcc19fbcd78385cbab8791</id>
<content type='text'>
Add a few call sites where, if SCMI raw mode access had been enabled in
Kconfig, the needed SCMI raw initialization and hooks are called.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Tested-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Tested-by: Vincent Guittot &lt;vincent.guittot@linaro.org&gt;
Link: https://lore.kernel.org/r/20230118121426.492864-16-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Add core raw transmission support</title>
<updated>2023-01-20T11:41:15Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2023-01-18T12:14:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c3d818a9317a5f8ff7fb4547b2d6d5bcc39137d'/>
<id>urn:sha1:3c3d818a9317a5f8ff7fb4547b2d6d5bcc39137d</id>
<content type='text'>
Add SCMI raw mode support which exposes a userspace interface to allow for
bare SCMI command injection and snooping from userspace.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Tested-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Tested-by: Vincent Guittot &lt;vincent.guittot@linaro.org&gt;
Link: https://lore.kernel.org/r/20230118121426.492864-13-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Populate a common SCMI debugfs root</title>
<updated>2023-01-20T11:41:07Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2023-01-18T12:14:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329'/>
<id>urn:sha1:c3d4aed763ce4a39f8ed36c7b7cd9a6a35971329</id>
<content type='text'>
Create a common SCMI debugfs root directory and populate it with some
common SCMI data for each discovered SCMI platform instance if SCMI
debugfs is needed by any configured SCMI facility.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Tested-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Tested-by: Vincent Guittot &lt;vincent.guittot@linaro.org&gt;
Link: https://lore.kernel.org/r/20230118121426.492864-11-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>include: trace: Add platform and channel instance references</title>
<updated>2023-01-20T11:40:57Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2023-01-18T12:14:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b2bd71119dd0f5ec0b8d857670863d342767d85'/>
<id>urn:sha1:8b2bd71119dd0f5ec0b8d857670863d342767d85</id>
<content type='text'>
Add the channel and platform instance indentifier to SCMI message dump
traces in order to easily associate message flows to specific transport
channels.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Tested-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Tested-by: Vincent Guittot &lt;vincent.guittot@linaro.org&gt;
Link: https://lore.kernel.org/r/20230118121426.492864-9-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
</feed>
