]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
qfw/acpi: do not zero out XSDT address
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 31 Oct 2025 19:59:29 +0000 (20:59 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 6 Nov 2025 22:26:27 +0000 (23:26 +0100)
On RISC-V QEMU provides an XSDT table. The RSDP table points to it.
We must not zero out this pointer because otherwise no ACPI table can be
found.

Fixes: 15ca25e31ed5 ("x86: emulation: Support BLOBLIST_TABLES properly")
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
drivers/misc/qfw_acpi.c

index c6c052ac6c302ecbfa235cff27769df36f00ec54..721f42ecbc3704ec22310af65c9365b83484975a 100644 (file)
@@ -265,7 +265,6 @@ out:
        struct acpi_rsdp *rsdp = ctx->rsdp;
 
        rsdp->length = sizeof(*rsdp);
-       rsdp->xsdt_address = 0;
        rsdp->ext_checksum = table_compute_checksum((u8 *)rsdp, sizeof(*rsdp));
 
        gd_set_acpi_start(acpi_get_rsdp_addr());