From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: Re: [Qemu-devel] [PATCH v3 00/32] implement vNVDIMM Date: Wed, 14 Oct 2015 12:03:02 +0800 Message-ID: <561DD3F6.10303@linux.intel.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: ehabkost@redhat.com, KVM list , "Michael S. Tsirkin" , Gleb Natapov , mtosatti@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, Paolo Bonzini , imammedo@redhat.com, rth@twiddle.net To: Dan Williams Return-path: Received: from mga01.intel.com ([192.55.52.88]:8947 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750719AbbJNEJP (ORCPT ); Wed, 14 Oct 2015 00:09:15 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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!