Re: [PATCH 2/2] powerpc: Add POWER9 cputable entry

2016-02-18 Thread Michael Ellerman
On Thu, 2016-02-18 at 14:32 +1100, Michael Neuling wrote: > On Wed, 2016-02-17 at 22:09 +1100, Michael Ellerman wrote: > > On Wed, 2016-02-17 at 16:07 +1100, Michael Neuling wrote: > > > > > Add a cputable entry for POWER9. More code is required to actually > > > boot and run on a POWER9 but this

Re: [PATCH 2/2] powerpc: Add POWER9 cputable entry

2016-02-17 Thread Michael Neuling
On Wed, 2016-02-17 at 22:09 +1100, Michael Ellerman wrote: > On Wed, 2016-02-17 at 16:07 +1100, Michael Neuling wrote: > > > Add a cputable entry for POWER9. More code is required to actually > > boot and run on a POWER9 but this gets the base piece in which we > > can > > start building on. > >

Re: [PATCH 2/2] powerpc: Add POWER9 cputable entry

2016-02-17 Thread oliver
On Wed, Feb 17, 2016 at 10:09 PM, Michael Ellerman wrote: > On Wed, 2016-02-17 at 16:07 +1100, Michael Neuling wrote: > > > Add a cputable entry for POWER9. More code is required to actually > > boot and run on a POWER9 but this gets the base piece in which we can > > start

Re: [PATCH 2/2] powerpc: Add POWER9 cputable entry

2016-02-17 Thread Michael Ellerman
On Wed, 2016-02-17 at 23:28 +1100, oliver wrote: > On Wed, Feb 17, 2016 at 10:09 PM, Michael Ellerman > wrote: > > On Wed, 2016-02-17 at 16:07 +1100, Michael Neuling wrote: > > > > > Add a cputable entry for POWER9. More code is required to actually > > > boot and run on

Re: [PATCH 2/2] powerpc: Add POWER9 cputable entry

2016-02-17 Thread Michael Ellerman
On Wed, 2016-02-17 at 16:07 +1100, Michael Neuling wrote: > Add a cputable entry for POWER9. More code is required to actually > boot and run on a POWER9 but this gets the base piece in which we can > start building on. > > Copies over from POWER8 except for: > - Adds a new CPU_FTR_ARCH_30 bit

Re: [PATCH 2/2] powerpc: Add POWER9 cputable entry

2016-02-17 Thread Michael Neuling
> > +_GLOBAL(__setup_cpu_power9) > > + mflrr11 > > + bl __init_FSCR > > + bl __init_PMU > Just to keep in mind, I am not sure whether > powerisa 3.0 support MMCRS spr, so we > will need a feature check in __init_PMU() > for power9. Yeah, I'm not expecting this to work. I'm

Re: [PATCH 2/2] powerpc: Add POWER9 cputable entry

2016-02-16 Thread Madhavan Srinivasan
On Wednesday 17 February 2016 10:37 AM, Michael Neuling wrote: > Add a cputable entry for POWER9. More code is required to actually > boot and run on a POWER9 but this gets the base piece in which we can > start building on. > > Copies over from POWER8 except for: > - Adds a new CPU_FTR_ARCH_30

[PATCH 2/2] powerpc: Add POWER9 cputable entry

2016-02-16 Thread Michael Neuling
Add a cputable entry for POWER9. More code is required to actually boot and run on a POWER9 but this gets the base piece in which we can start building on. Copies over from POWER8 except for: - Adds a new CPU_FTR_ARCH_30 bit to start hanging new architecture features from (in subsequent