soc: bcm: brcmstb: biuctrl: Enable Read-ahead cache
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 31 Mar 2020 04:13:28 +0000 (21:13 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 17 Aug 2020 16:14:04 +0000 (09:14 -0700)
commit9eda7c1f6fb45f590cc96bc8352a028ceed47fcc
tree5047a282577e25aa2add79d58d9f016603623d77
parentc9864df48d2e03e9205fce51c133caeed0296b1f
soc: bcm: brcmstb: biuctrl: Enable Read-ahead cache

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 <f.fainelli@gmail.com>
drivers/soc/bcm/brcmstb/biuctrl.c