]> git.ipfire.org Git - thirdparty/linux.git/commit
powerpc: Define config option for processors with broadcast TLBIE
authorPaul Mackerras <paulus@ozlabs.org>
Fri, 31 Jan 2025 06:29:17 +0000 (17:29 +1100)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Wed, 26 Feb 2025 15:46:48 +0000 (21:16 +0530)
commit3d45a3d0d2e6b5cf47c6f0ab890f6ce762d9fd23
tree6453ae6498afaac940fdacd848a2604c958bba3b
parent2b0a438d5380c32817e1b2c883bd0494461e9f4f
powerpc: Define config option for processors with broadcast TLBIE

Power ISA v3.0 (and later) implementations in the Linux Compliancy
Subset and lower are not required to implement broadcast TLBIE, and in
fact Microwatt doesn't.

To avoid the need to specify "disable_tlbie" on the kernel command
line on SMP Microwatt systems, this defines a config option that
asserts that the platform implements broadcast TLBIE.  This option is
selected by the pseries and powernv platforms, but not by microwatt.
Note that this option is only relevant when the radix MMU is being
used, so platforms without a radix MMU don't need it.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/Z5xtvdozEfEmRyeI@thinks.paulus.ozlabs.org
arch/powerpc/mm/book3s64/pgtable.c
arch/powerpc/platforms/Kconfig.cputype
arch/powerpc/platforms/powernv/Kconfig
arch/powerpc/platforms/pseries/Kconfig