From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNkhb-0005lX-V0 for qemu-devel@nongnu.org; Tue, 29 May 2018 15:54:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNkhY-0000yK-UY for qemu-devel@nongnu.org; Tue, 29 May 2018 15:54:40 -0400 Received: from mga09.intel.com ([134.134.136.24]:54792) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fNkhY-0000xJ-LW for qemu-devel@nongnu.org; Tue, 29 May 2018 15:54:36 -0400 Date: Tue, 29 May 2018 13:54:33 -0600 From: Ross Zwisler Message-ID: <20180529195433.GA16151@linux.intel.com> References: <20180521163203.26590-1-ross.zwisler@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180521163203.26590-1-ross.zwisler@linux.intel.com> Subject: Re: [Qemu-devel] [qemu PATCH v4 0/4] support NFIT platform capabilities List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ross Zwisler Cc: Igor Mammedov , qemu-devel@nongnu.org, Haozhong Zhang , "Michael S . Tsirkin" , Stefan Hajnoczi , Eduardo Habkost , linux-nvdimm , "Elliott, Robert (Persistent Memory)" Ping on this series. Rob, I think I've addressed all your feedback. Can you please verify? Thanks, - Ross On Mon, May 21, 2018 at 10:31:59AM -0600, Ross Zwisler wrote: > Changes since v3: > * Updated the text in docs/nvdimm.txt to make it clear that the value > being passed in on the command line in an integer made up of various > bit fields. (Rob Elliott) > > * Updated the "Highest Valid Capability" byte to be dynamic based on > the highest valid bit in the user's input. (Rob Elliott) > > --- > > The first 2 patches in this series clean up some things I noticed while > coding. > > Patch 3 adds support for the new Platform Capabilities Structure, which > was added to the NFIT in ACPI 6.2 Errata A. We add a machine command > line option "nvdimm-cap": > > -machine pc,accel=kvm,nvdimm,nvdimm-cap=2 > > which allows the user to pass in a value for this structure. When such > a value is passed in we will generate the new NFIT subtable. > > Patch 4 adds code to the "make check" self test infrastructure so that > we generate the new Platform Capabilities Structure, and adds it to the > expected NFIT output so that we test for it. > > Ross Zwisler (4): > nvdimm: fix typo in label-size definition > tests/.gitignore: add entry for generated file > nvdimm, acpi: support NFIT platform capabilities > ACPI testing: test NFIT platform capabilities > > docs/nvdimm.txt | 27 ++++++++++++++++++++ > hw/acpi/nvdimm.c | 45 +++++++++++++++++++++++++++++++--- > hw/i386/pc.c | 31 +++++++++++++++++++++++ > hw/mem/nvdimm.c | 2 +- > include/hw/i386/pc.h | 1 + > include/hw/mem/nvdimm.h | 7 +++++- > tests/.gitignore | 1 + > tests/acpi-test-data/pc/NFIT.dimmpxm | Bin 224 -> 240 bytes > tests/acpi-test-data/q35/NFIT.dimmpxm | Bin 224 -> 240 bytes > tests/bios-tables-test.c | 2 +- > 10 files changed, 109 insertions(+), 7 deletions(-) > > -- > 2.14.3 >