Re: [PATCH] powerpc64/idle: Fix SP offsets when saving GPRs

2021-02-04 Thread Nicholas Piggin
Excerpts from Michael Ellerman's message of February 4, 2021 9:13 pm: > Nicholas Piggin writes: >> Excerpts from Christopher M. Riedl's message of February 4, 2021 4:59 pm: >>> On Sat Jan 30, 2021 at 7:44 AM CST, Nicholas Piggin wrote: Excerpts from Michael Ellerman's message of January 30, 2

Re: [PATCH] powerpc64/idle: Fix SP offsets when saving GPRs

2021-02-04 Thread Michael Ellerman
Nicholas Piggin writes: > Excerpts from Christopher M. Riedl's message of February 4, 2021 4:59 pm: >> On Sat Jan 30, 2021 at 7:44 AM CST, Nicholas Piggin wrote: >>> Excerpts from Michael Ellerman's message of January 30, 2021 9:32 pm: >>> > "Christopher M. Riedl" writes: >>> >> The idle entry/ex

Re: [PATCH] powerpc64/idle: Fix SP offsets when saving GPRs

2021-02-04 Thread Nicholas Piggin
Excerpts from Christopher M. Riedl's message of February 4, 2021 4:59 pm: > On Sat Jan 30, 2021 at 7:44 AM CST, Nicholas Piggin wrote: >> Excerpts from Michael Ellerman's message of January 30, 2021 9:32 pm: >> > "Christopher M. Riedl" writes: >> >> The idle entry/exit code saves/restores GPRs in

Re: [PATCH] powerpc64/idle: Fix SP offsets when saving GPRs

2021-02-03 Thread Christopher M. Riedl
On Sat Jan 30, 2021 at 7:44 AM CST, Nicholas Piggin wrote: > Excerpts from Michael Ellerman's message of January 30, 2021 9:32 pm: > > "Christopher M. Riedl" writes: > >> The idle entry/exit code saves/restores GPRs in the stack "red zone" > >> (Protected Zone according to PowerPC64 ELF ABI v2). H

Re: [PATCH] powerpc64/idle: Fix SP offsets when saving GPRs

2021-01-30 Thread Nicholas Piggin
Excerpts from Michael Ellerman's message of January 30, 2021 9:32 pm: > "Christopher M. Riedl" writes: >> The idle entry/exit code saves/restores GPRs in the stack "red zone" >> (Protected Zone according to PowerPC64 ELF ABI v2). However, the offset >> used for the first GPR is incorrect and overw

Re: [PATCH] powerpc64/idle: Fix SP offsets when saving GPRs

2021-01-30 Thread Michael Ellerman
"Christopher M. Riedl" writes: > The idle entry/exit code saves/restores GPRs in the stack "red zone" > (Protected Zone according to PowerPC64 ELF ABI v2). However, the offset > used for the first GPR is incorrect and overwrites the back chain - the > Protected Zone actually starts below the curre