Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752074AbdLUNSK (ORCPT ); Thu, 21 Dec 2017 08:18:10 -0500 Received: from mx2.suse.de ([195.135.220.15]:41990 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751430AbdLUNSI (ORCPT ); Thu, 21 Dec 2017 08:18:08 -0500 Date: Thu, 21 Dec 2017 14:18:05 +0100 From: Michal Hocko To: Ross Zwisler Cc: 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 Subject: Re: [PATCH v3 0/3] create sysfs representation of ACPI HMAT 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-Disposition: inline In-Reply-To: <20171220164107.GA29103@linux.intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1538 Lines: 38 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