[PATCH 4.9] staging: android: ion: fix page is NULL

2021-09-23 Thread Cheng Chao
octl+0xa8/0x9b4) [] (do_vfs_ioctl) from [] (SyS_ioctl+0x6c/0x7c) [] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x48) Code: e3a02004 e1a02312 e2423001 e1c3 (ee070f3a) ---[ end trace 89278304932c0e87 ]--- Kernel panic - not syncing: Fatal exception Signed-off-by: Cheng Chao --- drivers/stag

[PATCH 4.9] staging: android: ion: fix page is NULL

2021-09-23 Thread Cheng Chao
octl+0xa8/0x9b4) [] (do_vfs_ioctl) from [] (SyS_ioctl+0x6c/0x7c) [] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x48) Code: e3a02004 e1a02312 e2423001 e1c3 (ee070f3a) ---[ end trace 89278304932c0e87 ]--- Kernel panic - not syncing: Fatal exception Signed-off-by: Cheng Chao --- drivers/stag

Re: [PATCH] [PATCH 4.9] staging: android: ion: fix page is NULL

2021-09-22 Thread Cheng Chao
I notice that v4.9.283 has released, but this patch is not merged. It's exactly a bug. On Sat, Sep 11, 2021 at 10:40 PM Cheng Chao wrote: > > the bug has been introduced by the patch: > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/st

Re: [PATCH] [PATCH 4.9] staging: android: ion: fix page is NULL

2021-09-11 Thread Cheng Chao
the bug has been introduced by the patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/staging/android/ion/ion_system_heap.c?h=v4.9.282&id=e7f63771b60e7802c5a9b437c5ab1a8e33a0bb35 On Sat, Sep 11, 2021 at 10:20 PM Cheng Chao wrote: > > for longter

Re: [PATCH] [PATCH 4.9] staging: android: ion: fix page is NULL

2021-09-11 Thread Cheng Chao
_system_heap *heap, struct ion_buffer *buffer, unsigned long order) { struct ion_page_pool *pool = heap->pools[order_to_index(order)]; return ion_page_pool_alloc(pool); } On Sat, Sep 11, 2021 at 7:54 PM Greg KH wrote: > > On Sat, Sep 11, 2021 at 07:21:15PM +0800, Cheng Chao wrot

[PATCH] [PATCH 4.9] staging: android: ion: fix page is NULL

2021-09-11 Thread Cheng Chao
) [] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x48) Code: e3a02004 e1a02312 e2423001 e1c3 (ee070f3a) ---[ end trace 89278304932c0e87 ]--- Kernel panic - not syncing: Fatal exception Signed-off-by: Cheng Chao --- drivers/staging/android/ion/ion_system_heap.c | 2 +- 1 file changed, 1 insertion(+), 1