lkml.org 
[lkml]   [2020]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] powerpc: Fix lazy preemption for powerpc 32bit
On 2020-03-18 21:26:40 [+0100], Thomas Graziadei wrote:
> From: Thomas Graziadei <thomas.graziadei@omicronenergy.com>
>
> 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?

> Signed-off-by: Thomas Graziadei <thomas.graziadei@omicronenergy.com>

Sebastian

\
 
 \ /
  Last update: 2020-03-19 15:25    [W:0.047 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site