Re: [PATCH] kernel: resourse: Add conditional handling for ACPI device

Andy Shevchenko
2025-10-20T10:01:34Z

On Mon, Oct 20, 2025 at 04:46:04PM +0800, kernel test robot wrote:
>
> kernel test robot noticed "BUG:sleeping_function_called_from_invalid_context_at_include/linux/sched/mm.h" on:
>
> commit: 871e73eea694be4705a5e3ebc9119e6c76c7b246 ("[PATCH] kernel: resourse: Add conditional handling for ACPI device")
> url: https://github.com/intel-lab-lkp/linux/commits/Szuying-Chen/kernel-resourse-Add-conditional-handling-for-ACPI-device/20251017-103749
> base: https://git.kernel.org/cgit/linux/kernel/git/akpm/mm.git mm-everything
> patch link: https://lore.kernel.org/all/20251017023531.5616-1-Chloe_Chen@asmedia.com.tw/
> patch subject: [PATCH] kernel: resourse: Add conditional handling for ACPI device
>
> in testcase: boot
>
> config: i386-randconfig-141-20251019
> compiler: gcc-14
> test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G

> +-------------------------------------------------------------------------------+------------+------------+
> | | 4d30e94233 | 871e73eea6 |
> +-------------------------------------------------------------------------------+------------+------------+
> | BUG:sleeping_function_called_from_invalid_context_at_include/linux/sched/mm.h | 0 | 12 |
> +-------------------------------------------------------------------------------+------------+------------+

Thanks, absolutely NAK to the patch based on this report and my previous comment.

--
With Best Regards,
Andy Shevchenko