RE: [PATCH] powerpc: Fix lazy preemption for powerpc 32bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Sebastian Andrzej Siewior [mailto:bigeasy@xxxxxxxxxxxxx] 
> On 2020-03-18 21:26:40 [+0100], Thomas Graziadei wrote:
>> From: Thomas Graziadei <thomas.graziadei@xxxxxxxxxxxxxxxxx>
>> 
>> The 32bit powerpc assembler implementation of the lazy preemption set 
>> the _TIF_PERSYSCALL_MASK on the low word. This could lead to modprobe 
>> segfaults and a kernel panic - not syncing: Attempt to kill init! 
>> issue.
>> 
>> Fixed by shifting the mask by 16 bit using andis and lis.
>
> bah. Thank you for catching this.
> Still e500 based powerpc I assume?

Well thanks for the great work and yes still e500 powerpc based.

>
>> Signed-off-by: Thomas Graziadei <thomas.graziadei@xxxxxxxxxxxxxxxxx>
>
> Sebastian

Thomas




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux