Re: [Qemu-devel] [PATCH v2 6/8] pc: memhp: do not export nvdimm's memory via _CRS

2016-10-10 Thread Xiao Guangrong
On 10/10/2016 08:47 PM, Igor Mammedov wrote: Based on ACPI Spec, the memory device (PNP0C80) and nvdimm device is notified by the same interruption: Scope (\_GPE) { Method (_L00) { Notify (\_SB.NVDR, 0x80) // Notify to NVDIMM root device Notify (\_SB.MEM0, 1) // Device Check to Memory Module

Re: [Qemu-devel] [PATCH v2 6/8] pc: memhp: do not export nvdimm's memory via _CRS

2016-10-10 Thread Igor Mammedov
On Sat, 8 Oct 2016 15:42:41 +0800 Xiao Guangrong wrote: > On 10/03/2016 09:21 PM, Igor Mammedov wrote: > > On Fri, 12 Aug 2016 14:54:08 +0800 > > Xiao Guangrong wrote: > > > >> nvdimm's memory info can not exported via _CRS, instead, it is reported > >> by NFIT/FIT > >> > >> This patch let _CR

Re: [Qemu-devel] [PATCH v2 6/8] pc: memhp: do not export nvdimm's memory via _CRS

2016-10-08 Thread Xiao Guangrong
On 10/03/2016 09:21 PM, Igor Mammedov wrote: On Fri, 12 Aug 2016 14:54:08 +0800 Xiao Guangrong wrote: nvdimm's memory info can not exported via _CRS, instead, it is reported by NFIT/FIT This patch let _CRS return zero for both memory address and memory size if it is a nvdimm device inserted

Re: [Qemu-devel] [PATCH v2 6/8] pc: memhp: do not export nvdimm's memory via _CRS

2016-10-03 Thread Igor Mammedov
On Fri, 12 Aug 2016 14:54:08 +0800 Xiao Guangrong wrote: > nvdimm's memory info can not exported via _CRS, instead, it is reported > by NFIT/FIT > > This patch let _CRS return zero for both memory address and memory size > if it is a nvdimm device inserted to the slot I'm not sure if it's right

[Qemu-devel] [PATCH v2 6/8] pc: memhp: do not export nvdimm's memory via _CRS

2016-08-12 Thread Xiao Guangrong
nvdimm's memory info can not exported via _CRS, instead, it is reported by NFIT/FIT This patch let _CRS return zero for both memory address and memory size if it is a nvdimm device inserted to the slot Signed-off-by: Xiao Guangrong --- hw/acpi/memory_hotplug.c | 16 inc