<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/firmware/arm_scmi/clock.c, 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-05-06T10:12:30Z</updated>
<entry>
<title>firmware: arm_scmi: quirk: Fix CLOCK_DESCRIBE_RATES triplet</title>
<updated>2025-05-06T10:12:30Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2025-04-29T14:11:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7b487beab7cd853ab7de58746284898fb9316334'/>
<id>urn:sha1:7b487beab7cd853ab7de58746284898fb9316334</id>
<content type='text'>
Convert an existing quirk in CLOCK_DESCRIBE_RATES parsing to the new quirk
framework. This is a sort of a peculiar quirk since it matches any platform
and any firmware.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Message-Id: &lt;20250429141108.406045-4-cristian.marussi@arm.com&gt;
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Fix trivial whitespace/coding style issues</title>
<updated>2024-08-28T16:16:25Z</updated>
<author>
<name>Sudeep Holla</name>
</author>
<published>2024-08-27T14:38:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50db2ef5c719c90ef30cbc05dd80ac91688fd966'/>
<id>urn:sha1:50db2ef5c719c90ef30cbc05dd80ac91688fd966</id>
<content type='text'>
Fix couple of unnecessary multiple blank lines and spaces instead of
tabs.

No functional change.

Message-Id: &lt;20240827143838.1465913-2-sudeep.holla@arm.com&gt;
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Update the supported clock protocol version</title>
<updated>2024-02-22T08:17:11Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2024-02-14T18:30:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e0d2fe70cb8030ded45da21bf5bce35b1dbfdfb'/>
<id>urn:sha1:5e0d2fe70cb8030ded45da21bf5bce35b1dbfdfb</id>
<content type='text'>
And finally update the supported clock protocol version to v3.2(0x30000).

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Link: https://lore.kernel.org/r/20240214183006.3403207-6-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Add standard clock OEM definitions</title>
<updated>2024-02-22T08:17:11Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2024-02-14T18:30:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62092c428fb528fcd117a580216915af04df450e'/>
<id>urn:sha1:62092c428fb528fcd117a580216915af04df450e</id>
<content type='text'>
Add a common enum to define the standard clock OEM types defined by the
SCMI specification, so as to enable the configuration of such extended
configuration properties with the existent clock protocol operations.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Link: https://lore.kernel.org/r/20240214183006.3403207-5-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Add clock check for extended config support</title>
<updated>2024-02-22T08:17:10Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2024-02-14T18:30:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e4ad2b0130eff1cc72f93ea7fd184b0e420f0736'/>
<id>urn:sha1:e4ad2b0130eff1cc72f93ea7fd184b0e420f0736</id>
<content type='text'>
SCMI v3.2 added support to set/get clock custom OEM types; such support is
conditionally present, though, depending on an extended config attribute
bit possibly advertised by the platform server on a per-domain base.

Add a check to verify if OEM types are supported before allowing any kind
of OEM-specific get/set operation. Also add a check around all the new
v3.2 clock features.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Link: https://lore.kernel.org/r/20240214183006.3403207-4-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Implement is_notify_supported callback in clock protocol</title>
<updated>2024-02-20T12:22:18Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2024-02-12T12:32:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf1bba2775ecb459d8209a65eacb464df9490e30'/>
<id>urn:sha1:cf1bba2775ecb459d8209a65eacb464df9490e30</id>
<content type='text'>
Add a preliminary check to verify if the clock protocol related notify
enable commands are supported at all by the SCMI platform, and then
provide the callback needed to allow the core SCMI notification
subsytem to do a fine-grain check if a specific resource domain
supports notifications.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Link: https://lore.kernel.org/r/20240212123233.1230090-7-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Implement clock get permissions</title>
<updated>2024-02-20T06:29:43Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2024-01-21T11:09:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dc36561e1548a8ca93b34ef385da03c289ec5ac0'/>
<id>urn:sha1:dc36561e1548a8ca93b34ef385da03c289ec5ac0</id>
<content type='text'>
ARM SCMI v3.2 introduces clock get permission command. To implement the
same let us stash the values of those permissions in the scmi_clock_info.
They indicate if the operation is forbidden or not.

If the CLOCK_GET_PERMISSIONS command is not supported, the default
permissions are set to allow the operations, otherwise they will be set
according to the response of CLOCK_GET_PERMISSIONS from the SCMI
platform firmware.

Reviewed-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Link: https://lore.kernel.org/r/20240121110901.1414856-1-peng.fan@oss.nxp.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Rework clock domain info lookups</title>
<updated>2024-02-20T06:29:31Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2024-01-10T12:09:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dea893a66cd5b0cbd2f215137c32962a9a0cd178'/>
<id>urn:sha1:dea893a66cd5b0cbd2f215137c32962a9a0cd178</id>
<content type='text'>
Accessing clock domains descriptors by the index from the SCMI drivers
can potentially lead to out-of-bound violations if the SCMI drivers
misbehaves.

Use a common helper to check the consistency of such accesses.

Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Link: https://lore.kernel.org/r/20240110120916.2482603-1-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Fix the clock protocol supported version</title>
<updated>2024-01-22T10:01:17Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2024-01-09T18:17:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6bd1b3fede83d8ba5314886062a9bfdada5102a9'/>
<id>urn:sha1:6bd1b3fede83d8ba5314886062a9bfdada5102a9</id>
<content type='text'>
Rollback currently supported SCMI clock protocol version to v2.0 since
some of the mandatory v3.0 features are indeed still not supported yet.

Fixes: b5efc28a754d ("firmware: arm_scmi: Add protocol versioning checks")
Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Link: https://lore.kernel.org/r/20240109181716.2338636-1-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>firmware: arm_scmi: Fix the clock protocol version for v3.2</title>
<updated>2024-01-22T10:01:17Z</updated>
<author>
<name>Cristian Marussi</name>
</author>
<published>2024-01-09T15:01:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=27600c96e2ffa6c1b2cb378ddc75c6620c628d04'/>
<id>urn:sha1:27600c96e2ffa6c1b2cb378ddc75c6620c628d04</id>
<content type='text'>
The clock protocol version as per the SCMI v3.2 specification is 0x30000.
Enable the v3.0 clock protocol features only when clock protocol version
equals 0x30000.

The previous beta version of the spec had this value set to 0x20001 and
th same value trickled down from the initial development. The version
update were missed in the driver.

Fixes: e49e314a2cf7 ("firmware: arm_scmi: Add clock v3.2 CONFIG_SET support")
Signed-off-by: Cristian Marussi &lt;cristian.marussi@arm.com&gt;
Link: https://lore.kernel.org/r/20240109150106.2066739-1-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
</feed>
