[Bug report] BUG: Kernel NULL pointer dereference at 0x00000069, filemap_release_folio+0x88/0xb0

2022-09-27 Thread Zorro Lang
Hi mm and ppc list, Recently I started to hit a kernel panic [2] rarely on *ppc64le* with *1k blocksize* ext4. It's not easy to reproduce, but still has chance to trigger by loop running generic/048 on ppc64le (not sure all kind of ppc64le can reproduce it). Although I've reported a bug to ext4 [

Re: [PATCH] powerpc/fault: fix wrong KUAP fault for IO_URING

2021-02-04 Thread Zorro Lang
writes: > > > > > > > > > > > > > > > Nicholas Piggin writes: > > > > > > > > > > > > > > > > > Excerpts from Michael Ellerman's message of January 30, 2021 > > > > > > &

Re: [PATCH] powerpc/kuap: Allow kernel thread to access userspace after kthread_use_mm

2021-02-05 Thread Zorro Lang
ic and we inherit the address space and not thread > access restrictions. Because of this ignore AMR value when accessing > userspace via kernel thread. > > Cc: Zorro Lang > Cc: Jens Axboe > Cc: Christophe Leroy > Cc: Nicholas Piggin > Signed-off-by: Aneesh Kumar K.V &

Re: [PATCH] powerpc/kuap: Allow kernel thread to access userspace after kthread_use_mm

2021-02-05 Thread Zorro Lang
On Fri, Feb 05, 2021 at 07:19:36PM +0530, Aneesh Kumar K.V wrote: > Zorro Lang writes: > > > > > ... > > [ 530.180466] run fstests generic/617 at 2021-02-05 03:41:10 > > [ 530.707969] [ cut here ] > > [ 530.708006] kernel BUG a

[PATCH] powerpc/fault: fix wrong KUAP fault for IO_URING

2021-01-27 Thread Zorro Lang
0x7f4 [ 556.474590] softirqs last disabled at (437): [] irq_exit+0x2ec/0x320 [ 556.474615] ---[ end trace 4c1967c400992302 ]--- Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=211151 Suggested-by: Jens Axboe Signed-off-by: Zorro Lang --- Hi, Thanks to Jens reviewed this bug report from io_u

Re: [PATCH] powerpc/fault: fix wrong KUAP fault for IO_URING

2021-01-27 Thread Zorro Lang
On Thu, Jan 28, 2021 at 10:18:07AM +1000, Nicholas Piggin wrote: > Excerpts from Jens Axboe's message of January 28, 2021 5:29 am: > > On 1/27/21 9:38 AM, Christophe Leroy wrote: > >> > >> > >> Le 27/01/2021 à 15:56, Zorro Lang a écrit : > >>&

Re: [PATCH] powerpc/fault: fix wrong KUAP fault for IO_URING

2021-01-28 Thread Zorro Lang
On Wed, Jan 27, 2021 at 08:06:37PM -0700, Jens Axboe wrote: > On 1/27/21 8:13 PM, Zorro Lang wrote: > > On Thu, Jan 28, 2021 at 10:18:07AM +1000, Nicholas Piggin wrote: > >> Excerpts from Jens Axboe's message of January 28, 2021 5:29 am: > >>> On 1/27

Re: [PATCH] powerpc/fault: fix wrong KUAP fault for IO_URING

2021-01-28 Thread Zorro Lang
On Thu, Jan 28, 2021 at 03:44:21PM +0100, Christophe Leroy wrote: > > > Le 28/01/2021 à 15:42, Jens Axboe a écrit : > > On 1/28/21 6:52 AM, Zorro Lang wrote: > > > On Wed, Jan 27, 2021 at 08:06:37PM -0700, Jens Axboe wrote: > > > > On 1/27/21 8:13 PM, Zorro

Re: [PATCH] powerpc/fault: fix wrong KUAP fault for IO_URING

2021-01-28 Thread Zorro Lang
On Thu, Jan 28, 2021 at 03:44:21PM +0100, Christophe Leroy wrote: > > > Le 28/01/2021 à 15:42, Jens Axboe a écrit : > > On 1/28/21 6:52 AM, Zorro Lang wrote: > > > On Wed, Jan 27, 2021 at 08:06:37PM -0700, Jens Axboe wrote: > > > > On 1/27/21 8:13 PM, Zorro

[bug report from fstests] WARNING: CPU: 1 PID: 0 at arch/powerpc/mm/mmu_context.c:106 switch_mm_irqs_off+0x220/0x270

2024-11-11 Thread Zorro Lang
Hi, Recently fstests generic/650 hit a kernel warning on ppc64le [1] with xfs (default mkfs option). My latest test on mainline linux v6.12-rc6+ with HEAD=da4373fbcf006deda90e5e6a87c499e0ff747572 . Thanks, Zorro [1] FSTYP -- xfs (debug) PLATFORM -- Linux/ppc64le rdma-cert-03-lp10 6