From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmDNS-0000JS-Jk for qemu-devel@nongnu.org; Wed, 14 Oct 2015 00:09:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmDNO-00057F-5W for qemu-devel@nongnu.org; Wed, 14 Oct 2015 00:09:22 -0400 Received: from mga01.intel.com ([192.55.52.88]:44625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmDNN-00056c-Vz for qemu-devel@nongnu.org; Wed, 14 Oct 2015 00:09:18 -0400 References: <1444535584-18220-1-git-send-email-guangrong.xiao@linux.intel.com> <561B3816.4020102@linux.intel.com> <561C770D.8010606@linux.intel.com> <561C9B4D.2070703@linux.intel.com> From: Xiao Guangrong Message-ID: <561DD3F6.10303@linux.intel.com> Date: Wed, 14 Oct 2015 12:03:02 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 00/32] implement vNVDIMM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dan Williams Cc: ehabkost@redhat.com, KVM list , "Michael S. Tsirkin" , Gleb Natapov , mtosatti@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, imammedo@redhat.com, Paolo Bonzini , rth@twiddle.net On 10/13/2015 02:36 PM, Dan Williams wrote: > On Mon, Oct 12, 2015 at 10:49 PM, Xiao Guangrong > wrote: >> >> >> On 10/13/2015 11:38 AM, Dan Williams wrote: >>> >>> On Mon, Oct 12, 2015 at 8:14 PM, Xiao Guangrong >>> wrote: >>>> >>>> On 10/13/2015 12:36 AM, Dan Williams wrote: >>>>> >>>>> Static namespaces can be emitted without a label. Linux needs this to >>>>> support existing "label-less" bare metal NVDIMMs. >>>> >>>> >>>> >>>> This is Linux specific? As i did not see it has been documented in the >>>> spec... >>> >>> >>> I expect most NVDIMMs, especially existing ones available today, do >>> not have a label area. This is not Linux specific and ACPI 6 does not >>> specify a label area, only the Intel DSM Interface Example. >>> >> >> Yup, label data is accessed via DSM interface, the spec I mentioned >> is Intel DSM Interface Example. >> >> However, IIRC Linux NVDIMM driver refused to use the device if no >> DSM GET_LABEL support, are you going to update it? > > Label-less DIMMs are tested as part of the unit test [1] and the > "memmap=nn!ss" kernel parameter that registers a persistent-memory > address range without a DIMM. What error do you see when label > support is disabled? > > [1]: https://github.com/pmem/ndctl/blob/master/README.md > After revert my commits on NVDIMM driver, yeah, it works. Okay, i will drop the namespace part and make it as label-less instead. Thank you, Dan!