Re: [PATCH 2/4] powerpc/stackprotector: work around stack-guard init from atomic

2019-05-10 Thread Steven Rostedt
On Wed, 27 Mar 2019 19:33:08 +0100 Sebastian Andrzej Siewior wrote: > This is invoked from the secondary CPU in atomic context. On x86 we use > tsc instead. On Power we XOR it against mftb() so lets use stack address > as the initial value. > > Signed-off-by: Sebastian Andrzej Siewior Hi Sebas

[PATCH 2/4] powerpc/stackprotector: work around stack-guard init from atomic

2019-03-27 Thread Sebastian Andrzej Siewior
This is invoked from the secondary CPU in atomic context. On x86 we use tsc instead. On Power we XOR it against mftb() so lets use stack address as the initial value. Signed-off-by: Sebastian Andrzej Siewior --- arch/powerpc/include/asm/stackprotector.h | 4 1 file changed, 4 insertions(+)