All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT
@ 2015-01-19 16:56 Paolo Bonzini
  2015-01-19 16:56 ` [Qemu-devel] [PATCH v3 1/3] pc: append " Paolo Bonzini
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Paolo Bonzini @ 2015-01-19 16:56 UTC (permalink / raw)
  To: qemu-devel; +Cc: imammedo, mst

See v2 for motivation.

v2->v3: dropped pointer passing and patch 4.

Paolo Bonzini (3):
  pc: append ssdt-misc.dsl to the DSDT
  pc: rename ssdt-misc to dsdt-common
  pc: move common parts of the DSDT to dsdt-common

 hw/i386/Makefile.objs                           |    2 +-
 hw/i386/acpi-build.c                            |   85 +-
 hw/i386/{ssdt-misc.dsl => acpi-dsdt-common.dsl} |   22 +-
 hw/i386/acpi-dsdt-common.hex.generated          | 1897 ++++++++++++++
 hw/i386/acpi-dsdt-isa.dsl                       |    6 +-
 hw/i386/acpi-dsdt.dsl                           |   12 +-
 hw/i386/acpi-dsdt.hex.generated                 | 3119 ++++++-----------------
 hw/i386/q35-acpi-dsdt.dsl                       |    9 +-
 hw/i386/q35-acpi-dsdt.hex.generated             | 2787 +++++---------------
 hw/i386/ssdt-misc.hex.generated                 |  399 ---
 tests/acpi-test-data/pc/DSDT                    |  Bin 3592 -> 3923 bytes
 tests/acpi-test-data/pc/SSDT                    |  Bin 2279 -> 1951 bytes
 tests/acpi-test-data/q35/DSDT                   |  Bin 8182 -> 8513 bytes
 tests/acpi-test-data/q35/SSDT                   |  Bin 560 -> 232 bytes
 14 files changed, 3430 insertions(+), 4908 deletions(-)
 rename hw/i386/{ssdt-misc.dsl => acpi-dsdt-common.dsl} (89%)
 create mode 100644 hw/i386/acpi-dsdt-common.hex.generated
 delete mode 100644 hw/i386/ssdt-misc.hex.generated

-- 
1.8.3.1

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

* [Qemu-devel] [PATCH v3 1/3] pc: append ssdt-misc.dsl to the DSDT
  2015-01-19 16:56 [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT Paolo Bonzini
@ 2015-01-19 16:56 ` Paolo Bonzini
  2015-01-19 16:56 ` [Qemu-devel] [PATCH v3 2/3] pc: rename ssdt-misc to dsdt-common Paolo Bonzini
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Paolo Bonzini @ 2015-01-19 16:56 UTC (permalink / raw)
  To: qemu-devel; +Cc: imammedo, mst

This part of the ACPI tables can vary in size across machine types, but
does not depend on the command-line.  It is an SSDT just because it is
the same for i440fx and Q35, and making it an SSDT made the code a bit
simpler.  However, it also complicates backwards compatibility, so
merge it with the DSDT.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 hw/i386/acpi-build.c          |  54 +++++++++++++++++++++++++++---------------
 tests/acpi-test-data/pc/DSDT  | Bin 3592 -> 3920 bytes
 tests/acpi-test-data/pc/SSDT  | Bin 2279 -> 1951 bytes
 tests/acpi-test-data/q35/DSDT | Bin 8182 -> 8510 bytes
 tests/acpi-test-data/q35/SSDT | Bin 560 -> 232 bytes
 5 files changed, 35 insertions(+), 19 deletions(-)

diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 6a2e9c5..c8eac00 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -1064,26 +1064,18 @@ static void patch_pci_windows(PcPciInfo *pci, uint8_t *start, unsigned size)
     }
 }
 
+#define SSDT_MISC_SIZE (sizeof(ssdt_misc_aml) - sizeof(AcpiTableHeader))
+
 static void
-build_ssdt(GArray *table_data, GArray *linker,
-           AcpiCpuInfo *cpu, AcpiPmInfo *pm, AcpiMiscInfo *misc,
-           PcPciInfo *pci, PcGuestInfo *guest_info)
+push_ssdt_misc(GArray *table_data, AcpiPmInfo *pm, AcpiMiscInfo *misc,
+               PcPciInfo *pci)
 {
     MachineState *machine = MACHINE(qdev_get_machine());
     uint32_t nr_mem = machine->ram_slots;
-    unsigned acpi_cpus = guest_info->apic_id_limit;
-    int ssdt_start = table_data->len;
     uint8_t *ssdt_ptr;
-    int i;
-
-    /* The current AML generator can cover the APIC ID range [0..255],
-     * inclusive, for VCPU hotplug. */
-    QEMU_BUILD_BUG_ON(ACPI_CPU_HOTPLUG_ID_LIMIT > 256);
-    g_assert(acpi_cpus <= ACPI_CPU_HOTPLUG_ID_LIMIT);
 
     /* Copy header and patch values in the S3_ / S4_ / S5_ packages */
-    ssdt_ptr = acpi_data_push(table_data, sizeof(ssdp_misc_aml));
-    memcpy(ssdt_ptr, ssdp_misc_aml, sizeof(ssdp_misc_aml));
+    ssdt_ptr = g_memdup(ssdp_misc_aml, sizeof(ssdp_misc_aml));
     if (pm->s3_disabled) {
         ssdt_ptr[acpi_s3_name[0]] = 'X';
     }
@@ -1102,6 +1094,27 @@ build_ssdt(GArray *table_data, GArray *linker,
     ACPI_BUILD_SET_LE(ssdt_ptr, sizeof(ssdp_misc_aml),
                       ssdt_mctrl_nr_slots[0], 32, nr_mem);
 
+    g_array_append_vals(table_data, ssdt_ptr + sizeof(AcpiTableHeader), SSDT_MISC_SIZE);
+    g_free(ssdt_ptr);
+}
+
+static void
+build_ssdt(GArray *table_data, GArray *linker,
+           AcpiCpuInfo *cpu, AcpiPmInfo *pm, PcGuestInfo *guest_info)
+{
+    MachineState *machine = MACHINE(qdev_get_machine());
+    uint32_t nr_mem = machine->ram_slots;
+    unsigned acpi_cpus = guest_info->apic_id_limit;
+    int ssdt_start = table_data->len;
+    int i;
+
+    acpi_data_push(table_data, sizeof(AcpiTableHeader));
+
+    /* The current AML generator can cover the APIC ID range [0..255],
+     * inclusive, for VCPU hotplug. */
+    QEMU_BUILD_BUG_ON(ACPI_CPU_HOTPLUG_ID_LIMIT > 256);
+    g_assert(acpi_cpus <= ACPI_CPU_HOTPLUG_ID_LIMIT);
+
     {
         GArray *sb_scope = build_alloc_array();
         uint8_t op = 0x10; /* ScopeOp */
@@ -1426,18 +1439,22 @@ build_dmar_q35(GArray *table_data, GArray *linker)
 }
 
 static void
-build_dsdt(GArray *table_data, GArray *linker, AcpiMiscInfo *misc)
+build_dsdt(GArray *table_data, GArray *linker, AcpiPmInfo *pm,
+           AcpiMiscInfo *misc, PcPciInfo *pci)
 {
     AcpiTableHeader *dsdt;
+    size_t dsdt_start = table_data->len;
 
     assert(misc->dsdt_code && misc->dsdt_size);
 
     dsdt = acpi_data_push(table_data, misc->dsdt_size);
     memcpy(dsdt, misc->dsdt_code, misc->dsdt_size);
 
+    push_ssdt_misc(table_data, pm, misc, pci);
+
     memset(dsdt, 0, sizeof *dsdt);
-    build_header(linker, table_data, dsdt, "DSDT",
-                 misc->dsdt_size, 1);
+    build_header(linker, table_data, (void *)(table_data->data + dsdt_start),
+                 "DSDT", table_data->len - dsdt_start, 1);
 }
 
 /* Build final rsdt table */
@@ -1594,7 +1611,7 @@ void acpi_build(PcGuestInfo *guest_info, AcpiBuildTables *tables)
 
     /* DSDT is pointed to by FADT */
     dsdt = tables->table_data->len;
-    build_dsdt(tables->table_data, tables->linker, &misc);
+    build_dsdt(tables->table_data, tables->linker, &pm, &misc, &pci);
 
     /* Count the size of the DSDT and SSDT, we will need it for legacy
      * sizing of ACPI tables.
@@ -1607,8 +1624,7 @@ void acpi_build(PcGuestInfo *guest_info, AcpiBuildTables *tables)
 
     ssdt = tables->table_data->len;
     acpi_add_table(table_offsets, tables->table_data);
-    build_ssdt(tables->table_data, tables->linker, &cpu, &pm, &misc, &pci,
-               guest_info);
+    build_ssdt(tables->table_data, tables->linker, &cpu, &pm, guest_info);
     aml_len += tables->table_data->len - ssdt;
 
     acpi_add_table(table_offsets, tables->table_data);
diff --git a/tests/acpi-test-data/pc/DSDT b/tests/acpi-test-data/pc/DSDT
index ee9cc6781cea3a9515b9a176eea3459f8e4d8655..9bcc9ba9540f768afeba95231229e093b538d020 100644
GIT binary patch
delta 350
zcmZ9Iy-ve06os!tsH~fW{wM<jVrL=|uu~eV7&WPhO+iYfn~||AQ-KMIk(B|YyZ}$o
zSKx_S?34xWbk6y%j<5W3@O_Ax&W!2;u=g)qN6X%1cMe=7nnD2JRtX9>o7I}DbVg`V
zs;M6!x3nD_i2uRlZ;)q2>Dr)oWV=b9(4gZpX6s3x(t!Kuq1U>zr9<uNc{o4bA$>t=
zBonEJR6XaY#LRHIlv#8w@|z?{QhSilCIF}&m6(>yIaWOdzeX7z?~^t|SU6IDblz%c
z;L~rg8}F5wG7czHH+3A|mg>r|#k~tSjY{2*5XbgT`#bCbUR{KqoaV(=`c~fAdRfSA
Ky+iFg4*UTB4N6r2

delta 19
acmca0*CE5@66_Mf!N<VBn6i=UA1?qiYXuDe

diff --git a/tests/acpi-test-data/pc/SSDT b/tests/acpi-test-data/pc/SSDT
index 558e4c85b031ec081045aec6cc382a680e9c6009..0dd46c68d186f6cb1fb7ee5ad935945fed4f31e8 100644
GIT binary patch
delta 23
ecmaDZIG>*@IM^j*K05;g<F$!g(wlP`tJncn1_s0c

delta 352
zcmZ9Iu};G<5Qfho6w66lQe{A5Wnm%_uu~cfEH$l(O+iYf%gERjF%(!kAszsb@&Y^o
zkJGoHoD&xC^#A{N`tRho{yGxIWOmH~SnoybFUQ++;5soF0sto^G2CpvzPV0kC<vtn
zqd?Gn`zVnAgYn-W&nAUygWW^wMstjVj?Wm?qdCC=_k}0C#+~AlP&0ZK&X2axoTDD8
zM42I$&$-ZYW;tG}ta~N%>m*51I!GED0F;kfP7CH7E1!a2qb-m3(AXg?9I4(ruNBnr
z;n$)c_litg2ehr~Dh_W7Z53PGxq#!SFi}^C3%Zm3hTX%;MZ#0le9}sv<So^!iE8T|
MYW6trdGN6F1Ki?DumAu6

diff --git a/tests/acpi-test-data/q35/DSDT b/tests/acpi-test-data/q35/DSDT
index ef0c75f4236de3e6f727e21991533f2bf8279dee..c30ec0462acee10c55e1035ba0e6798a0739dc35 100644
GIT binary patch
delta 350
zcmZ9Iu};G<5QfhXD$7ZstunA7MkW#gE6_F;7&WP}O+iYf%gET30Toyoc>$2}0=xk5
zK+KGkbIJlY{r~@+exLkx^fnNg&D`NO0K0t^pIh_JXl)8yCl(_B_#h=QS}fkbxlSi2
z2&ERgq2NTDp+No*Mt_4mD~xZ0&JJ~>-NRlhU<|z8#~u#^2%_W;<{mYx$I*0m73~1^
zP$kOtv3$sdmJ`SERAudRnO`JHlF~uax)7ke({gN>cdWb*e~orL-bCyAF!Q8(Zaq~{
z!%I+$jd<N;+IgT|RabFzY4n+6vuhu492(ng3vohs((kYvc=VB2QRBQ=%7Ek*)vH1+
K>pg1T@!$uPnoErU

delta 19
acmdnz^v#~jCD<k8n>+&p<FAceZ{z_=+y_Mf

diff --git a/tests/acpi-test-data/q35/SSDT b/tests/acpi-test-data/q35/SSDT
index 4e45510181c4038505ae1815b76799a2cd0e8808..3700bcc31e1469d4b9aafbf34963d937200a6f15 100644
GIT binary patch
delta 22
dcmdnM@`8~oIM^lR1p@;Equ)d>>B+f_hXG9s2A2Q;

delta 351
zcmZ9Iu};G<5QfhsRF;zhtui37vM}KY*eQ(#mYUSWrXZ!#Wn}EiRA6PQ`T`*30eFLU
z;01UKo`P~tS>UGs|G(4klfT$|AgoQDYyq&(xj2{&w<o}jv={-vij=}=y<UEElZ;Ui
zN-TCm!HG6Qf%+c|{{~r_7rqVlj;I^$3HI6nW8n2E_IMyb5G8kpGeXVkc{DlRLVJN`
zpry8bET1!B)Yx&n(rM>fWj9jFgbq^Hg#hKFQKN!+$I7Sh*BHm+eYCC*Q%|bb_M(Cs
z-hx`}#ydr7oCn5Lbrnaqg>jlq?|r~=P}puqh)cSY{)Roki;qN0kFtCt1Cn=CuXDYr
M_o#WtgZbgd4{V`Jg8%>k

-- 
1.8.3.1

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

* [Qemu-devel] [PATCH v3 2/3] pc: rename ssdt-misc to dsdt-common
  2015-01-19 16:56 [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT Paolo Bonzini
  2015-01-19 16:56 ` [Qemu-devel] [PATCH v3 1/3] pc: append " Paolo Bonzini
@ 2015-01-19 16:56 ` Paolo Bonzini
  2015-01-19 16:56 ` [Qemu-devel] [PATCH v3 3/3] pc: move common parts of the DSDT " Paolo Bonzini
  2015-01-19 21:31 ` [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT Michael S. Tsirkin
  3 siblings, 0 replies; 7+ messages in thread
From: Paolo Bonzini @ 2015-01-19 16:56 UTC (permalink / raw)
  To: qemu-devel; +Cc: imammedo, mst

All the changes to generated files are in the header, so there is
no need to rebuild test data.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 hw/i386/Makefile.objs                              |  2 +-
 hw/i386/acpi-build.c                               | 33 +++++++++++-----------
 hw/i386/{ssdt-misc.dsl => acpi-dsdt-common.dsl}    |  8 +++---
 ...ex.generated => acpi-dsdt-common.hex.generated} | 30 ++++++++++----------
 hw/i386/acpi-dsdt.dsl                              |  2 +-
 5 files changed, 38 insertions(+), 37 deletions(-)
 rename hw/i386/{ssdt-misc.dsl => acpi-dsdt-common.dsl} (94%)
 rename hw/i386/{ssdt-misc.hex.generated => acpi-dsdt-common.hex.generated} (93%)

diff --git a/hw/i386/Makefile.objs b/hw/i386/Makefile.objs
index 9d419ad..fe6b846 100644
--- a/hw/i386/Makefile.objs
+++ b/hw/i386/Makefile.objs
@@ -9,7 +9,7 @@ obj-y += kvmvapic.o
 obj-y += acpi-build.o
 obj-y += bios-linker-loader.o
 hw/i386/acpi-build.o: hw/i386/acpi-build.c hw/i386/acpi-dsdt.hex \
-	hw/i386/ssdt-proc.hex hw/i386/ssdt-pcihp.hex hw/i386/ssdt-misc.hex \
+	hw/i386/ssdt-proc.hex hw/i386/ssdt-pcihp.hex hw/i386/acpi-dsdt-common.hex \
 	hw/i386/acpi-dsdt.hex hw/i386/q35-acpi-dsdt.hex \
 	hw/i386/q35-acpi-dsdt.hex hw/i386/ssdt-mem.hex \
 	hw/i386/ssdt-tpm.hex
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index c8eac00..4ed30d8 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -718,7 +718,7 @@ static inline char acpi_get_hex(uint32_t val)
 #define ACPI_SSDT_SIGNATURE 0x54445353 /* SSDT */
 #define ACPI_SSDT_HEADER_LENGTH 36
 
-#include "hw/i386/ssdt-misc.hex"
+#include "hw/i386/acpi-dsdt-common.hex"
 #include "hw/i386/ssdt-pcihp.hex"
 #include "hw/i386/ssdt-tpm.hex"
 
@@ -1064,38 +1064,39 @@ static void patch_pci_windows(PcPciInfo *pci, uint8_t *start, unsigned size)
     }
 }
 
-#define SSDT_MISC_SIZE (sizeof(ssdt_misc_aml) - sizeof(AcpiTableHeader))
+#define DSDT_COMMON_SIZE (sizeof(dsdt_common_aml) - sizeof(AcpiTableHeader))
 
 static void
-push_ssdt_misc(GArray *table_data, AcpiPmInfo *pm, AcpiMiscInfo *misc,
+push_dsdt_common(GArray *table_data, AcpiPmInfo *pm, AcpiMiscInfo *misc,
                PcPciInfo *pci)
 {
     MachineState *machine = MACHINE(qdev_get_machine());
     uint32_t nr_mem = machine->ram_slots;
-    uint8_t *ssdt_ptr;
+    uint8_t *dsdt_ptr;
 
     /* Copy header and patch values in the S3_ / S4_ / S5_ packages */
-    ssdt_ptr = g_memdup(ssdp_misc_aml, sizeof(ssdp_misc_aml));
+    dsdt_ptr = g_memdup(dsdt_common_aml, sizeof(dsdt_common_aml));
     if (pm->s3_disabled) {
-        ssdt_ptr[acpi_s3_name[0]] = 'X';
+        dsdt_ptr[acpi_s3_name[0]] = 'X';
     }
     if (pm->s4_disabled) {
-        ssdt_ptr[acpi_s4_name[0]] = 'X';
+        dsdt_ptr[acpi_s4_name[0]] = 'X';
     } else {
-        ssdt_ptr[acpi_s4_pkg[0] + 1] = ssdt_ptr[acpi_s4_pkg[0] + 3] =
+        dsdt_ptr[acpi_s4_pkg[0] + 1] = dsdt_ptr[acpi_s4_pkg[0] + 3] =
             pm->s4_val;
     }
 
-    patch_pci_windows(pci, ssdt_ptr, sizeof(ssdp_misc_aml));
+    patch_pci_windows(pci, dsdt_ptr, sizeof(dsdt_common_aml));
 
-    ACPI_BUILD_SET_LE(ssdt_ptr, sizeof(ssdp_misc_aml),
-                      ssdt_isa_pest[0], 16, misc->pvpanic_port);
+    ACPI_BUILD_SET_LE(dsdt_ptr, sizeof(dsdt_common_aml),
+                      dsdt_isa_pest[0], 16, misc->pvpanic_port);
 
-    ACPI_BUILD_SET_LE(ssdt_ptr, sizeof(ssdp_misc_aml),
-                      ssdt_mctrl_nr_slots[0], 32, nr_mem);
+    ACPI_BUILD_SET_LE(dsdt_ptr, sizeof(dsdt_common_aml),
+                      dsdt_mctrl_nr_slots[0], 32, nr_mem);
 
-    g_array_append_vals(table_data, ssdt_ptr + sizeof(AcpiTableHeader), SSDT_MISC_SIZE);
-    g_free(ssdt_ptr);
+    g_array_append_vals(table_data, dsdt_ptr + sizeof(AcpiTableHeader),
+                        DSDT_COMMON_SIZE);
+    g_free(dsdt_ptr);
 }
 
 static void
@@ -1450,7 +1451,7 @@ build_dsdt(GArray *table_data, GArray *linker, AcpiPmInfo *pm,
     dsdt = acpi_data_push(table_data, misc->dsdt_size);
     memcpy(dsdt, misc->dsdt_code, misc->dsdt_size);
 
-    push_ssdt_misc(table_data, pm, misc, pci);
+    push_dsdt_common(table_data, pm, misc, pci);
 
     memset(dsdt, 0, sizeof *dsdt);
     build_header(linker, table_data, (void *)(table_data->data + dsdt_start),
diff --git a/hw/i386/ssdt-misc.dsl b/hw/i386/acpi-dsdt-common.dsl
similarity index 94%
rename from hw/i386/ssdt-misc.dsl
rename to hw/i386/acpi-dsdt-common.dsl
index 1e3baae..f7849c0 100644
--- a/hw/i386/ssdt-misc.dsl
+++ b/hw/i386/acpi-dsdt-common.dsl
@@ -14,9 +14,9 @@
  */
 #include "hw/acpi/pc-hotplug.h"
 
-ACPI_EXTRACT_ALL_CODE ssdp_misc_aml
+ACPI_EXTRACT_ALL_CODE dsdt_common_aml
 
-DefinitionBlock ("ssdt-misc.aml", "SSDT", 0x01, "BXPC", "BXSSDTSUSP", 0x1)
+DefinitionBlock ("acpi-dsdt-common.aml", "SSDT", 0x01, "BXPC", "BXDSDTCOMM", 0x1)
 {
 
 /****************************************************************
@@ -36,7 +36,7 @@ DefinitionBlock ("ssdt-misc.aml", "SSDT", 0x01, "BXPC", "BXSSDTSUSP", 0x1)
        Name(P1E, Buffer() { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 })
        ACPI_EXTRACT_NAME_BUFFER8 acpi_pci64_length
        Name(P1L, Buffer() { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 })
-       ACPI_EXTRACT_NAME_DWORD_CONST ssdt_mctrl_nr_slots
+       ACPI_EXTRACT_NAME_DWORD_CONST dsdt_mctrl_nr_slots
        Name(MEMORY_SLOTS_NUMBER, 0x12345678)
     }
 
@@ -81,7 +81,7 @@ DefinitionBlock ("ssdt-misc.aml", "SSDT", 0x01, "BXPC", "BXSSDTSUSP", 0x1)
         Device(PEVT) {
             Name(_HID, "QEMU0001")
             /* PEST will be patched to be Zero if no such device */
-            ACPI_EXTRACT_NAME_WORD_CONST ssdt_isa_pest
+            ACPI_EXTRACT_NAME_WORD_CONST dsdt_isa_pest
             Name(PEST, 0xFFFF)
             OperationRegion(PEOR, SystemIO, PEST, 0x01)
             Field(PEOR, ByteAcc, NoLock, Preserve) {
diff --git a/hw/i386/ssdt-misc.hex.generated b/hw/i386/acpi-dsdt-common.hex.generated
similarity index 93%
rename from hw/i386/ssdt-misc.hex.generated
rename to hw/i386/acpi-dsdt-common.hex.generated
index cbcf61d..5127845 100644
--- a/hw/i386/ssdt-misc.hex.generated
+++ b/hw/i386/acpi-dsdt-common.hex.generated
@@ -4,8 +4,8 @@ static unsigned char acpi_pci64_length[] = {
 static unsigned char acpi_s4_pkg[] = {
 0x99
 };
-static unsigned char ssdt_mctrl_nr_slots[] = {
-0x7d
+static unsigned char acpi_s4_name[] = {
+0x92
 };
 static unsigned char acpi_s3_name[] = {
 0x86
@@ -16,7 +16,10 @@ static unsigned char acpi_pci32_start[] = {
 static unsigned char acpi_pci64_valid[] = {
 0x43
 };
-static unsigned char ssdp_misc_aml[] = {
+static unsigned char dsdt_isa_pest[] = {
+0xda
+};
+static unsigned char dsdt_common_aml[] = {
 0x53,
 0x53,
 0x44,
@@ -26,7 +29,7 @@ static unsigned char ssdp_misc_aml[] = {
 0x0,
 0x0,
 0x1,
-0x3,
+0x2f,
 0x42,
 0x58,
 0x50,
@@ -39,8 +42,8 @@ static unsigned char ssdp_misc_aml[] = {
 0x53,
 0x44,
 0x54,
-0x53,
-0x55,
+0x43,
+0x4f,
 0x1,
 0x0,
 0x0,
@@ -49,9 +52,9 @@ static unsigned char ssdp_misc_aml[] = {
 0x4e,
 0x54,
 0x4c,
-0x28,
-0x8,
-0x14,
+0x13,
+0x9,
+0x12,
 0x20,
 0x10,
 0x4c,
@@ -382,12 +385,6 @@ static unsigned char ssdp_misc_aml[] = {
 0x4d,
 0x58
 };
-static unsigned char ssdt_isa_pest[] = {
-0xda
-};
-static unsigned char acpi_s4_name[] = {
-0x92
-};
 static unsigned char acpi_pci64_start[] = {
 0x4d
 };
@@ -397,3 +394,6 @@ static unsigned char acpi_pci64_end[] = {
 static unsigned char acpi_pci32_end[] = {
 0x39
 };
+static unsigned char dsdt_mctrl_nr_slots[] = {
+0x7d
+};
diff --git a/hw/i386/acpi-dsdt.dsl b/hw/i386/acpi-dsdt.dsl
index a611e07..e50efeb 100644
--- a/hw/i386/acpi-dsdt.dsl
+++ b/hw/i386/acpi-dsdt.dsl
@@ -170,7 +170,7 @@ DefinitionBlock (
             Return (0x0)
         }
 
-        /* Hotplug notification method supplied by SSDT */
+        /* Hotplug notification method in acpi-dsdt-common.dsl */
         External(\_SB.PCI0.PCNT, MethodObj)
     }
 
-- 
1.8.3.1

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

* [Qemu-devel] [PATCH v3 3/3] pc: move common parts of the DSDT to dsdt-common
  2015-01-19 16:56 [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT Paolo Bonzini
  2015-01-19 16:56 ` [Qemu-devel] [PATCH v3 1/3] pc: append " Paolo Bonzini
  2015-01-19 16:56 ` [Qemu-devel] [PATCH v3 2/3] pc: rename ssdt-misc to dsdt-common Paolo Bonzini
@ 2015-01-19 16:56 ` Paolo Bonzini
  2015-01-19 21:31 ` [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT Michael S. Tsirkin
  3 siblings, 0 replies; 7+ messages in thread
From: Paolo Bonzini @ 2015-01-19 16:56 UTC (permalink / raw)
  To: qemu-devel; +Cc: imammedo, mst

There is no need anymore to #include them in multiple places, and they
are not too big so just place them in acpi-dsdt-common.dsl.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 hw/i386/acpi-build.c                   |   12 +-
 hw/i386/acpi-dsdt-common.dsl           |   14 +-
 hw/i386/acpi-dsdt-common.hex.generated | 1578 +++++++++++++++-
 hw/i386/acpi-dsdt-isa.dsl              |    6 +-
 hw/i386/acpi-dsdt.dsl                  |   10 +-
 hw/i386/acpi-dsdt.hex.generated        | 3119 +++++++++-----------------------
 hw/i386/q35-acpi-dsdt.dsl              |    9 +-
 hw/i386/q35-acpi-dsdt.hex.generated    | 2787 +++++++---------------------
 tests/acpi-test-data/pc/DSDT           |  Bin 3920 -> 3923 bytes
 tests/acpi-test-data/q35/DSDT          |  Bin 8510 -> 8513 bytes
 10 files changed, 3020 insertions(+), 4515 deletions(-)

diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 4ed30d8..920f597 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -53,6 +53,7 @@
 
 #include "hw/i386/q35-acpi-dsdt.hex"
 #include "hw/i386/acpi-dsdt.hex"
+#include "hw/i386/acpi-dsdt-common.hex"
 
 #include "qapi/qmp/qint.h"
 #include "qom/qom-qobject.h"
@@ -119,7 +120,6 @@ typedef struct AcpiBuildPciBusHotplugState {
 
 static void acpi_get_dsdt(AcpiMiscInfo *info)
 {
-    uint16_t *applesmc_sta;
     Object *piix = piix4_pm_find();
     Object *lpc = ich9_lpc_find();
     assert(!!piix != !!lpc);
@@ -127,17 +127,11 @@ static void acpi_get_dsdt(AcpiMiscInfo *info)
     if (piix) {
         info->dsdt_code = AcpiDsdtAmlCode;
         info->dsdt_size = sizeof AcpiDsdtAmlCode;
-        applesmc_sta = piix_dsdt_applesmc_sta;
     }
     if (lpc) {
         info->dsdt_code = Q35AcpiDsdtAmlCode;
         info->dsdt_size = sizeof Q35AcpiDsdtAmlCode;
-        applesmc_sta = q35_dsdt_applesmc_sta;
     }
-
-    /* Patch in appropriate value for AppleSMC _STA */
-    *(uint8_t *)(info->dsdt_code + *applesmc_sta) =
-        applesmc_find() ? 0x0b : 0x00;
 }
 
 static
@@ -718,7 +712,6 @@ static inline char acpi_get_hex(uint32_t val)
 #define ACPI_SSDT_SIGNATURE 0x54445353 /* SSDT */
 #define ACPI_SSDT_HEADER_LENGTH 36
 
-#include "hw/i386/acpi-dsdt-common.hex"
 #include "hw/i386/ssdt-pcihp.hex"
 #include "hw/i386/ssdt-tpm.hex"
 
@@ -1094,6 +1087,9 @@ push_dsdt_common(GArray *table_data, AcpiPmInfo *pm, AcpiMiscInfo *misc,
     ACPI_BUILD_SET_LE(dsdt_ptr, sizeof(dsdt_common_aml),
                       dsdt_mctrl_nr_slots[0], 32, nr_mem);
 
+    /* Patch in appropriate value for AppleSMC _STA */
+    dsdt_ptr[dsdt_applesmc_sta[0]]= applesmc_find() ? 0x0b : 0x00;
+
     g_array_append_vals(table_data, dsdt_ptr + sizeof(AcpiTableHeader),
                         DSDT_COMMON_SIZE);
     g_free(dsdt_ptr);
diff --git a/hw/i386/acpi-dsdt-common.dsl b/hw/i386/acpi-dsdt-common.dsl
index f7849c0..1929f8f 100644
--- a/hw/i386/acpi-dsdt-common.dsl
+++ b/hw/i386/acpi-dsdt-common.dsl
@@ -19,6 +19,17 @@ ACPI_EXTRACT_ALL_CODE dsdt_common_aml
 DefinitionBlock ("acpi-dsdt-common.aml", "SSDT", 0x01, "BXPC", "BXDSDTCOMM", 0x1)
 {
 
+    External(\_SB.PCI0, DeviceObj)
+    External(\_SB.PCI0.ISA, DeviceObj)
+    External(\_SB.PCI0.PCI, DeviceObj)
+
+#include "hw/acpi/pc-hotplug.h"
+#include "acpi-dsdt-dbug.dsl"
+#include "acpi-dsdt-hpet.dsl"
+#include "acpi-dsdt-isa.dsl"
+#include "acpi-dsdt-mem-hotplug.dsl"
+
+
 /****************************************************************
  * PCI memory ranges
  ****************************************************************/
@@ -74,9 +85,6 @@ DefinitionBlock ("acpi-dsdt-common.aml", "SSDT", 0x01, "BXPC", "BXDSDTCOMM", 0x1
         })
     }
 
-    External(\_SB.PCI0, DeviceObj)
-    External(\_SB.PCI0.ISA, DeviceObj)
-
     Scope(\_SB.PCI0.ISA) {
         Device(PEVT) {
             Name(_HID, "QEMU0001")
diff --git a/hw/i386/acpi-dsdt-common.hex.generated b/hw/i386/acpi-dsdt-common.hex.generated
index 5127845..00ad9c3 100644
--- a/hw/i386/acpi-dsdt-common.hex.generated
+++ b/hw/i386/acpi-dsdt-common.hex.generated
@@ -1,61 +1,1556 @@
-static unsigned char acpi_pci64_length[] = {
-0x6f
+static unsigned short acpi_pci64_length[] = {
+0x646
 };
-static unsigned char acpi_s4_pkg[] = {
-0x99
+static unsigned short acpi_s4_pkg[] = {
+0x670
 };
-static unsigned char acpi_s4_name[] = {
-0x92
+static unsigned short acpi_s4_name[] = {
+0x669
 };
-static unsigned char acpi_s3_name[] = {
-0x86
+static unsigned short acpi_s3_name[] = {
+0x65d
 };
-static unsigned char acpi_pci32_start[] = {
-0x2f
+static unsigned short acpi_pci32_start[] = {
+0x606
 };
-static unsigned char acpi_pci64_valid[] = {
-0x43
+static unsigned short acpi_pci64_valid[] = {
+0x61a
 };
-static unsigned char dsdt_isa_pest[] = {
-0xda
+static unsigned short dsdt_isa_pest[] = {
+0x6b1
 };
 static unsigned char dsdt_common_aml[] = {
 0x53,
 0x53,
 0x44,
 0x54,
+0x43,
+0x7,
+0x0,
+0x0,
+0x1,
+0x1,
+0x42,
+0x58,
+0x50,
+0x43,
+0x0,
+0x0,
+0x42,
+0x58,
+0x53,
+0x53,
+0x44,
+0x54,
+0x43,
+0x4f,
+0x1,
+0x0,
+0x0,
+0x0,
+0x49,
+0x4e,
+0x54,
+0x4c,
+0x13,
+0x9,
+0x12,
+0x20,
+0x10,
+0x49,
+0x4,
+0x5c,
+0x0,
+0x5b,
+0x80,
+0x44,
+0x42,
+0x47,
+0x5f,
+0x1,
+0xb,
+0x2,
+0x4,
+0x1,
+0x5b,
+0x81,
+0xb,
+0x44,
+0x42,
+0x47,
+0x5f,
+0x1,
+0x44,
+0x42,
+0x47,
+0x42,
+0x8,
+0x14,
+0x2c,
+0x44,
+0x42,
+0x55,
+0x47,
+0x1,
+0x98,
+0x68,
+0x60,
+0x96,
+0x60,
+0x60,
+0x74,
+0x87,
+0x60,
+0x1,
+0x61,
+0x70,
+0x0,
+0x62,
+0xa2,
+0x10,
+0x95,
+0x62,
+0x61,
+0x70,
+0x83,
+0x88,
+0x60,
+0x62,
+0x0,
+0x44,
+0x42,
+0x47,
+0x42,
+0x75,
+0x62,
+0x70,
+0xa,
+0xa,
+0x44,
+0x42,
+0x47,
+0x42,
+0x10,
+0x4e,
+0x8,
+0x5c,
+0x5f,
+0x53,
+0x42,
+0x5f,
+0x5b,
+0x82,
+0x45,
+0x8,
+0x48,
+0x50,
+0x45,
+0x54,
+0x8,
+0x5f,
+0x48,
+0x49,
+0x44,
+0xc,
+0x41,
+0xd0,
+0x1,
+0x3,
+0x8,
+0x5f,
+0x55,
+0x49,
+0x44,
+0x0,
+0x5b,
+0x80,
+0x48,
+0x50,
+0x54,
+0x4d,
+0x0,
+0xc,
+0x0,
+0x0,
+0xd0,
+0xfe,
+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+0x4d,
+0x1,
+0x5b,
+0x23,
+0x4d,
+0x4c,
 0x43,
+0x4b,
+0xff,
+0xff,
+0x70,
+0x99,
+0x68,
 0x0,
-0x0,
-0x42,
-0x58,
+0x4d,
 0x53,
+0x45,
+0x4c,
+0x70,
+0x4d,
+0x50,
+0x58,
+0x5f,
+0x60,
+0x5b,
+0x27,
+0x4d,
+0x4c,
+0x43,
+0x4b,
+0xa4,
+0x60,
+0x14,
+0x28,
+0x4d,
+0x4f,
 0x53,
-0x44,
 0x54,
+0x4,
+0x5b,
+0x23,
+0x4d,
+0x4c,
 0x43,
-0x4f,
-0x1,
-0x0,
-0x0,
+0x4b,
+0xff,
+0xff,
+0x70,
+0x99,
+0x68,
 0x0,
-0x49,
-0x4e,
-0x54,
+0x4d,
+0x53,
+0x45,
 0x4c,
-0x13,
-0x9,
-0x12,
-0x20,
+0x70,
+0x69,
+0x4d,
+0x4f,
+0x45,
+0x56,
+0x70,
+0x6a,
+0x4d,
+0x4f,
+0x53,
+0x43,
+0x5b,
+0x27,
+0x4d,
+0x4c,
+0x43,
+0x4b,
 0x10,
 0x4c,
 0x5,
@@ -385,15 +1880,18 @@ static unsigned char dsdt_common_aml[] = {
 0x4d,
 0x58
 };
-static unsigned char acpi_pci64_start[] = {
-0x4d
+static unsigned short acpi_pci64_start[] = {
+0x624
+};
+static unsigned short acpi_pci64_end[] = {
+0x635
 };
-static unsigned char acpi_pci64_end[] = {
-0x5e
+static unsigned short acpi_pci32_end[] = {
+0x610
 };
-static unsigned char acpi_pci32_end[] = {
-0x39
+static unsigned short dsdt_applesmc_sta[] = {
+0x126
 };
-static unsigned char dsdt_mctrl_nr_slots[] = {
-0x7d
+static unsigned short dsdt_mctrl_nr_slots[] = {
+0x654
 };
diff --git a/hw/i386/acpi-dsdt-isa.dsl b/hw/i386/acpi-dsdt-isa.dsl
index deb37de..a8851b0 100644
--- a/hw/i386/acpi-dsdt-isa.dsl
+++ b/hw/i386/acpi-dsdt-isa.dsl
@@ -19,7 +19,7 @@ Scope(\_SB.PCI0.ISA) {
     Device (SMC) {
         Name(_HID, EisaId("APP0001"))
         /* _STA will be patched to 0x0B if AppleSMC is present */
-        ACPI_EXTRACT_NAME_BYTE_CONST DSDT_APPLESMC_STA
+        ACPI_EXTRACT_NAME_BYTE_CONST dsdt_applesmc_sta
         Name(_STA, 0xF0)
         Name(_CRS, ResourceTemplate () {
             IO (Decode16, 0x0300, 0x0300, 0x01, 0x20)
@@ -58,6 +58,7 @@ Scope(\_SB.PCI0.ISA) {
         })
     }
 
+    External(FDEN)
     Device(FDC0) {
         Name(_HID, EisaId("PNP0700"))
         Method(_STA, 0, NotSerialized) {
@@ -76,6 +77,7 @@ Scope(\_SB.PCI0.ISA) {
         })
     }
 
+    External(LPEN)
     Device(LPT) {
         Name(_HID, EisaId("PNP0400"))
         Method(_STA, 0, NotSerialized) {
@@ -92,6 +94,7 @@ Scope(\_SB.PCI0.ISA) {
         })
     }
 
+    External(CAEN)
     Device(COM1) {
         Name(_HID, EisaId("PNP0501"))
         Name(_UID, 0x01)
@@ -109,6 +112,7 @@ Scope(\_SB.PCI0.ISA) {
         })
     }
 
+    External(CBEN)
     Device(COM2) {
         Name(_HID, EisaId("PNP0501"))
         Name(_UID, 0x02)
diff --git a/hw/i386/acpi-dsdt.dsl b/hw/i386/acpi-dsdt.dsl
index e50efeb..71d1e3f 100644
--- a/hw/i386/acpi-dsdt.dsl
+++ b/hw/i386/acpi-dsdt.dsl
@@ -29,9 +29,6 @@ DefinitionBlock (
     )
 {
 
-#include "acpi-dsdt-dbug.dsl"
-
-
 /****************************************************************
  * PCI Bus definition
  ****************************************************************/
@@ -86,7 +83,6 @@ DefinitionBlock (
     }
 
 #include "acpi-dsdt-pci-crs.dsl"
-#include "acpi-dsdt-hpet.dsl"
 
 
 /****************************************************************
@@ -130,9 +126,6 @@ DefinitionBlock (
         }
     }
 
-#define DSDT_APPLESMC_STA piix_dsdt_applesmc_sta
-#include "acpi-dsdt-isa.dsl"
-
 
 /****************************************************************
  * PCI hotplug
@@ -297,7 +290,6 @@ DefinitionBlock (
 #include "hw/acpi/pc-hotplug.h"
 #define CPU_STATUS_BASE PIIX4_CPU_HOTPLUG_IO_BASE
 #include "acpi-dsdt-cpu-hotplug.dsl"
-#include "acpi-dsdt-mem-hotplug.dsl"
 
 
 /****************************************************************
@@ -318,6 +310,8 @@ DefinitionBlock (
             // CPU hotplug event
             \_SB.PRSC()
         }
+        External(\_SB.PCI0.MEMORY_HOTPLUG_DEVICE, DeviceObj)
+        External(\_SB.PCI0.MEMORY_HOTPLUG_DEVICE.MEMORY_SLOT_SCAN_METHOD, MethodObj)
         Method(_E03) {
             // Memory hotplug event
             \_SB.PCI0.MEMORY_HOTPLUG_DEVICE.MEMORY_SLOT_SCAN_METHOD()
diff --git a/hw/i386/acpi-dsdt.hex.generated b/hw/i386/acpi-dsdt.hex.generated
index 875570e..5c3500a 100644
--- a/hw/i386/acpi-dsdt.hex.generated
+++ b/hw/i386/acpi-dsdt.hex.generated
@@ -3,12 +3,12 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0x53,
 0x44,
 0x54,
+0x34,
 0x8,
-0xe,
 0x0,
 0x0,
 0x1,
-0xfc,
+0x26,
 0x42,
 0x58,
 0x50,
@@ -31,85 +31,11 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0x4e,
 0x54,
 0x4c,
-0x28,
-0x8,
-0x14,
+0x13,
+0x9,
+0x12,
 0x20,
 0x10,
-0x49,
-0x4,
-0x5c,
-0x0,
-0x5b,
-0x80,
-0x44,
-0x42,
-0x47,
-0x5f,
-0x1,
-0xb,
-0x2,
-0x4,
-0x1,
-0x5b,
-0x81,
-0xb,
-0x44,
-0x42,
-0x47,
-0x5f,
-0x1,
-0x44,
-0x42,
-0x47,
-0x42,
-0x8,
-0x14,
-0x2c,
-0x44,
-0x42,
-0x55,
-0x47,
-0x1,
-0x98,
-0x68,
-0x60,
-0x96,
-0x60,
-0x60,
-0x74,
-0x87,
-0x60,
-0x1,
-0x61,
-0x70,
-0x0,
-0x62,
-0xa2,
-0x10,
-0x95,
-0x62,
-0x61,
-0x70,
-0x83,
-0x88,
-0x60,
-0x62,
-0x0,
-0x44,
-0x42,
-0x47,
-0x42,
-0x75,
-0x62,
-0x70,
-0xa,
-0xa,
-0x44,
-0x42,
-0x47,
-0x42,
-0x10,
 0x22,
 0x5f,
 0x53,
@@ -544,148 +470,6 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0xa4,
 0x60,
 0x10,
-0x4d,
-0x8,
-0x5f,
-0x53,
-0x42,
-0x5f,
-0x5b,
-0x82,
-0x45,
-0x8,
-0x48,
-0x50,
-0x45,
-0x54,
-0x8,
-0x5f,
-0x48,
-0x49,
-0x44,
-0xc,
-0x41,
-0xd0,
-0x1,
-0x3,
-0x8,
-0x5f,
-0x55,
-0x49,
-0x44,
-0x0,
-0x5b,
-0x80,
-0x48,
-0x50,
-0x54,
-0x4d,
-0x0,
-0xc,
-0x0,
-0x0,
-0xd0,
-0xfe,
-0xb,
-0x0,
-0x4,
-0x5b,
-0x81,
-0x10,
-0x48,
-0x50,
-0x54,
-0x4d,
-0x13,
-0x56,
-0x45,
-0x4e,
-0x44,
-0x20,
-0x50,
-0x52,
-0x44,
-0x5f,
-0x20,
-0x14,
-0x36,
-0x5f,
-0x53,
-0x54,
-0x41,
-0x0,
-0x70,
-0x56,
-0x45,
-0x4e,
-0x44,
-0x60,
-0x70,
-0x50,
-0x52,
-0x44,
-0x5f,
-0x61,
-0x7a,
-0x60,
-0xa,
-0x10,
-0x60,
-0xa0,
-0xc,
-0x91,
-0x93,
-0x60,
-0x0,
-0x93,
-0x60,
-0xb,
-0xff,
-0xff,
-0xa4,
-0x0,
-0xa0,
-0xe,
-0x91,
-0x93,
-0x61,
-0x0,
-0x94,
-0x61,
-0xc,
-0x0,
-0xe1,
-0xf5,
-0x5,
-0xa4,
-0x0,
-0xa4,
-0xa,
-0xf,
-0x8,
-0x5f,
-0x43,
-0x52,
-0x53,
-0x11,
-0x11,
-0xa,
-0xe,
-0x86,
-0x9,
-0x0,
-0x0,
-0x0,
-0x0,
-0xd0,
-0xfe,
-0x0,
-0x4,
-0x0,
-0x0,
-0x79,
-0x0,
-0x10,
 0x25,
 0x2e,
 0x5f,
@@ -811,10 +595,9 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0x4e,
 0x1,
 0x10,
-0x4a,
-0x1e,
-0x2f,
-0x3,
+0x48,
+0x8,
+0x2e,
 0x5f,
 0x53,
 0x42,
@@ -823,420 +606,431 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0x43,
 0x49,
 0x30,
-0x49,
-0x53,
-0x41,
-0x5f,
 0x5b,
-0x82,
-0x2c,
-0x53,
-0x4d,
+0x80,
+0x50,
 0x43,
-0x5f,
-0x8,
-0x5f,
-0x48,
-0x49,
-0x44,
-0xc,
-0x6,
-0x10,
-0x0,
-0x1,
-0x8,
-0x5f,
 0x53,
 0x54,
-0x41,
+0x1,
+0xb,
+0x0,
+0xae,
 0xa,
-0xf0,
 0x8,
-0x5f,
+0x5b,
+0x81,
+0x10,
+0x50,
 0x43,
-0x52,
 0x53,
-0x11,
-0x10,
-0xa,
-0xd,
-0x47,
-0x1,
-0x0,
-0x3,
-0x0,
-0x3,
-0x1,
-0x20,
-0x22,
-0x40,
-0x0,
-0x79,
-0x0,
-0x5b,
-0x82,
-0x2d,
-0x52,
 0x54,
 0x43,
-0x5f,
-0x8,
-0x5f,
-0x48,
+0x50,
+0x43,
+0x49,
+0x55,
+0x20,
+0x50,
+0x43,
 0x49,
 0x44,
-0xc,
-0x41,
-0xd0,
+0x20,
+0x5b,
+0x80,
+0x53,
+0x45,
+0x4a,
+0x5f,
+0x1,
 0xb,
-0x0,
 0x8,
+0xae,
+0xa,
+0x4,
+0x5b,
+0x81,
+0xb,
+0x53,
+0x45,
+0x4a,
 0x5f,
 0x43,
+0x42,
+0x30,
+0x45,
+0x4a,
+0x20,
+0x5b,
+0x80,
+0x42,
+0x4e,
+0x4d,
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+0x8,
+0x50,
+0x52,
+0x51,
+0x32,
+0x8,
+0x50,
+0x52,
+0x51,
+0x33,
+0x8,
 0x14,
-0x18,
-0x5f,
+0x13,
+0x49,
+0x51,
 0x53,
 0x54,
-0x41,
-0x0,
-0x70,
-0x43,
-0x41,
-0x45,
-0x4e,
-0x60,
+0x1,
 0xa0,
-0x6,
-0x93,
-0x60,
+0x9,
+0x7b,
+0xa,
+0x80,
+0x68,
 0x0,
 0xa4,
-0x0,
-0xa1,
-0x4,
+0xa,
+0x9,
 0xa4,
 0xa,
-0xf,
-0x8,
-0x5f,
+0xb,
+0x14,
+0x36,
+0x49,
+0x51,
 0x43,
 0x52,
-0x53,
+0x9,
+0x8,
+0x50,
+0x52,
+0x52,
+0x30,
 0x11,
-0x10,
+0xe,
 0xa,
-0xd,
-0x47,
+0xb,
+0x89,
+0x6,
+0x0,
+0x9,
 0x1,
-0xf8,
-0x3,
-0xf8,
-0x3,
 0x0,
-0x8,
-0x22,
-0x10,
+0x0,
+0x0,
 0x0,
 0x79,
 0x0,
+0x8a,
+0x50,
+0x52,
+0x52,
+0x30,
+0xa,
+0x5,
+0x50,
+0x52,
+0x52,
+0x49,
+0xa0,
+0xb,
+0x95,
+0x68,
+0xa,
+0x80,
+0x70,
+0x68,
+0x50,
+0x52,
+0x52,
+0x49,
+0xa4,
+0x50,
+0x52,
+0x52,
+0x30,
 0x5b,
 0x82,
-0x46,
-0x4,
-0x43,
-0x4f,
-0x4d,
-0x32,
+0x4c,
+0x7,
+0x4c,
+0x4e,
+0x4b,
+0x41,
 0x8,
 0x5f,
 0x48,
@@ -1245,499 +1039,377 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0xc,
 0x41,
 0xd0,
-0x5,
-0x1,
+0xc,
+0xf,
 0x8,
 0x5f,
 0x55,
 0x49,
 0x44,
-0xa,
-0x2,
-0x14,
-0x18,
-0x5f,
-0x53,
-0x54,
-0x41,
-0x0,
-0x70,
-0x43,
-0x42,
-0x45,
-0x4e,
-0x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
-0x11,
-0xe,
-0xa,
-0xb,
-0x89,
-0x6,
-0x0,
-0x9,
+0x53,
 0x1,
-0x0,
-0x0,
-0x0,
-0x0,
-0x79,
-0x0,
 0x8a,
-0x50,
-0x52,
-0x52,
-0x30,
+0x68,
 0xa,
 0x5,
 0x50,
 0x52,
 0x52,
 0x49,
-0xa0,
-0xb,
-0x95,
-0x68,
-0xa,
-0x80,
 0x70,
-0x68,
 0x50,
 0x52,
 0x52,
 0x49,
-0xa4,
 0x50,
 0x52,
-0x52,
-0x30,
+0x51,
+0x32,
 0x5b,
 0x82,
-0x4c,
+0x4d,
 0x7,
 0x4c,
 0x4e,
 0x4b,
-0x41,
+0x44,
 0x8,
 0x5f,
 0x48,
@@ -1753,7 +1425,8 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0x55,
 0x49,
 0x44,
-0x0,
+0xa,
+0x3,
 0x8,
 0x5f,
 0x50,
@@ -1797,7 +1470,7 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0x50,
 0x52,
 0x51,
-0x30,
+0x33,
 0x14,
 0x11,
 0x5f,
@@ -1809,13 +1482,13 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0x50,
 0x52,
 0x51,
-0x30,
+0x33,
 0xa,
 0x80,
 0x50,
 0x52,
 0x51,
-0x30,
+0x33,
 0x14,
 0xf,
 0x5f,
@@ -1831,7 +1504,7 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0x50,
 0x52,
 0x51,
-0x30,
+0x33,
 0x14,
 0x17,
 0x5f,
@@ -1855,15 +1528,15 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0x50,
 0x52,
 0x51,
-0x30,
+0x33,
 0x5b,
 0x82,
-0x4c,
-0x7,
+0x4f,
+0x4,
 0x4c,
 0x4e,
 0x4b,
-0x42,
+0x53,
 0x8,
 0x5f,
 0x48,
@@ -1879,458 +1552,219 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0x55,
 0x49,
 0x44,
-0x1,
+0xa,
+0x4,
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
-0xf,
-0x8,
-0x5f,
-0x55,
-0x49,
-0x44,
-0xa,
-0x4,
-0x8,
-0x5f,
-0x50,
-0x52,
-0x53,
-0x11,
-0xe,
-0xa,
-0xb,
-0x89,
-0x6,
-0x0,
-0x9,
-0x1,
-0x9,
-0x0,
-0x0,
-0x0,
-0x79,
-0x0,
-0x14,
-0x9,
-0x5f,
-0x53,
-0x54,
-0x41,
-0x0,
-0xa4,
-0xa,
-0xb,
-0x14,
-0x6,
-0x5f,
-0x44,
-0x49,
-0x53,
-0x0,
-0x14,
-0xb,
-0x5f,
-0x43,
-0x52,
-0x53,
-0x0,
-0xa4,
-0x5f,
-0x50,
-0x52,
-0x53,
-0x14,
-0x6,
-0x5f,
-0x53,
-0x52,
-0x53,
-0x1,
-0x10,
-0x42,
-0x11,
-0x5f,
-0x53,
-0x42,
-0x5f,
-0x14,
-0x35,
-0x43,
-0x50,
-0x4d,
-0x41,
-0x1,
 0x70,
 0x83,
 0x88,
@@ -2338,1045 +1772,119 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0x50,
 0x4f,
 0x4e,
-0x68,
-0x0,
-0x60,
-0x70,
-0x11,
-0xb,
-0xa,
-0x8,
-0x0,
-0x8,
-0x0,
-0x0,
-0x0,
-0x0,
-0x0,
-0x0,
-0x61,
-0x70,
-0x68,
-0x88,
-0x61,
-0xa,
-0x2,
-0x0,
-0x70,
-0x68,
-0x88,
-0x61,
-0xa,
-0x3,
-0x0,
-0x70,
 0x60,
-0x88,
-0x61,
-0xa,
-0x4,
-0x0,
-0xa4,
-0x61,
-0x14,
-0x1a,
-0x43,
-0x50,
-0x53,
-0x54,
-0x1,
-0x70,
-0x83,
-0x88,
-0x43,
-0x50,
-0x4f,
-0x4e,
-0x68,
-0x0,
-0x60,
-0xa0,
-0x5,
-0x60,
-0xa4,
-0xa,
-0xf,
-0xa1,
-0x3,
-0xa4,
-0x0,
-0x14,
-0xa,
-0x43,
-0x50,
-0x45,
-0x4a,
-0x2,
-0x5b,
-0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0x70,
-0x99,
-0x68,
 0x0,
-0x4d,
-0x53,
-0x45,
-0x4c,
-0x70,
-0x4d,
-0x50,
-0x58,
+0xaf,
+0x0,
+0xaf,
+0x0,
+0x20,
+0x79,
+0x0,
+0x8,
 0x5f,
-0x60,
-0x5b,
-0x27,
-0x4d,
-0x4c,
-0x43,
-0x4b,
-0xa4,
-0x60,
-0x14,
-0x28,
-0x4d,
-0x4f,
 0x53,
 0x54,
-0x4,
-0x5b,
-0x23,
-0x4d,
-0x4c,
-0x43,
-0x4b,
-0xff,
-0xff,
-0x70,
-0x99,
-0x68,
-0x0,
-0x4d,
-0x53,
-0x45,
-0x4c,
-0x70,
-0x69,
-0x4d,
-0x4f,
-0x45,
-0x56,
-0x70,
-0x6a,
-0x4d,
-0x4f,
-0x53,
-0x43,
-0x5b,
-0x27,
-0x4d,
-0x4c,
-0x43,
-0x4b,
+0x41,
+0xa,
+0xb,
 0x10,
 0x45,
 0xd,
@@ -3592,6 +2100,3 @@ static unsigned char AcpiDsdtAmlCode[] = {
 0x46,
 0x0
 };
-static unsigned short piix_dsdt_applesmc_sta[] = {
-0x353
-};
diff --git a/hw/i386/q35-acpi-dsdt.dsl b/hw/i386/q35-acpi-dsdt.dsl
index e1cee5d..398aec1 100644
--- a/hw/i386/q35-acpi-dsdt.dsl
+++ b/hw/i386/q35-acpi-dsdt.dsl
@@ -34,7 +34,6 @@ DefinitionBlock (
     )
 {
 
-#include "acpi-dsdt-dbug.dsl"
 
     Scope(\_SB) {
         OperationRegion(PCST, SystemIO, 0xae00, 0x0c)
@@ -132,8 +131,6 @@ DefinitionBlock (
     }
 
 #include "acpi-dsdt-pci-crs.dsl"
-#include "acpi-dsdt-hpet.dsl"
-
 
 /****************************************************************
  * LPC ISA bridge
@@ -168,9 +165,6 @@ DefinitionBlock (
         }
     }
 
-#define DSDT_APPLESMC_STA q35_dsdt_applesmc_sta
-#include "acpi-dsdt-isa.dsl"
-
 
 /****************************************************************
  * PCI IRQs
@@ -405,7 +399,6 @@ DefinitionBlock (
 #include "hw/acpi/pc-hotplug.h"
 #define CPU_STATUS_BASE ICH9_CPU_HOTPLUG_IO_BASE
 #include "acpi-dsdt-cpu-hotplug.dsl"
-#include "acpi-dsdt-mem-hotplug.dsl"
 
 
 /****************************************************************
@@ -422,6 +415,8 @@ DefinitionBlock (
             // CPU hotplug event
             \_SB.PRSC()
         }
+        External(\_SB.PCI0.MEMORY_HOTPLUG_DEVICE, DeviceObj)
+        External(\_SB.PCI0.MEMORY_HOTPLUG_DEVICE.MEMORY_SLOT_SCAN_METHOD, MethodObj)
         Method(_E03) {
             // Memory hotplug event
             \_SB.PCI0.MEMORY_HOTPLUG_DEVICE.MEMORY_SLOT_SCAN_METHOD()
diff --git a/hw/i386/q35-acpi-dsdt.hex.generated b/hw/i386/q35-acpi-dsdt.hex.generated
index 4807bdf..a82b9a7 100644
--- a/hw/i386/q35-acpi-dsdt.hex.generated
+++ b/hw/i386/q35-acpi-dsdt.hex.generated
@@ -3,12 +3,12 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0x53,
 0x44,
 0x54,
-0xf6,
-0x1f,
+0x22,
+0x1a,
 0x0,
 0x0,
 0x1,
-0x91,
+0xba,
 0x42,
 0x58,
 0x50,
@@ -31,85 +31,11 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0x4e,
 0x54,
 0x4c,
-0x28,
-0x8,
-0x14,
+0x13,
+0x9,
+0x12,
 0x20,
 0x10,
-0x49,
-0x4,
-0x5c,
-0x0,
-0x5b,
-0x80,
-0x44,
-0x42,
-0x47,
-0x5f,
-0x1,
-0xb,
-0x2,
-0x4,
-0x1,
-0x5b,
-0x81,
-0xb,
-0x44,
-0x42,
-0x47,
-0x5f,
-0x1,
-0x44,
-0x42,
-0x47,
-0x42,
-0x8,
-0x14,
-0x2c,
-0x44,
-0x42,
-0x55,
-0x47,
-0x1,
-0x98,
-0x68,
-0x60,
-0x96,
-0x60,
-0x60,
-0x74,
-0x87,
-0x60,
-0x1,
-0x61,
-0x70,
-0x0,
-0x62,
-0xa2,
-0x10,
-0x95,
-0x62,
-0x61,
-0x70,
-0x83,
-0x88,
-0x60,
-0x62,
-0x0,
-0x44,
-0x42,
-0x47,
-0x42,
-0x75,
-0x62,
-0x70,
-0xa,
-0xa,
-0x44,
-0x42,
-0x47,
-0x42,
-0x10,
 0x29,
 0x5f,
 0x53,
@@ -711,148 +637,6 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xa4,
 0x60,
 0x10,
-0x4d,
-0x8,
-0x5f,
-0x53,
-0x42,
-0x5f,
-0x5b,
-0x82,
-0x45,
-0x8,
-0x48,
-0x50,
-0x45,
-0x54,
-0x8,
-0x5f,
-0x48,
-0x49,
-0x44,
-0xc,
-0x41,
-0xd0,
-0x1,
-0x3,
-0x8,
-0x5f,
-0x55,
-0x49,
-0x44,
-0x0,
-0x5b,
-0x80,
-0x48,
-0x50,
-0x54,
-0x4d,
-0x0,
-0xc,
-0x0,
-0x0,
-0xd0,
-0xfe,
-0xb,
-0x0,
-0x4,
-0x5b,
-0x81,
-0x10,
-0x48,
-0x50,
-0x54,
-0x4d,
-0x13,
-0x56,
-0x45,
-0x4e,
-0x44,
-0x20,
-0x50,
-0x52,
-0x44,
-0x5f,
-0x20,
-0x14,
-0x36,
-0x5f,
-0x53,
-0x54,
-0x41,
-0x0,
-0x70,
-0x56,
-0x45,
-0x4e,
-0x44,
-0x60,
-0x70,
-0x50,
-0x52,
-0x44,
-0x5f,
-0x61,
-0x7a,
-0x60,
-0xa,
-0x10,
-0x60,
-0xa0,
-0xc,
-0x91,
-0x93,
-0x60,
-0x0,
-0x93,
-0x60,
-0xb,
-0xff,
-0xff,
-0xa4,
-0x0,
-0xa0,
-0xe,
-0x91,
-0x93,
-0x61,
-0x0,
-0x94,
-0x61,
-0xc,
-0x0,
-0xe1,
-0xf5,
-0x5,
-0xa4,
-0x0,
-0xa4,
-0xa,
-0xf,
-0x8,
-0x5f,
-0x43,
-0x52,
-0x53,
-0x11,
-0x11,
-0xa,
-0xe,
-0x86,
-0x9,
-0x0,
-0x0,
-0x0,
-0x0,
-0xd0,
-0xfe,
-0x0,
-0x4,
-0x0,
-0x0,
-0x79,
-0x0,
-0x10,
 0x4c,
 0x7,
 0x2e,
@@ -977,597 +761,338 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0x45,
 0x4e,
 0x1,
+0x8,
+0x50,
+0x49,
+0x43,
+0x46,
+0x0,
+0x14,
+0xc,
+0x5f,
+0x50,
+0x49,
+0x43,
+0x1,
+0x70,
+0x68,
+0x50,
+0x49,
+0x43,
+0x46,
 0x10,
-0x4a,
-0x1e,
-0x2f,
-0x3,
+0x8e,
+0x55,
+0x1,
 0x5f,
 0x53,
 0x42,
 0x5f,
+0x10,
+0x43,
+0xea,
 0x50,
 0x43,
 0x49,
 0x30,
-0x49,
-0x53,
-0x41,
-0x5f,
-0x5b,
-0x82,
-0x2c,
-0x53,
-0x4d,
-0x43,
-0x5f,
 0x8,
-0x5f,
-0x48,
-0x49,
-0x44,
-0xc,
-0x6,
-0x10,
-0x0,
-0x1,
-0x8,
-0x5f,
-0x53,
-0x54,
-0x41,
-0xa,
-0xf0,
-0x8,
-0x5f,
-0x43,
+0x50,
 0x52,
-0x53,
-0x11,
-0x10,
-0xa,
-0xd,
-0x47,
-0x1,
+0x54,
+0x50,
+0x12,
+0x4b,
+0x73,
+0x80,
+0x12,
+0xb,
+0x4,
+0xb,
+0xff,
+0xff,
 0x0,
-0x3,
+0x4c,
+0x4e,
+0x4b,
+0x45,
 0x0,
-0x3,
+0x12,
+0xb,
+0x4,
+0xb,
+0xff,
+0xff,
 0x1,
-0x20,
-0x22,
-0x40,
-0x0,
-0x79,
+0x4c,
+0x4e,
+0x4b,
+0x46,
 0x0,
-0x5b,
-0x82,
-0x2d,
-0x52,
-0x54,
-0x43,
-0x5f,
-0x8,
-0x5f,
-0x48,
-0x49,
-0x44,
+0x12,
 0xc,
-0x41,
-0xd0,
+0x4,
 0xb,
-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x12,
-0xb,
-0x4,
-0xb,
-0xff,
-0xff,
-0x1,
-0x4c,
-0x4e,
-0x4b,
-0x46,
-0x0,
-0x12,
-0xc,
-0x4,
-0xb,
-0xff,
-0xff,
-0xa,
-0x2,
-0x4c,
-0x4e,
-0x4b,
-0x47,
-0x0,
-0x12,
-0xc,
-0x4,
-0xb,
-0xff,
-0xff,
-0xa,
-0x3,
-0x4c,
-0x4e,
-0x4b,
-0x48,
-0x0,
-0x12,
-0xd,
+0x12,
+0xd,
 0x4,
 0xc,
 0xff,
 0xff,
-0x1,
+0x5,
 0x0,
 0x0,
 0x4c,
@@ -1581,7 +1106,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x1,
+0x5,
 0x0,
 0x1,
 0x4c,
@@ -1595,7 +1120,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x1,
+0x5,
 0x0,
 0xa,
 0x2,
@@ -1610,7 +1135,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x1,
+0x5,
 0x0,
 0xa,
 0x3,
@@ -1625,7 +1150,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x2,
+0x6,
 0x0,
 0x0,
 0x4c,
@@ -1639,7 +1164,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x2,
+0x6,
 0x0,
 0x1,
 0x4c,
@@ -1653,7 +1178,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x2,
+0x6,
 0x0,
 0xa,
 0x2,
@@ -1668,7 +1193,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x2,
+0x6,
 0x0,
 0xa,
 0x3,
@@ -1683,7 +1208,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x3,
+0x7,
 0x0,
 0x0,
 0x4c,
@@ -1697,7 +1222,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x3,
+0x7,
 0x0,
 0x1,
 0x4c,
@@ -1711,7 +1236,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x3,
+0x7,
 0x0,
 0xa,
 0x2,
@@ -1726,7 +1251,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x3,
+0x7,
 0x0,
 0xa,
 0x3,
@@ -1741,7 +1266,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x4,
+0x8,
 0x0,
 0x0,
 0x4c,
@@ -1755,7 +1280,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x4,
+0x8,
 0x0,
 0x1,
 0x4c,
@@ -1769,7 +1294,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x4,
+0x8,
 0x0,
 0xa,
 0x2,
@@ -1784,7 +1309,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x4,
+0x8,
 0x0,
 0xa,
 0x3,
@@ -1799,7 +1324,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x5,
+0x9,
 0x0,
 0x0,
 0x4c,
@@ -1813,7 +1338,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x5,
+0x9,
 0x0,
 0x1,
 0x4c,
@@ -1827,7 +1352,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x5,
+0x9,
 0x0,
 0xa,
 0x2,
@@ -1842,7 +1367,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x5,
+0x9,
 0x0,
 0xa,
 0x3,
@@ -1857,7 +1382,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x6,
+0xa,
 0x0,
 0x0,
 0x4c,
@@ -1871,7 +1396,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x6,
+0xa,
 0x0,
 0x1,
 0x4c,
@@ -1885,7 +1410,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x6,
+0xa,
 0x0,
 0xa,
 0x2,
@@ -1900,7 +1425,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x6,
+0xa,
 0x0,
 0xa,
 0x3,
@@ -1915,7 +1440,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x7,
+0xb,
 0x0,
 0x0,
 0x4c,
@@ -1929,7 +1454,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x7,
+0xb,
 0x0,
 0x1,
 0x4c,
@@ -1943,7 +1468,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x7,
+0xb,
 0x0,
 0xa,
 0x2,
@@ -1958,7 +1483,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x7,
+0xb,
 0x0,
 0xa,
 0x3,
@@ -1973,7 +1498,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x8,
+0xc,
 0x0,
 0x0,
 0x4c,
@@ -1987,7 +1512,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0xc,
 0xff,
 0xff,
-0x8,
+0xc,
 0x0,
 0x1,
 0x4c,
@@ -2001,239 +1526,7 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 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0,
+0x8,
+0x5f,
+0x53,
+0x54,
+0x41,
+0xa,
+0xb,
 0x10,
 0x42,
 0xa,
@@ -8182,6 +6690,3 @@ static unsigned char Q35AcpiDsdtAmlCode[] = {
 0x46,
 0x0
 };
-static unsigned short q35_dsdt_applesmc_sta[] = {
-0x3fa
-};
diff --git a/tests/acpi-test-data/pc/DSDT b/tests/acpi-test-data/pc/DSDT
index 9bcc9ba9540f768afeba95231229e093b538d020..76edb15b23cf1f9a0fcdb17807492553c1115b61 100644
GIT binary patch
delta 69
zcmV-L0J{Is9@8EQL{mgmQx5<D0fLbV8?kS)0h6x+eX|z@3k8!i4c3t*N&`*^T$3XL
bi~~y^T(d3%=>Y>lF<i4G3J(Lb2@XdA&e;<+

delta 67
zcmV-J0KEUx9?%{NL{mgmP!9kA0i2Nv8<RB%O0gxf0Rl}3lY$70lh*-#0!kjU5eex5
Zvs3~L1p+`Zv;7JW1Cw6|*0T%_M**QT6SDvS

diff --git a/tests/acpi-test-data/q35/DSDT b/tests/acpi-test-data/q35/DSDT
index c30ec0462acee10c55e1035ba0e6798a0739dc35..fb79eb4ed84fc0e95aa7a1eb6c64b941cec321d1 100644
GIT binary patch
delta 70
zcmV-M0J;CZLcu}`L{mgmK_LJD0b`L08?kR$0+Ut)e6zg;h8B}lAES{aN&`*^T$9QI
ci~~y^T(i{!=m7)}K`~sjMH~+Uv-clI0T*f(O8@`>

delta 68
zcmV-K0K5OeLcT%@L{mgmJ|O@A0ez7Q8<Qg%O0gwb0s>74lW-c0lYRnx0}x6cv;P|C
a0kir7h86-qF|+F&4+E2c8KblMA4dVp*A_<r

-- 
1.8.3.1

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

* Re: [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT
  2015-01-19 16:56 [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT Paolo Bonzini
                   ` (2 preceding siblings ...)
  2015-01-19 16:56 ` [Qemu-devel] [PATCH v3 3/3] pc: move common parts of the DSDT " Paolo Bonzini
@ 2015-01-19 21:31 ` Michael S. Tsirkin
  2015-01-20  7:05   ` Paolo Bonzini
  3 siblings, 1 reply; 7+ messages in thread
From: Michael S. Tsirkin @ 2015-01-19 21:31 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: imammedo, qemu-devel

On Mon, Jan 19, 2015 at 05:56:24PM +0100, Paolo Bonzini wrote:
> See v2 for motivation.
> 
> v2->v3: dropped pointer passing and patch 4.

Thanks!
Igor - ok with you?

> Paolo Bonzini (3):
>   pc: append ssdt-misc.dsl to the DSDT
>   pc: rename ssdt-misc to dsdt-common
>   pc: move common parts of the DSDT to dsdt-common
> 
>  hw/i386/Makefile.objs                           |    2 +-
>  hw/i386/acpi-build.c                            |   85 +-
>  hw/i386/{ssdt-misc.dsl => acpi-dsdt-common.dsl} |   22 +-
>  hw/i386/acpi-dsdt-common.hex.generated          | 1897 ++++++++++++++
>  hw/i386/acpi-dsdt-isa.dsl                       |    6 +-
>  hw/i386/acpi-dsdt.dsl                           |   12 +-
>  hw/i386/acpi-dsdt.hex.generated                 | 3119 ++++++-----------------
>  hw/i386/q35-acpi-dsdt.dsl                       |    9 +-
>  hw/i386/q35-acpi-dsdt.hex.generated             | 2787 +++++---------------
>  hw/i386/ssdt-misc.hex.generated                 |  399 ---
>  tests/acpi-test-data/pc/DSDT                    |  Bin 3592 -> 3923 bytes
>  tests/acpi-test-data/pc/SSDT                    |  Bin 2279 -> 1951 bytes
>  tests/acpi-test-data/q35/DSDT                   |  Bin 8182 -> 8513 bytes
>  tests/acpi-test-data/q35/SSDT                   |  Bin 560 -> 232 bytes
>  14 files changed, 3430 insertions(+), 4908 deletions(-)
>  rename hw/i386/{ssdt-misc.dsl => acpi-dsdt-common.dsl} (89%)
>  create mode 100644 hw/i386/acpi-dsdt-common.hex.generated
>  delete mode 100644 hw/i386/ssdt-misc.hex.generated

In future pls don't include generated files, they
often conflict on rebase - just note I need to generate
them in the cover letter.

> -- 
> 1.8.3.1

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

* Re: [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT
  2015-01-19 21:31 ` [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT Michael S. Tsirkin
@ 2015-01-20  7:05   ` Paolo Bonzini
  2015-01-20 10:34     ` Igor Mammedov
  0 siblings, 1 reply; 7+ messages in thread
From: Paolo Bonzini @ 2015-01-20  7:05 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: imammedo, qemu-devel



On 19/01/2015 22:31, Michael S. Tsirkin wrote:
> On Mon, Jan 19, 2015 at 05:56:24PM +0100, Paolo Bonzini wrote:
>> > See v2 for motivation.
>> > 
>> > v2->v3: dropped pointer passing and patch 4.
> Thanks!
> Igor - ok with you?

FWIW I'm okay with moving stuff back to the SSDT as part of Igor's other
ACPI series.  The #included files would remain in acpi-dsdt-common.dsl.

Paolo

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

* Re: [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT
  2015-01-20  7:05   ` Paolo Bonzini
@ 2015-01-20 10:34     ` Igor Mammedov
  0 siblings, 0 replies; 7+ messages in thread
From: Igor Mammedov @ 2015-01-20 10:34 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel, Michael S. Tsirkin

On Tue, 20 Jan 2015 08:05:04 +0100
Paolo Bonzini <pbonzini@redhat.com> wrote:

> 
> 
> On 19/01/2015 22:31, Michael S. Tsirkin wrote:
> > On Mon, Jan 19, 2015 at 05:56:24PM +0100, Paolo Bonzini wrote:
> >> > See v2 for motivation.
> >> > 
> >> > v2->v3: dropped pointer passing and patch 4.
> > Thanks!
> > Igor - ok with you?
> 
> FWIW I'm okay with moving stuff back to the SSDT as part of Igor's other
> ACPI series.  The #included files would remain in acpi-dsdt-common.dsl.

can we drop 1-2 patches and not move stuff uselessly back and forth?
(it only complicates rebase of big series and nothing else)

I'll take care of SMC device  and move it into SSDT with respin of
AML API series. And taking in account that ROMs are resizable now,
I can trim not present SSDT devices along with it.


> Paolo

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

end of thread, other threads:[~2015-01-20 10:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-19 16:56 [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT Paolo Bonzini
2015-01-19 16:56 ` [Qemu-devel] [PATCH v3 1/3] pc: append " Paolo Bonzini
2015-01-19 16:56 ` [Qemu-devel] [PATCH v3 2/3] pc: rename ssdt-misc to dsdt-common Paolo Bonzini
2015-01-19 16:56 ` [Qemu-devel] [PATCH v3 3/3] pc: move common parts of the DSDT " Paolo Bonzini
2015-01-19 21:31 ` [Qemu-devel] [PATCH v3 0/3] move ssdt-misc.dsl to the DSDT Michael S. Tsirkin
2015-01-20  7:05   ` Paolo Bonzini
2015-01-20 10:34     ` 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.