linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] acpi: add NFIT and HMAT to the initrd override list
@ 2017-12-08 16:29 Dan Williams
  2017-12-18 19:54 ` Ross Zwisler
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Williams @ 2017-12-08 16:29 UTC (permalink / raw)
  To: rafael.j.wysocki; +Cc: linux-acpi, Ross Zwisler, linux-nvdimm

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 <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 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)
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] acpi: add NFIT and HMAT to the initrd override list
  2017-12-08 16:29 [PATCH] acpi: add NFIT and HMAT to the initrd override list Dan Williams
@ 2017-12-18 19:54 ` Ross Zwisler
       [not found]   ` <20171218195405.GA18900-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ross Zwisler @ 2017-12-18 19:54 UTC (permalink / raw)
  To: Dan Williams; +Cc: rafael.j.wysocki, linux-acpi, Ross Zwisler, linux-nvdimm

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 <ross.zwisler@linux.intel.com>

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 <ross.zwisler@linux.intel.com>

> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
> ---
>  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)
>  
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] acpi: add NFIT and HMAT to the initrd override list
       [not found]   ` <20171218195405.GA18900-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
@ 2018-02-22 21:12     ` Ross Zwisler
       [not found]       ` <20180222211224.GA29462-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ross Zwisler @ 2018-02-22 21:12 UTC (permalink / raw)
  To: Ross Zwisler
  Cc: linux-acpi-u79uwXL29TY76Z2rM5mHXA,
	rafael.j.wysocki-ral2JQCrhuEAvxtiuMwx3w,
	linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw

On Mon, Dec 18, 2017 at 12:54:05PM -0700, Ross Zwisler wrote:
> 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 <ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> 
> 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 <ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> 
> > Signed-off-by: Dan Williams <dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Ping on this patch - can we get this merged?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] acpi: add NFIT and HMAT to the initrd override list
       [not found]       ` <20180222211224.GA29462-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
@ 2018-02-22 21:47         ` Rafael J. Wysocki
  0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2018-02-22 21:47 UTC (permalink / raw)
  To: Ross Zwisler
  Cc: ACPI Devel Maling List, Rafael Wysocki,
	linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org

On Thu, Feb 22, 2018 at 10:12 PM, Ross Zwisler
<ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> wrote:
> On Mon, Dec 18, 2017 at 12:54:05PM -0700, Ross Zwisler wrote:
>> 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 <ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
>>
>> 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 <ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
>>
>> > Signed-off-by: Dan Williams <dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
>
> Ping on this patch - can we get this merged?

Sure, I thought that Dan would pick it up.  Queued up now.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-22 21:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-08 16:29 [PATCH] acpi: add NFIT and HMAT to the initrd override list Dan Williams
2017-12-18 19:54 ` Ross Zwisler
     [not found]   ` <20171218195405.GA18900-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2018-02-22 21:12     ` Ross Zwisler
     [not found]       ` <20180222211224.GA29462-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2018-02-22 21:47         ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).