From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4282894234902469058==" MIME-Version: 1.0 From: Ross Zwisler Subject: Re: [Devel] [PATCH v3 0/3] create sysfs representation of ACPI HMAT Date: Wed, 20 Dec 2017 09:41:07 -0700 Message-ID: <20171220164107.GA29103@linux.intel.com> In-Reply-To: 20171218203547.GA2366@linux.intel.com List-ID: To: devel@acpica.org --===============4282894234902469058== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Mon, Dec 18, 2017 at 01:35:47PM -0700, Ross Zwisler wrote: > On Thu, Dec 14, 2017 at 02:00:32PM +0100, Michal Hocko wrote: <> > > What is the testing procedure? How can I setup qemu to simlate such HW? > = > Well, the QEMU table simulation is gross, so I'd rather not get everyone > testing with that. Injecting custom HMAT and SRAT tables via initrd/init= ramfs > is a much better way: > = > https://www.kernel.org/doc/Documentation/acpi/initrd_table_override.txt > = > Dan recently posted a patch that lets this happen for the HMAT: > = > https://lists.01.org/pipermail/linux-nvdimm/2017-December/013545.html > = > I'm working right now on getting an easier way to generate HMAT tables - = I'll > let you know when I have something working. I've posted details on how to set up test configurations using injected HMAT and SRAT tables here: https://github.com/rzwisler/hmat_examples So far I've got two different sample configs, and we can add more as they a= re useful. Having the sample configs in github is also nice because if someone finds a config that causes a kernel issue it can be reported then added to this list of example configs for future testing. Please let me know if you have trouble getting this working. --===============4282894234902469058==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ross Zwisler Subject: Re: [PATCH v3 0/3] create sysfs representation of ACPI HMAT Date: Wed, 20 Dec 2017 09:41:07 -0700 Message-ID: <20171220164107.GA29103@linux.intel.com> References: <20171214021019.13579-1-ross.zwisler@linux.intel.com> <20171214130032.GK16951@dhcp22.suse.cz> <20171218203547.GA2366@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20171218203547.GA2366@linux.intel.com> Sender: linux-acpi-owner@vger.kernel.org To: Ross Zwisler Cc: Michal Hocko , linux-kernel@vger.kernel.org, "Anaczkowski, Lukasz" , "Box, David E" , "Kogut, Jaroslaw" , "Koss, Marcin" , "Koziej, Artur" , "Lahtinen, Joonas" , "Moore, Robert" , "Nachimuthu, Murugasamy" , "Odzioba, Lukasz" , "Rafael J. Wysocki" , "Rafael J. Wysocki" , "Schmauss, Erik" , "Verma, Vishal L" , "Zheng, Lv" , Andrew Morton , Balbir Singh List-Id: linux-api@vger.kernel.org On Mon, Dec 18, 2017 at 01:35:47PM -0700, Ross Zwisler wrote: > On Thu, Dec 14, 2017 at 02:00:32PM +0100, Michal Hocko wrote: <> > > What is the testing procedure? How can I setup qemu to simlate such HW? > > Well, the QEMU table simulation is gross, so I'd rather not get everyone > testing with that. Injecting custom HMAT and SRAT tables via initrd/initramfs > is a much better way: > > https://www.kernel.org/doc/Documentation/acpi/initrd_table_override.txt > > Dan recently posted a patch that lets this happen for the HMAT: > > https://lists.01.org/pipermail/linux-nvdimm/2017-December/013545.html > > I'm working right now on getting an easier way to generate HMAT tables - I'll > let you know when I have something working. I've posted details on how to set up test configurations using injected HMAT and SRAT tables here: https://github.com/rzwisler/hmat_examples So far I've got two different sample configs, and we can add more as they are useful. Having the sample configs in github is also nice because if someone finds a config that causes a kernel issue it can be reported then added to this list of example configs for future testing. Please let me know if you have trouble getting this working. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 81E362219BCA5 for ; Wed, 20 Dec 2017 08:36:21 -0800 (PST) Date: Wed, 20 Dec 2017 09:41:07 -0700 From: Ross Zwisler Subject: Re: [PATCH v3 0/3] create sysfs representation of ACPI HMAT Message-ID: <20171220164107.GA29103@linux.intel.com> References: <20171214021019.13579-1-ross.zwisler@linux.intel.com> <20171214130032.GK16951@dhcp22.suse.cz> <20171218203547.GA2366@linux.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20171218203547.GA2366@linux.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: Ross Zwisler Cc: Michal Hocko , "Box, David E" , Dave Hansen , "Zheng, Lv" , linux-nvdimm@lists.01.org, "Rafael J. Wysocki" , "Anaczkowski, Lukasz" , Moore,Lukasz, "Erik , Len Brown" , John Hubbard , Jerome Glisse , devel@acpica.org, Kogut,, "Marcin , linux-api@vger.kernel.org, Brice Goglin" , "Nachimuthu, Murugasamy , Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Koziej,, "Joonas , Andrew Morton , Tim Chen" List-ID: On Mon, Dec 18, 2017 at 01:35:47PM -0700, Ross Zwisler wrote: > On Thu, Dec 14, 2017 at 02:00:32PM +0100, Michal Hocko wrote: <> > > What is the testing procedure? How can I setup qemu to simlate such HW? > > Well, the QEMU table simulation is gross, so I'd rather not get everyone > testing with that. Injecting custom HMAT and SRAT tables via initrd/initramfs > is a much better way: > > https://www.kernel.org/doc/Documentation/acpi/initrd_table_override.txt > > Dan recently posted a patch that lets this happen for the HMAT: > > https://lists.01.org/pipermail/linux-nvdimm/2017-December/013545.html > > I'm working right now on getting an easier way to generate HMAT tables - I'll > let you know when I have something working. I've posted details on how to set up test configurations using injected HMAT and SRAT tables here: https://github.com/rzwisler/hmat_examples So far I've got two different sample configs, and we can add more as they are useful. Having the sample configs in github is also nice because if someone finds a config that causes a kernel issue it can be reported then added to this list of example configs for future testing. Please let me know if you have trouble getting this working. _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f71.google.com (mail-pl0-f71.google.com [209.85.160.71]) by kanga.kvack.org (Postfix) with ESMTP id AEFE66B0253 for ; Wed, 20 Dec 2017 11:41:11 -0500 (EST) Received: by mail-pl0-f71.google.com with SMTP id w15so9778407plp.14 for ; Wed, 20 Dec 2017 08:41:11 -0800 (PST) Received: from mga04.intel.com (mga04.intel.com. [192.55.52.120]) by mx.google.com with ESMTPS id c1si13342409pld.12.2017.12.20.08.41.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Dec 2017 08:41:10 -0800 (PST) Date: Wed, 20 Dec 2017 09:41:07 -0700 From: Ross Zwisler Subject: Re: [PATCH v3 0/3] create sysfs representation of ACPI HMAT Message-ID: <20171220164107.GA29103@linux.intel.com> References: <20171214021019.13579-1-ross.zwisler@linux.intel.com> <20171214130032.GK16951@dhcp22.suse.cz> <20171218203547.GA2366@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171218203547.GA2366@linux.intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: Ross Zwisler Cc: Michal Hocko , linux-kernel@vger.kernel.org, "Anaczkowski, Lukasz" , "Box, David E" , "Kogut, Jaroslaw" , "Koss, Marcin" , "Koziej, Artur" , "Lahtinen, Joonas" , "Moore, Robert" , "Nachimuthu, Murugasamy" , "Odzioba, Lukasz" , "Rafael J. Wysocki" , "Rafael J. Wysocki" , "Schmauss, Erik" , "Verma, Vishal L" , "Zheng, Lv" , Andrew Morton , Balbir Singh , Brice Goglin , Dan Williams , Dave Hansen , Jerome Glisse , John Hubbard , Len Brown , Tim Chen , devel@acpica.org, linux-acpi@vger.kernel.org, linux-mm@kvack.org, linux-nvdimm@lists.01.org, linux-api@vger.kernel.org On Mon, Dec 18, 2017 at 01:35:47PM -0700, Ross Zwisler wrote: > On Thu, Dec 14, 2017 at 02:00:32PM +0100, Michal Hocko wrote: <> > > What is the testing procedure? How can I setup qemu to simlate such HW? > > Well, the QEMU table simulation is gross, so I'd rather not get everyone > testing with that. Injecting custom HMAT and SRAT tables via initrd/initramfs > is a much better way: > > https://www.kernel.org/doc/Documentation/acpi/initrd_table_override.txt > > Dan recently posted a patch that lets this happen for the HMAT: > > https://lists.01.org/pipermail/linux-nvdimm/2017-December/013545.html > > I'm working right now on getting an easier way to generate HMAT tables - I'll > let you know when I have something working. I've posted details on how to set up test configurations using injected HMAT and SRAT tables here: https://github.com/rzwisler/hmat_examples So far I've got two different sample configs, and we can add more as they are useful. Having the sample configs in github is also nice because if someone finds a config that causes a kernel issue it can be reported then added to this list of example configs for future testing. Please let me know if you have trouble getting this working. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org