lkml.org 
[lkml]   [2017]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 0/3] create sysfs representation of ACPI HMAT
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.

\
 
 \ /
  Last update: 2017-12-20 17:42    [W:0.149 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site