]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Allow RIXI to be used on non-R2 or R6 cores
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 9 Feb 2016 20:55:51 +0000 (12:55 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 13:30:25 +0000 (15:30 +0200)
commit8256b17ecb028949d80c982d0f28ad46fe4e73d8
tree18caab2e4f081a22d5aab9dc17552c948074e1f4
parente56c7e18818dd721179f9ca95c77dd941a360384
MIPS: Allow RIXI to be used on non-R2 or R6 cores

Some processors, like Broadcom's BMIPS4380 and BMIPS5000 support RIXI and the
"rotr" instruction, which can be used to get a slightly more efficient page
table layout.

Introduce a CONFIG_CPU_HAS_RIXI such that those cores can benefit from this
feature. Perform the conditional check updates where relevant.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: john@phrozen.org
Cc: cernekee@gmail.com
Cc: jon.fraser@broadcom.com
Cc: pgynther@google.com
Cc: paul.burton@imgtec.com
Cc: ddaney.cavm@gmail.com
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12505/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/include/asm/pgtable-bits.h