<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/soc/aspeed, branch v6.19.11</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2025-08-11T00:07:53+00:00</updated>
<entry>
<title>soc: aspeed: socinfo: Add AST27xx silicon IDs</title>
<updated>2025-08-11T00:07:53+00:00</updated>
<author>
<name>Ryan Chen</name>
<email>ryan_chen@aspeedtech.com</email>
</author>
<published>2025-08-07T00:52:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c30dcfd4b5a0f0e3fe7138bf287f6de6b1b00278'/>
<id>urn:sha1:c30dcfd4b5a0f0e3fe7138bf287f6de6b1b00278</id>
<content type='text'>
Extend the ASPEED SoC info driver to support AST27XX silicon IDs.

Signed-off-by: Ryan Chen &lt;ryan_chen@aspeedtech.com&gt;
Link: https://patch.msgid.link/20250807005208.3517283-1-ryan_chen@aspeedtech.com
Signed-off-by: Andrew Jeffery &lt;andrew@codeconstruct.com.au&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: Use of_reserved_mem_region_to_resource() for "memory-region"</title>
<updated>2025-08-11T00:07:53+00:00</updated>
<author>
<name>Rob Herring (Arm)</name>
<email>robh@kernel.org</email>
</author>
<published>2025-07-03T18:35:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c5313eea3e623c81ecf7dd8fe09e6ccf904e4a36'/>
<id>urn:sha1:c5313eea3e623c81ecf7dd8fe09e6ccf904e4a36</id>
<content type='text'>
Use the newly added of_reserved_mem_region_to_resource() function to
handle "memory-region" properties.

The error handling is a bit different. "memory-region" is optional, so
failed lookup is not an error. But then an error in
of_address_to_resource() is treated as an error. However, that
distinction is not really important. Either the region is available
and usable or it is not. So now, it is just
of_reserved_mem_region_to_resource() which is checked for an error.

Signed-off-by: Rob Herring (Arm) &lt;robh@kernel.org&gt;
Link: https://patch.msgid.link/20250703183508.2074735-1-robh@kernel.org
Signed-off-by: Andrew Jeffery &lt;andrew@codeconstruct.com.au&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: lpc-snoop: Lift channel config to const structs</title>
<updated>2025-07-08T02:05:07+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@codeconstruct.com.au</email>
</author>
<published>2025-06-16T13:13:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=fdf003f30b99e232cd3e61cc42d836ed14d08ccb'/>
<id>urn:sha1:fdf003f30b99e232cd3e61cc42d836ed14d08ccb</id>
<content type='text'>
The shifts and masks for each channel are defined by hardware and
are not something that changes at runtime. Accordingly, describe the
information in an array of const structs and associate elements with
each channel instance, removing the need for the switch and handling of
its default case.

Link: https://patch.msgid.link/20250616-aspeed-lpc-snoop-fixes-v2-10-3cdd59c934d3@codeconstruct.com.au
Signed-off-by: Andrew Jeffery &lt;andrew@codeconstruct.com.au&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: lpc-snoop: Consolidate channel initialisation</title>
<updated>2025-07-08T02:05:07+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@codeconstruct.com.au</email>
</author>
<published>2025-06-16T13:13:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4483e3c481bd2d026813434f3cd93381386cd1fa'/>
<id>urn:sha1:4483e3c481bd2d026813434f3cd93381386cd1fa</id>
<content type='text'>
Previously, channel initialisation was a bit perilous with respect to
resource cleanup in error paths. While the implementation had issues,
it at least made an effort to eliminate some of its problems by first
testing whether any channels were enabled, and bailing out if not.

Having improved the robustness of resource handling in probe() we can
now rearrange the initial channel test to be located with the subsequent
test, and rework the unrolled conditional logic to use a loop for an
improvement in readability.

Link: https://patch.msgid.link/20250616-aspeed-lpc-snoop-fixes-v2-9-3cdd59c934d3@codeconstruct.com.au
Acked-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Signed-off-by: Andrew Jeffery &lt;andrew@codeconstruct.com.au&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: lpc-snoop: Use dev_err_probe() where possible</title>
<updated>2025-07-08T02:05:07+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@codeconstruct.com.au</email>
</author>
<published>2025-06-16T13:13:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=fa4ffb06d8e4c243ca1073d321068ee8ab384b4b'/>
<id>urn:sha1:fa4ffb06d8e4c243ca1073d321068ee8ab384b4b</id>
<content type='text'>
Exploit that it returns the provided error to eliminate some lines, and
return the actual error involved rather than -ENODEV.

