[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 06/19] pc: acpi: move SSDT part of memhp into a
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH 06/19] pc: acpi: move SSDT part of memhp into a custom table |
Date: |
Sat, 24 Oct 2015 20:41:25 +0300 |
On Fri, Oct 23, 2015 at 04:57:09PM +0200, Igor Mammedov wrote:
> + /* copy AML table into ACPI tables blob and patch header there */
> + g_array_append_vals(table_data, table->buf->data, table->buf->len);
> + build_header(linker, table_data,
> + (void *)(table_data->data + table_data->len - table->buf->len),
> + "MHPT", table->buf->len, 2);
> + free_aml_allocator();
> +}
Why not just put this in an SSDT?
And what guarantees that there won't be an MHPT table
in a future version of the spec, conflicting with this use?
--
MST
- [Qemu-devel] [PATCH 00/19] pc: acpi: move memory hotplug out of DSDT/SSDT into custom table, Igor Mammedov, 2015/10/23
- [Qemu-devel] [PATCH 01/19] acpi: aml: add aml_lgreater_equal() and aml_load_table(), Igor Mammedov, 2015/10/23
- [Qemu-devel] [PATCH 02/19] acpi: add aml_mutex(), aml_acquire(), aml_release(), Igor Mammedov, 2015/10/23
- [Qemu-devel] [PATCH 05/19] acpi: aml: add aml_call0() helper, Igor Mammedov, 2015/10/23
- [Qemu-devel] [PATCH 07/19] pc: acpi: memhp: move MHPD._STA method into MHPT table, Igor Mammedov, 2015/10/23
- [Qemu-devel] [PATCH 04/19] acpi: aml: add aml_decrement() and aml_subtract(), Igor Mammedov, 2015/10/23
- [Qemu-devel] [PATCH 06/19] pc: acpi: move SSDT part of memhp into a custom table, Igor Mammedov, 2015/10/23
- [Qemu-devel] [PATCH 11/19] pc: acpi: memhp: move MHPD.MRST method into MHPT table, Igor Mammedov, 2015/10/23
- [Qemu-devel] [PATCH 08/19] pc: acpi: memhp: move MHPD.MLCK mutex into NHPT table, Igor Mammedov, 2015/10/23
- [Qemu-devel] [PATCH 10/19] pc: acpi: make memory device's _UID integer, Igor Mammedov, 2015/10/23
- [Qemu-devel] [PATCH 09/19] pc: acpi: memhp: move MHPD.MSCN method into MHPT table, Igor Mammedov, 2015/10/23
- [Qemu-devel] [PATCH 12/19] pc: acpi: memhp: move MHPD.MPXM method into MHPT table, Igor Mammedov, 2015/10/23
- [Qemu-devel] [PATCH 13/19] pc: acpi: memhp: move MHPD.MOST method into MHPT table, Igor Mammedov, 2015/10/23