Created attachment 306450 [details] fix address check bug for MMUless devices. commit-id: 169f9102f9198b04afffa6164372a4ba4070f412 introduced copy_from_kernel_nofault_allowed() to check valid address. However, for devices without MMU, addr > TASK_SIZE will fail. I'm using stm32, not sure for others. attached patch fixed this bug for me.
Also sent a patch to the linux-arm-kernel maillist. "[PATCH] ARM: Remove address checking for MMUless devices". Wish this will help the process.
(In reply to Yanjun Yang from comment #1) > Also sent a patch to the linux-arm-kernel maillist. "[PATCH] ARM: Remove > address checking for MMUless devices". Wish this will help the process. But I forget to CC anyone...
My patch will be merged in v6.11-rc1.