Re: powerpc/64: Reclaim CPU_FTR_SUBCORE

2017-06-01 Thread Michael Ellerman
On Mon, 2017-05-29 at 01:53:10 UTC, Michael Ellerman wrote: > We are running low on CPU feature bits, so we only want to use them when > it's really necessary. > > CPU_FTR_SUBCORE is only used in one place, and only in C, so we don't > need it in order to make asm patching work. It can only be set

Re: [PATCH] powerpc/64: Reclaim CPU_FTR_SUBCORE

2017-05-30 Thread Michael Ellerman
Balbir Singh writes: > On Mon, 29 May 2017 11:53:10 +1000 > Michael Ellerman wrote: > >> We are running low on CPU feature bits, so we only want to use them when >> it's really necessary. >> >> CPU_FTR_SUBCORE is only used in one place, and only in C, so we don't >> need it in order to make asm

Re: [PATCH] powerpc/64: Reclaim CPU_FTR_SUBCORE

2017-05-29 Thread Balbir Singh
On Mon, 29 May 2017 11:53:10 +1000 Michael Ellerman wrote: > We are running low on CPU feature bits, so we only want to use them when > it's really necessary. > > CPU_FTR_SUBCORE is only used in one place, and only in C, so we don't > need it in order to make asm patching work. It can only be se

[PATCH] powerpc/64: Reclaim CPU_FTR_SUBCORE

2017-05-28 Thread Michael Ellerman
We are running low on CPU feature bits, so we only want to use them when it's really necessary. CPU_FTR_SUBCORE is only used in one place, and only in C, so we don't need it in order to make asm patching work. It can only be set on "Power8" CPUs, which in practice means POWER8, POWER8E and POWER8N