Re: [PATCH 4/5] powerpc: Define config option for processors without broadcast TLBIE

2025-01-31 Thread Segher Boessenkool
On Wed, Jan 29, 2025 at 06:10:43PM +1100, Paul Mackerras wrote: > > Hate to bikeshed, but would it be annoying to make this an affirmative > > option? > > I guess we'd have to make all the platforms that do have broadcast > tlbie (and a book3s-64 MMU with radix) select that option. Which > would

Re: [PATCH 4/5] powerpc: Define config option for processors without broadcast TLBIE

2025-01-31 Thread Segher Boessenkool
On Wed, Jan 29, 2025 at 09:53:44AM +1100, Paul Mackerras wrote: > Power ISA v3.1 implementations in the Linux Compliancy Subset and > lower are not required to implement broadcast TLBIE, and in fact > Microwatt doesn't. But this pretty much means that such systems cannot be SMP systems at all. Im

Re: [PATCH 4/5] powerpc: Define config option for processors without broadcast TLBIE

2025-01-29 Thread Nicholas Piggin
On Wed Jan 29, 2025 at 5:10 PM AEST, Paul Mackerras wrote: > On Wed, Jan 29, 2025 at 04:14:25PM +1000, Nicholas Piggin wrote: >> On Wed Jan 29, 2025 at 8:53 AM AEST, Paul Mackerras wrote: >> > Power ISA v3.1 implementations in the Linux Compliancy Subset and >> > lower are not required to implement

Re: [PATCH 4/5] powerpc: Define config option for processors without broadcast TLBIE

2025-01-28 Thread Paul Mackerras
On Wed, Jan 29, 2025 at 04:14:25PM +1000, Nicholas Piggin wrote: > On Wed Jan 29, 2025 at 8:53 AM AEST, Paul Mackerras wrote: > > Power ISA v3.1 implementations in the Linux Compliancy Subset and > > lower are not required to implement broadcast TLBIE, and in fact > > Microwatt doesn't. To avoid t

Re: [PATCH 4/5] powerpc: Define config option for processors without broadcast TLBIE

2025-01-28 Thread Nicholas Piggin
On Wed Jan 29, 2025 at 8:53 AM AEST, Paul Mackerras wrote: > Power ISA v3.1 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 Mi

[PATCH 4/5] powerpc: Define config option for processors without broadcast TLBIE

2025-01-28 Thread Paul Mackerras
Power ISA v3.1 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 bro