summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2025-10-31 20:59:29 +0100
committerHeinrich Schuchardt <[email protected]>2025-11-06 23:26:27 +0100
commit33355013ffce4fe58d552db3dd546ecf197a7a9b (patch)
treea9676802cb8de2082b9cb8cfeb1e6ffd36fe7e68
parent74545d49c7d1558473118fab0f74de3c5976ee9b (diff)
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 <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>
-rw-r--r--drivers/misc/qfw_acpi.c1
1 files changed, 0 insertions, 1 deletions
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());