From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: Re: [Qemu-devel] [PATCH v3 00/32] implement vNVDIMM Date: Tue, 13 Oct 2015 13:49:01 +0800 Message-ID: <561C9B4D.2070703@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> 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 mga03.intel.com ([134.134.136.65]:40370 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751895AbbJMFzN (ORCPT ); Tue, 13 Oct 2015 01:55:13 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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? From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlsYR-0000ld-2u for qemu-devel@nongnu.org; Tue, 13 Oct 2015 01:55:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlsYM-0005dr-2k for qemu-devel@nongnu.org; Tue, 13 Oct 2015 01:55:18 -0400 Received: from mga11.intel.com ([192.55.52.93]:34182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlsYL-0005dm-TA for qemu-devel@nongnu.org; Tue, 13 Oct 2015 01:55:14 -0400 References: <1444535584-18220-1-git-send-email-guangrong.xiao@linux.intel.com> <561B3816.4020102@linux.intel.com> <561C770D.8010606@linux.intel.com> From: Xiao Guangrong Message-ID: <561C9B4D.2070703@linux.intel.com> Date: Tue, 13 Oct 2015 13:49:01 +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 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?