All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hw/acpi: specify 64-bit acpi table
@ 2020-06-16  0:36 Jason A. Donenfeld
  2020-06-16  0:59 ` no-reply
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jason A. Donenfeld @ 2020-06-16  0:36 UTC (permalink / raw)
  To: qemu-devel, kraxel; +Cc: Jason A. Donenfeld

SSDTs cannot address 64-bit physical addresses in 32-bit tables, so we
increment the revision to '2' so that these larger addresses are
addressable. This matters because the DSDT revision represents the
maximum capability of all other SSDTs. This is also what arm does.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
---
 hw/i386/acpi-build.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 900f786d08..51420d90a8 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -2073,7 +2073,7 @@ build_dsdt(GArray *table_data, BIOSLinker *linker,
     g_array_append_vals(table_data, dsdt->buf->data, dsdt->buf->len);
     build_header(linker, table_data,
         (void *)(table_data->data + table_data->len - dsdt->buf->len),
-        "DSDT", dsdt->buf->len, 1, NULL, NULL);
+        "DSDT", dsdt->buf->len, 2, NULL, NULL);
     free_aml_allocator();
 }
 
-- 
2.27.0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-22 12:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-16  0:36 [PATCH] hw/acpi: specify 64-bit acpi table Jason A. Donenfeld
2020-06-16  0:59 ` no-reply
2020-06-16  1:25 ` no-reply
2020-06-16  8:16 ` Igor Mammedov
2020-06-16 18:50   ` Jason A. Donenfeld
2020-06-16 19:20   ` Jason A. Donenfeld
2020-06-22 12:18     ` Igor Mammedov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.