From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 A676E2035B2D1 for ; Mon, 18 Dec 2017 11:49:20 -0800 (PST) Date: Mon, 18 Dec 2017 12:54:05 -0700 From: Ross Zwisler Subject: Re: [PATCH] acpi: add NFIT and HMAT to the initrd override list Message-ID: <20171218195405.GA18900@linux.intel.com> References: <151275056532.8020.17160155121603376532.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <151275056532.8020.17160155121603376532.stgit@dwillia2-desk3.amr.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Dan Williams Cc: linux-acpi@vger.kernel.org, rafael.j.wysocki@intel.com, linux-nvdimm@lists.01.org List-ID: On Fri, Dec 08, 2017 at 08:29:25AM -0800, Dan Williams wrote: > These tables, NFIT and HMAT, are essential for describing > next-generation platform memory topologies and performance > characteristics. Allow them to be overridden for debug and test and > purposes. > > Cc: Ross Zwisler Yes please! This works in my test setup for inserting custom HMAT tables, and I would really like to have this for testing my HMAT series: https://lists.01.org/pipermail/linux-nvdimm/2017-December/013571.html Reviewed-by: Ross Zwisler > Signed-off-by: Dan Williams > --- > drivers/acpi/tables.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c > index 80ce2a7d224b..67a44fd79449 100644 > --- a/drivers/acpi/tables.c > +++ b/drivers/acpi/tables.c > @@ -456,7 +456,8 @@ static const char * const table_sigs[] = { > ACPI_SIG_SLIC, ACPI_SIG_SPCR, ACPI_SIG_SPMI, ACPI_SIG_TCPA, > ACPI_SIG_UEFI, ACPI_SIG_WAET, ACPI_SIG_WDAT, ACPI_SIG_WDDT, > ACPI_SIG_WDRT, ACPI_SIG_DSDT, ACPI_SIG_FADT, ACPI_SIG_PSDT, > - ACPI_SIG_RSDT, ACPI_SIG_XSDT, ACPI_SIG_SSDT, NULL }; > + ACPI_SIG_RSDT, ACPI_SIG_XSDT, ACPI_SIG_SSDT, ACPI_SIG_NFIT, > + ACPI_SIG_HMAT, NULL }; > > #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header) > > _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm