From: Igor Mammedov <imammedo@redhat.com>
To: Brice Goglin <Brice.Goglin@inria.fr>
Cc: qemu-devel@nongnu.org, "Eduardo Habkost" <eduardo@habkost.net>,
"Liu Jingqi" <jingqi.liu@intel.com>, "Tao Xu" <tao3.xu@intel.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Yanan Wang" <wangyanan55@huawei.com>
Subject: Re: [PATCH] hmat acpi: Don't require initiator value in -numa when hmat=on
Date: Mon, 20 Jun 2022 18:05:49 +0200 [thread overview]
Message-ID: <20220620180549.787983ec@redhat.com> (raw)
In-Reply-To: <76154956-85a5-9031-0168-1770d70adddc@inria.fr>
On Mon, 20 Jun 2022 17:24:18 +0200
Brice Goglin <Brice.Goglin@inria.fr> wrote:
> Le 20/06/2022 à 15:27, Igor Mammedov a écrit Machine (2966MB total) +
> Package P#0
> >> NUMANode P#2 (979MB)
> >> Group0
> >> NUMANode P#0 (980MB)
> >> Core P#0 + PU P#0
> >> Core P#1 + PU P#1
> >> Group0
> >> NUMANode P#1 (1007MB)
> >> Core P#2 + PU P#2
> >> Core P#3 + PU P#3
> > here should be a dis-assembled dump of generated HMAT table
>
>
> Hello
>
> Like what I added at the end of
> https://github.com/bgoglin/qemu/commit/d9b3f5cb1514adafa644afcc2a363f2dc9795a32
> ?
yep, only full version including headers.
(install acpica-tools on host and then when
you run your test with 'make V=1 check-qtest', it will dump
diff on console for you)
> > + a test case, see tests/qtest/bios-tables-test.c
> > for the process (at tho top) and test examples
>
>
> https://github.com/bgoglin/qemu/commit/643dfa2de8b3e1f5b5675825e5d1be5c93a9549c
>
> This passes make check V=1 but I am really not sure about what I did.
> The doc is far from easy for new contributors. Only HMAT matters here,
improvements to doc comment are welcome
> but it looks like it wanted some other tables too.
if test can't find a table with data.variant, it defaults to checking
against suffix-less variant if such exists.
you will need to provide all tables for your config that differ from
default one (i.e. not only HMAT one).
also CI runs on memory constrained systems, so limit RAM usage
to possible minimum (see other numa tests)
> Also I don't know
> about pc vs piix4 vs q35, what "tcg" is, etc.
your case is not tcg or kvm specific, so put it in generic x86 section
(just like you did) and I'd pick q35 as used machine (though it should
work with pc too)
>
> Advices appreciated.
>
>
> How are we supposed to send patches that contain binary changes?
here is a recent example of adding a new test:
https://mail.gnu.org/archive/html/qemu-devel/2022-06/msg01320.html
https://mail.gnu.org/archive/html/qemu-devel/2022-06/msg01320.html
https://mail.gnu.org/archive/html/qemu-devel/2022-06/msg01320.html
idea of splitting it on several patches is to keeps
series bisect-able
1. whitelist changes/add empty files if necessary,
2. add test which will spit warnings and one can see what has been changed/added
3. update expected blobs and remove whitelisting, so any unexpected change
will trigger test failure
(compile after each step to make sure patches are split correctly)
>
> Brice
>
>
>
next prev parent reply other threads:[~2022-06-20 16:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 12:29 [PATCH] hmat acpi: Don't require initiator value in -numa when hmat=on Brice Goglin
2022-04-06 13:44 ` Jonathan Cameron via
2022-06-17 15:59 ` Brice Goglin
2022-06-20 13:27 ` Igor Mammedov
2022-06-20 15:24 ` Brice Goglin
2022-06-20 16:05 ` Igor Mammedov [this message]
2022-06-21 10:49 ` Brice Goglin
2022-06-23 11:24 ` Jonathan Cameron via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220620180549.787983ec@redhat.com \
--to=imammedo@redhat.com \
--cc=Brice.Goglin@inria.fr \
--cc=eduardo@habkost.net \
--cc=f4bug@amsat.org \
--cc=jingqi.liu@intel.com \
--cc=qemu-devel@nongnu.org \
--cc=tao3.xu@intel.com \
--cc=wangyanan55@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).