[PATCH 1/2] powerpc: Move THREAD_SHIFT config to KConfig

2017-02-20 Thread Hamish Martin
Shift the logic for defining THREAD_SHIFT logic to Kconfig in order to allow override by users. Signed-off-by: Hamish Martin <hamish.mar...@alliedtelesis.co.nz> Reviewed-by: Chris Packham <chris.pack...@alliedtelesis.co.nz> --- arch/powerpc/Kconfig | 10 ++

[PATCH 0/2] Allow configurable stack size (especially 32k on PPC64)

2017-02-20 Thread Hamish Martin
ver, given the inequity between the PPC32 and PPC64 stacks when taking into account the respective minimum stack frame sizes, we believe consideration should be given to having a large default. We would appreciate any input or opinions on this issue. Hamish Martin (2): powerpc: Move THREAD_SHIFT config

[PATCH 2/2] powerpc64: Allow for THREAD_SIZE > 16k

2017-02-20 Thread Hamish Martin
Fix an assembler error when the THREAD_SIZE is greater than 16k. Signed-off-by: Hamish Martin <hamish.mar...@alliedtelesis.co.nz> Reviewed-by: Chris Packham <chris.pack...@alliedtelesis.co.nz> --- arch/powerpc/kernel/head_64.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH 0/2] Allow configurable stack size (especially 32k on PPC64)

2017-02-23 Thread Hamish Martin
On 02/22/2017 09:06 PM, Benjamin Herrenschmidt wrote: > On Wed, 2017-02-22 at 17:25 +1100, Michael Ellerman wrote: >> >> Thanks for the detailed explanation. >> >> The patches look fine, so I don't see any reason why we wouldn't merge >> this. I might make the config option depend on EXPERT, but

[PATCH v2 0/2] Allow configurable stack size (especially 32k on PPC64)

2017-02-23 Thread Hamish Martin
suggested by Michael Ellerman. Hamish Martin (2): powerpc: Move THREAD_SHIFT config to KConfig powerpc64: Allow for THREAD_SIZE > 16k arch/powerpc/Kconfig | 10 ++ arch/powerpc/include/asm/thread_info.h | 10 +- arch/powerpc/kernel/head_64.S | 3

[PATCH v2 1/2] powerpc: Move THREAD_SHIFT config to KConfig

2017-02-23 Thread Hamish Martin
Shift the logic for defining THREAD_SHIFT logic to Kconfig in order to allow override by users. Signed-off-by: Hamish Martin <hamish.mar...@alliedtelesis.co.nz> Reviewed-by: Chris Packham <chris.pack...@alliedtelesis.co.nz> --- arch/powerpc/Kconfig | 10 ++

Re: [PATCH 0/2] Allow configurable stack size (especially 32k on PPC64)

2017-02-23 Thread Hamish Martin
On 02/22/2017 07:25 PM, Michael Ellerman wrote: > Hamish Martin <hamish.mar...@alliedtelesis.co.nz> writes: >> This patch series adds the ability to configure the THREAD_SHIFT value and >> thereby alter the stack size on powerpc systems. We are particularly >> i

[PATCH v2 2/2] powerpc64: Allow for THREAD_SIZE > 16k

2017-02-23 Thread Hamish Martin
Fix an assembler error when the THREAD_SIZE is greater than 16k. Signed-off-by: Hamish Martin <hamish.mar...@alliedtelesis.co.nz> Reviewed-by: Chris Packham <chris.pack...@alliedtelesis.co.nz> --- arch/powerpc/kernel/head_64.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH v2 0/2] Allow configurable stack size (especially 32k on PPC64)

2017-02-26 Thread Hamish Martin
On 02/24/2017 10:54 PM, David Laight wrote: > From: Hamish Martin >> Sent: 24 February 2017 00:52 >> This patch series adds the ability to configure the THREAD_SHIFT value and >> thereby alter the stack size on powerpc systems. We are particularly >> interested >&g

Backwards compatiblity for QorIQ FMAN LIODN entries

2019-04-11 Thread Hamish Martin
Hi Rob and Mark, I am upgrading the kernel on a Freescale P2040 based system and have struck an issue with LIODNs not being updated by uboot for an FMAN ethernet port. My system has an old uboot running which fails in its attempt to update the fman rx port node with the required LIODN entry.