acpi: x86: set enabled when composing _MAT entries
Instead of composing disabled _MAT entry and then later on patching it to enabled for hotpluggbale CPUs in DSDT, set it to enabled at the time _MAT entry is built. It will allow to drop usage of packed structures in following patches when build_madt() is switched to use build_append_int_noprefix() API. Signed-off-by:Igor Mammedov <imammedo@redhat.com> Reviewed-by:
Eric Auger <eric.auger@redhat.com> Message-Id: <20210924122802.1455362-24-imammedo@redhat.com> Reviewed-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
Showing
- hw/acpi/acpi-x86-stub.c 2 additions, 1 deletionhw/acpi/acpi-x86-stub.c
- hw/acpi/cpu.c 2 additions, 15 deletionshw/acpi/cpu.c
- hw/i386/acpi-common.c 6 additions, 12 deletionshw/i386/acpi-common.c
- include/hw/acpi/acpi_dev_interface.h 2 additions, 1 deletioninclude/hw/acpi/acpi_dev_interface.h
- include/hw/i386/pc.h 3 additions, 3 deletionsinclude/hw/i386/pc.h
Loading
Please register or sign in to comment