From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Hocko Subject: Re: [PATCH v3 0/3] create sysfs representation of ACPI HMAT Date: Thu, 21 Dec 2017 14:18:05 +0100 Message-ID: <20171221131805.GE4831@dhcp22.suse.cz> References: <20171214021019.13579-1-ross.zwisler@linux.intel.com> <20171214130032.GK16951@dhcp22.suse.cz> <20171218203547.GA2366@linux.intel.com> <20171220164107.GA29103@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20171220164107.GA29103-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Sender: "Linux-nvdimm" To: Ross Zwisler Cc: "Box, David E" , Dave Hansen , "Zheng, Lv" , linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org, "Rafael J. Wysocki" , "Anaczkowski, Lukasz" , "Moore, Robert" , linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "Odzioba, Lukasz" , "Schmauss, Erik" , Len Brown , John Hubbard , Jerome Glisse , devel-E0kO6a4B6psdnm+yROfE0A@public.gmane.org, "Kogut, Jaroslaw" , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, "Koss, Marcin" , linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Brice Goglin , "Nachimuthu, Murugasamy" , "Rafael J. Wysocki" , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "Koziej, Artur" , Lahtinen, Joona List-Id: linux-api@vger.kernel.org On Wed 20-12-17 09:41:07, Ross Zwisler wrote: > 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. Thanks a lot Ross, I will try this but things are getting pretty busy here before the holiday so I won't be able to get to it and your other email before new year. Sorry about that. -- Michal Hocko SUSE Labs