[PATCH 2 1/4] powerpc: drop the ability to tweak SMT mode at boot time

Greg Kurz gkurz at linux.vnet.ibm.com
Tue Dec 9 19:53:33 AEDT 2014


On Tue, 09 Dec 2014 15:11:02 +1100
Michael Ellerman <mpe at ellerman.id.au> wrote:

> On Fri, 2014-12-05 at 12:52 -0600, Scott Wood wrote:
> > On Fri, 2014-12-05 at 16:14 +0100, Greg Kurz wrote:
> > > The smt-enabled kernel parameter basically leaves unwanted cpus executing
> > > in firmware or wherever they happen to be. The very same applies to the
> > > ibm,smt-enabled DT property which is no more used by anything known. These
> > > are hacks that shoudn't be used in a production environment.
> > > 
> > > Quoting mpe, "there are better ways for firmware to disable SMT".
> > 
> > Those "better ways" don't apply to Freescale chips, where the OS enables
> > (or not) SMT without any interaction with firmware.
> 
> But how does it know there even are SMT threads? From the device tree? So
> just don't present the threads in the device tree?
> 
> cheers
> 
> 

Michael,

Maybe we can first kill the cpu_bootable hook in powernv only, for bug fix.
Then we can take time to do the thing right for all platforms. Thoughts ?

--
Greg



More information about the Linuxppc-dev mailing list