Re: [Qemu-devel] [PATCH v2 26/74] pc: acpi: memhp: move MHPD._STA method into SSDT

2015-12-22 Thread Igor Mammedov
On Tue, 22 Dec 2015 17:11:46 +0200 "Michael S. Tsirkin" wrote: > On Mon, Dec 21, 2015 at 06:31:40PM +0100, Igor Mammedov wrote: > > On Sun, 20 Dec 2015 15:41:22 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Wed, Dec 16, 2015 at 03:47:35PM +0100, Igor Mammedov wrote: > > [...] > > > > +

Re: [Qemu-devel] [PATCH v2 26/74] pc: acpi: memhp: move MHPD._STA method into SSDT

2015-12-22 Thread Michael S. Tsirkin
On Mon, Dec 21, 2015 at 06:31:40PM +0100, Igor Mammedov wrote: > On Sun, 20 Dec 2015 15:41:22 +0200 > "Michael S. Tsirkin" wrote: > > > On Wed, Dec 16, 2015 at 03:47:35PM +0100, Igor Mammedov wrote: > [...] > > > +method = aml_method("_STA", 0, AML_NOTSERIALIZED); > > > +ifctx = a

Re: [Qemu-devel] [PATCH v2 26/74] pc: acpi: memhp: move MHPD._STA method into SSDT

2015-12-21 Thread Igor Mammedov
On Sun, 20 Dec 2015 15:41:22 +0200 "Michael S. Tsirkin" wrote: > On Wed, Dec 16, 2015 at 03:47:35PM +0100, Igor Mammedov wrote: [...] > > +method = aml_method("_STA", 0, AML_NOTSERIALIZED); > > +ifctx = aml_if(aml_equal(a_slots_nr, a_zero)); > > +{ > > + aml_ap

Re: [Qemu-devel] [PATCH v2 26/74] pc: acpi: memhp: move MHPD._STA method into SSDT

2015-12-21 Thread Igor Mammedov
On Sun, 20 Dec 2015 15:41:22 +0200 "Michael S. Tsirkin" wrote: > On Wed, Dec 16, 2015 at 03:47:35PM +0100, Igor Mammedov wrote: > > Signed-off-by: Igor Mammedov > > --- > > v2: > > - add parentheses around ifctx block > >Suggested-by: Marcel Apfelbaum > > --- > > hw/acpi/memory_hotplug_ac

Re: [Qemu-devel] [PATCH v2 26/74] pc: acpi: memhp: move MHPD._STA method into SSDT

2015-12-20 Thread Michael S. Tsirkin
On Wed, Dec 16, 2015 at 03:47:35PM +0100, Igor Mammedov wrote: > Signed-off-by: Igor Mammedov > --- > v2: > - add parentheses around ifctx block >Suggested-by: Marcel Apfelbaum > --- > hw/acpi/memory_hotplug_acpi_table.c | 14 ++ > hw/i386/acpi-dsdt-mem-hotplug.dsl | 8 --

Re: [Qemu-devel] [PATCH v2 26/74] pc: acpi: memhp: move MHPD._STA method into SSDT

2015-12-20 Thread Marcel Apfelbaum
On 12/16/2015 04:47 PM, Igor Mammedov wrote: Signed-off-by: Igor Mammedov --- v2: - add parentheses around ifctx block Suggested-by: Marcel Apfelbaum --- hw/acpi/memory_hotplug_acpi_table.c | 14 ++ hw/i386/acpi-dsdt-mem-hotplug.dsl | 8 2 files changed, 14 ins

[Qemu-devel] [PATCH v2 26/74] pc: acpi: memhp: move MHPD._STA method into SSDT

2015-12-16 Thread Igor Mammedov
Signed-off-by: Igor Mammedov --- v2: - add parentheses around ifctx block Suggested-by: Marcel Apfelbaum --- hw/acpi/memory_hotplug_acpi_table.c | 14 ++ hw/i386/acpi-dsdt-mem-hotplug.dsl | 8 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/hw/acpi/mem