]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mips: bmips: enable RAC on BMIPS4350
authorDaniel González Cabanelas <dgcbueu@gmail.com>
Thu, 20 Jun 2024 15:26:45 +0000 (17:26 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 27 Jun 2024 08:44:36 +0000 (10:44 +0200)
commit04f38d1a4db017f17e82442727b91ce03dd72759
treefc3ca9c8422503b8c0f0c209156916060439d985
parentb95b30e50aed225d26e20737873ae2404941901c
mips: bmips: enable RAC on BMIPS4350

The data RAC is left disabled by the bootloader in some SoCs, at least in
the core it boots from.
Enabling this feature increases the performance up to +30% depending on the
task.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[ rework code and reduce code duplication ]
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/smp-bmips.c