Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755597AbdLTQlL (ORCPT ); Wed, 20 Dec 2017 11:41:11 -0500 Received: from mga05.intel.com ([192.55.52.43]:4738 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754310AbdLTQlJ (ORCPT ); Wed, 20 Dec 2017 11:41:09 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,432,1508828400"; d="scan'208";a="188678406" Date: Wed, 20 Dec 2017 09:41:07 -0700 From: Ross Zwisler 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 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> 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: 1223 Lines: 29 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.