<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/soc/bcm, branch linux-5.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-09-15T09:32:04Z</updated>
<entry>
<title>soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs</title>
<updated>2022-09-15T09:32:04Z</updated>
<author>
<name>Liang He</name>
</author>
<published>2022-07-07T01:56:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6dc0251638a4a1a998506dbd4627f8317e907558'/>
<id>urn:sha1:6dc0251638a4a1a998506dbd4627f8317e907558</id>
<content type='text'>
[ Upstream commit 1085f5080647f0c9f357c270a537869191f7f2a1 ]

In brcmstb_pm_probe(), there are two kinds of leak bugs:

(1) we need to add of_node_put() when for_each__matching_node() breaks
(2) we need to add iounmap() for each iomap in fail path

Fixes: 0b741b8234c8 ("soc: bcm: brcmstb: Add support for S2/S3/S5 suspend states (ARM)")
Signed-off-by: Liang He &lt;windhl@126.com&gt;
Link: https://lore.kernel.org/r/20220707015620.306468-1-windhl@126.com
Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe</title>
<updated>2022-06-29T06:59:54Z</updated>
<author>
<name>Miaoqian Lin</name>
</author>
<published>2022-05-26T07:53:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=30bbfeb480ae8b5ee43199d72417b232590440c2'/>
<id>urn:sha1:30bbfeb480ae8b5ee43199d72417b232590440c2</id>
<content type='text'>
commit 37d838de369b07b596c19ff3662bf0293fdb09ee upstream.

of_find_matching_node() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.

In brcmstb_init_sram, it pass dn to of_address_to_resource(),
of_address_to_resource() will call of_find_device_by_node() to take
reference, so we should release the reference returned by
of_find_matching_node().

Fixes: 0b741b8234c8 ("soc: bcm: brcmstb: Add support for S2/S3/S5 suspend states (ARM)")
Signed-off-by: Miaoqian Lin &lt;linmq006@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>soc: bcm: brcmstb: biuctrl: Change RAC data line prefetching after 4 consecutive lines</title>
<updated>2020-09-06T19:43:02Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2019-10-25T18:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=10e7dd54cdaa00be8deb11a8cdb90faa804bdb19'/>
<id>urn:sha1:10e7dd54cdaa00be8deb11a8cdb90faa804bdb19</id>
<content type='text'>
Change the RACPREFDATA(x) setting to prefetch the next 256-byte line
after 4 consecutive lines have been used, instead of after 2 consecutive
lines. This does improve the synthetic memcpy benchmark by an additional
+0.5% on top of the previous change for Cortex-A72 CPUs.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: bcm: brcmstb: biuctrl: Change RAC prefetch distance from +/-1 to +/- 2</title>
<updated>2020-09-04T20:48:49Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2019-10-25T18:18:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=091353c88b3b4358aa5a0ec07bf53a2f2ac77206'/>
<id>urn:sha1:091353c88b3b4358aa5a0ec07bf53a2f2ac77206</id>
<content type='text'>
Change the RAC prefetch distance from +/- 1 to +/- 2 for Cortex-A72 CPUs
since this provides an average of a 3.8% performance increase for
synthetic memcpy benchmarks.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: bcm: brcmstb: biuctrl: Tune MCP settings for 72165</title>
<updated>2020-09-04T20:48:42Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-02-28T19:32:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4029f3b419dad519fcb0b7233cc24ae242d33651'/>
<id>urn:sha1:4029f3b419dad519fcb0b7233cc24ae242d33651</id>
<content type='text'>
72165 uses a Brahma-B53 CPU and its Bus Interface Unit, tune it
according to the existing values we have.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: bcm: brcmstb: biuctrl: Tune MCP settings for 72164</title>
<updated>2020-09-04T20:44:32Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-02-19T00:14:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5dfd145aada85d37638e820775e457a78d70a7e0'/>
<id>urn:sha1:5dfd145aada85d37638e820775e457a78d70a7e0</id>
<content type='text'>
72164 uses a Brahma-B53 CPU and its Bus Interface Unit, tune it
according to the existing values we have.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: bcm: add BCM63xx power domain driver</title>
<updated>2020-08-17T16:14:04Z</updated>
<author>
<name>Álvaro Fernández Rojas</name>
</author>
<published>2020-06-13T08:21:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c41106f177e1e3e198604f42adedc8be97c482a'/>
<id>urn:sha1:6c41106f177e1e3e198604f42adedc8be97c482a</id>
<content type='text'>
BCM6318, BCM6328, BCM6362 and BCM63268 SoCs have a power domain controller
to enable/disable certain components in order to save power.

Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
Reviewed-by: Florian Fainelli &lt;F.fainelli@gmail.com&gt;
Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: bcm: brcmstb: biuctrl: Enable Read-ahead cache</title>
<updated>2020-08-17T16:14:04Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-03-31T04:13:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9eda7c1f6fb45f590cc96bc8352a028ceed47fcc'/>
<id>urn:sha1:9eda7c1f6fb45f590cc96bc8352a028ceed47fcc</id>
<content type='text'>
Brahma-B53 and Cortex-A72 CPUs integrated on Broadcom STB SoCs feature a
read-ahead cache that performs cache line size adaptation between the
bus interface unit and the memory controller.

On 32-bit ARM kernels we have to resort to a full featured read-ahead
cache driver under arch/arm/mm/cache-b15-rac.c (CONFIG_CACHE_B15_RAC)
because there are still cache maintenance operations by set/ways/index
that cannot be transparently handled by the ARM Coherency Extension that
the read-ahead cache interfaces to.

The 64-bit ARM kernel however has long deprecated all of those, so this
is simply a one time configuration.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: bcm: brcmstb: biuctrl: Update programming for 7211</title>
<updated>2020-01-05T21:44:04Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2019-04-07T21:40:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=add427c49e92c78519d0ff1728ea66d9e52f1fc9'/>
<id>urn:sha1:add427c49e92c78519d0ff1728ea66d9e52f1fc9</id>
<content type='text'>
Add a matching entry for 7211 which can be programmed with the same
BIUCTRL settings as other Brahma-B53 based SoCs. While at it, rename the
function to include a72 in the name to reflect this applies to both
types of 64-bit capable CPUs that we support (Brahma-B53 and
Cortex-A72).

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: bcm: brcmstb: biuctrl: Update layout for A72 on 7211</title>
<updated>2020-01-05T21:44:04Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2019-04-02T03:03:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea1e84d1bd3c0845f814f06d08005bb9cd6da700'/>
<id>urn:sha1:ea1e84d1bd3c0845f814f06d08005bb9cd6da700</id>
<content type='text'>
The BIUCTRL layout is a little different on 7211 which is equipped with
a Cortex-A72, account for those register offset differences. We will
match 7211 specifically in a subsequent commit.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
</content>
</entry>
</feed>
