]> Gentwo Git Trees - linux/.git/commit
riscv: acpi: avoid errors caused by probing DT devices when ACPI is used
authorHan Gao <rabenda.cn@gmail.com>
Wed, 10 Sep 2025 11:24:01 +0000 (19:24 +0800)
committerPaul Walmsley <pjw@kernel.org>
Fri, 10 Oct 2025 01:36:45 +0000 (19:36 -0600)
commit69a8b62a7aa1e54ff7623064f6507fa29c1d0d4e
tree88c2d3fac1e83a754b5776070100dce00435a8ed
parent9e68bd803fac49274fde914466fd3b07c4d602c8
riscv: acpi: avoid errors caused by probing DT devices when ACPI is used

Similar to the ARM64 commit 3505f30fb6a9s ("ARM64 / ACPI: If we chose
to boot from acpi then disable FDT"), let's not do DT hardware probing
if ACPI is enabled in early boot.  This avoids errors caused by
repeated driver probing.

Signed-off-by: Han Gao <rabenda.cn@gmail.com>
Link: https://lore.kernel.org/r/20250910112401.552987-1-rabenda.cn@gmail.com
[pjw@kernel.org: cleaned up patch description and subject]
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/kernel/setup.c