Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 68E1F20348610 for ; Mon, 21 May 2018 09:32:10 -0700 (PDT) From: Ross Zwisler Subject: [qemu PATCH v4 0/4] support NFIT platform capabilities Date: Mon, 21 May 2018 10:31:59 -0600 Message-Id: <20180521163203.26590-1-ross.zwisler@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Igor Mammedov , qemu-devel@nongnu.org Cc: Eduardo Habkost , linux-nvdimm , "Michael S . Tsirkin" , Stefan Hajnoczi List-ID: 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 _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm