Messages in this thread | | | From | Michael Ellerman <> | Subject | Re: [PATCH] powerpc/32: Preserve cr1 in exception prolog stack check to fix build error | Date | Fri, 12 Feb 2021 11:19:54 +1100 (AEDT) |
| |
On Mon, 8 Feb 2021 07:17:40 +0000 (UTC), Christophe Leroy wrote: > THREAD_ALIGN_SHIFT = THREAD_SHIFT + 1 = PAGE_SHIFT + 1 > Maximum PAGE_SHIFT is 18 for 256k pages so > THREAD_ALIGN_SHIFT is 19 at the maximum. > > No need to clobber cr1, it can be preserved when moving r1 > into CR when we check stack overflow. > > [...]
Applied to powerpc/next.
[1/1] powerpc/32: Preserve cr1 in exception prolog stack check to fix build error https://git.kernel.org/powerpc/c/3642eb21256a317ac14e9ed560242c6d20cf06d9
cheers
| |