Link: https://patch.msgid.link/20250616-aspeed-lpc-snoop-fixes-v2-8-3cdd59c934d3@codeconstruct.com.au
Acked-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Signed-off-by: Andrew Jeffery &lt;andrew@codeconstruct.com.au&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: lpc-snoop: Switch to devm_clk_get_enabled()</title>
<updated>2025-07-08T02:05:07+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@codeconstruct.com.au</email>
</author>
<published>2025-06-16T13:13:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=08ebd4c56aa23c710fa9d6832ae1df225d35ea0c'/>
<id>urn:sha1:08ebd4c56aa23c710fa9d6832ae1df225d35ea0c</id>
<content type='text'>
Simplify clock handling as done in other drivers.

Link: https://patch.msgid.link/20250616-aspeed-lpc-snoop-fixes-v2-7-3cdd59c934d3@codeconstruct.com.au
Acked-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Signed-off-by: Andrew Jeffery &lt;andrew@codeconstruct.com.au&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: lpc-snoop: Rearrange channel paths</title>
<updated>2025-07-08T02:05:07+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@codeconstruct.com.au</email>
</author>
<published>2025-06-16T13:13:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6c64e1a828a20f841f3fcfe64bca6b1437d15f21'/>
<id>urn:sha1:6c64e1a828a20f841f3fcfe64bca6b1437d15f21</id>
<content type='text'>
Order assignments such that tests for conditions not involving resource
acquisition are ordered before those testing acquired resources, and
order managed resource acquisition before unmanaged where possible. This
way we minimise the amount of manual cleanup required.

In the process, improve readability of the code by introducing a channel
pointer that takes the place of the repeated object lookups.

Acked-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Link: https://patch.msgid.link/20250616-aspeed-lpc-snoop-fixes-v2-6-3cdd59c934d3@codeconstruct.com.au
Signed-off-by: Andrew Jeffery &lt;andrew@codeconstruct.com.au&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: lpc-snoop: Rename 'channel' to 'index' in channel paths</title>
<updated>2025-07-08T02:05:07+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@codeconstruct.com.au</email>
</author>
<published>2025-06-16T13:13:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e88c9a712f9acc699ee69246d838bfca95956bf3'/>
<id>urn:sha1:e88c9a712f9acc699ee69246d838bfca95956bf3</id>
<content type='text'>
We'll introduce another 'channel' variable shortly

Acked-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Link: https://patch.msgid.link/20250616-aspeed-lpc-snoop-fixes-v2-5-3cdd59c934d3@codeconstruct.com.au
Signed-off-by: Andrew Jeffery &lt;andrew@codeconstruct.com.au&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: lpc-snoop: Constrain parameters in channel paths</title>
<updated>2025-07-08T02:05:07+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@codeconstruct.com.au</email>
</author>
<published>2025-06-16T13:13:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3e9c15784a583ad242e3374839d1ce849876e11a'/>
<id>urn:sha1:3e9c15784a583ad242e3374839d1ce849876e11a</id>
<content type='text'>
Ensure pointers and the channel index are valid before use.

Link: https://patch.msgid.link/20250616-aspeed-lpc-snoop-fixes-v2-4-3cdd59c934d3@codeconstruct.com.au
Signed-off-by: Andrew Jeffery &lt;andrew@codeconstruct.com.au&gt;
</content>
</entry>
<entry>
<title>soc: aspeed: lpc-snoop: Ensure model_data is valid</title>
<updated>2025-07-08T02:05:03+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@codeconstruct.com.au</email>
</author>
<published>2025-06-16T13:13:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3795e993931f2120bf64b8cdf03bb8c4f988b920'/>
<id>urn:sha1:3795e993931f2120bf64b8cdf03bb8c4f988b920</id>
<content type='text'>
of_device_get_match_data() can return NULL, though shouldn't in current
circumstances. Regardless, initialise model_data closer to use so it's
clear we need to test for validity prior to dereferencing.

Acked-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Link: https://patch.msgid.link/20250616-aspeed-lpc-snoop-fixes-v2-3-3cdd59c934d3@codeconstruct.com.au
Signed-off-by: Andrew Jeffery &lt;andrew@codeconstruct.com.au&gt;
</content>
</entry>
</feed>
