Re: [PATCH v5 3/9] powerpc: Prepare for moving thread_info into task_struct

2018-10-07 Thread Christophe Leroy
On 10/06/2018 12:40 PM, Michael Ellerman wrote: Christophe Leroy writes: diff --git a/arch/powerpc/include/asm/livepatch.h b/arch/powerpc/include/asm/livepatch.h index 47a03b9b528b..818451bf629c 100644 --- a/arch/powerpc/include/asm/livepatch.h +++ b/arch/powerpc/include/asm/livepatch.h

Re: [PATCH v5 3/9] powerpc: Prepare for moving thread_info into task_struct

2018-10-06 Thread Michael Ellerman
Christophe Leroy writes: > diff --git a/arch/powerpc/include/asm/livepatch.h > b/arch/powerpc/include/asm/livepatch.h > index 47a03b9b528b..818451bf629c 100644 > --- a/arch/powerpc/include/asm/livepatch.h > +++ b/arch/powerpc/include/asm/livepatch.h > @@ -49,7 +49,7 @@ static inline void

[PATCH v5 3/9] powerpc: Prepare for moving thread_info into task_struct

2018-10-05 Thread Christophe Leroy
This patch cleans the powerpc kernel before activating CONFIG_THREAD_INFO_IN_TASK: - The purpose of the pointer given to call_do_softirq() and call_do_irq() is to point the new stack ==> change it to void* and rename it 'sp' - Don't use CURRENT_THREAD_INFO() to locate the stack. - Fix a few