From 33355013ffce4fe58d552db3dd546ecf197a7a9b Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Fri, 31 Oct 2025 20:59:29 +0100 Subject: [PATCH] qfw/acpi: do not zero out XSDT address 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 Signed-off-by: Heinrich Schuchardt --- drivers/misc/qfw_acpi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/misc/qfw_acpi.c b/drivers/misc/qfw_acpi.c index c6c052ac6c3..721f42ecbc3 100644 --- a/drivers/misc/qfw_acpi.c +++ b/drivers/misc/qfw_acpi.c @@ -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()); -- 2.47.3