From: "Michael S. Tsirkin" <mst@redhat.com>
To: Julia Suvorova <jusual@redhat.com>
Cc: qemu-devel@nongnu.org, Igor Mammedov <imammedo@redhat.com>,
Ani Sinha <ani@anisinha.ca>
Subject: Re: [PATCH v2 0/5] hw/smbios: add core_count2 to smbios table type 4
Date: Fri, 12 Aug 2022 05:46:47 -0400 [thread overview]
Message-ID: <20220812054604-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20220731162141.178443-1-jusual@redhat.com>
On Sun, Jul 31, 2022 at 06:21:36PM +0200, Julia Suvorova wrote:
> The SMBIOS 3.0 specification provides the ability to reflect over
> 255 cores. The 64-bit entry point has been used for a while, but
> structure type 4 has not been updated before, so the dmidecode output
> looked like this (-smp 280):
>
> Handle 0x0400, DMI type 4, 42 bytes
> Processor Information
> ...
> Core Count: 24
> Core Enabled: 24
> Thread Count: 1
> ...
>
> Big update in the bios-tables-test as it couldn't work with SMBIOS 3.0.
Looks good to me. I tagged this but just to help make sure it's
not lost pls ping me after the release.
> v2:
> * generate tables type 4 of different sizes based on the
> selected smbios version
> * use SmbiosEntryPoint* types instead of creating new constants
> * refactor smbios_cpu_test [Igor, Ani]
> * clarify signature check [Igor]
> * add comments with specifications and clarification of the structure loop [Ani]
>
> Julia Suvorova (5):
> hw/smbios: add core_count2 to smbios table type 4
> bios-tables-test: teach test to use smbios 3.0 tables
> tests/acpi: allow changes for core_count2 test
> bios-tables-test: add test for number of cores > 255
> tests/acpi: update tables for new core count test
>
> hw/smbios/smbios_build.h | 9 +-
> include/hw/firmware/smbios.h | 11 ++
> hw/smbios/smbios.c | 18 +++-
> tests/qtest/bios-tables-test.c | 148 ++++++++++++++++++++-------
> tests/data/acpi/q35/APIC.core-count2 | Bin 0 -> 2478 bytes
> tests/data/acpi/q35/DSDT.core-count2 | Bin 0 -> 32414 bytes
> tests/data/acpi/q35/FACP.core-count2 | Bin 0 -> 244 bytes
> 7 files changed, 144 insertions(+), 42 deletions(-)
> create mode 100644 tests/data/acpi/q35/APIC.core-count2
> create mode 100644 tests/data/acpi/q35/DSDT.core-count2
> create mode 100644 tests/data/acpi/q35/FACP.core-count2
>
> --
> 2.35.3
prev parent reply other threads:[~2022-08-12 9:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-31 16:21 [PATCH v2 0/5] hw/smbios: add core_count2 to smbios table type 4 Julia Suvorova
2022-07-31 16:21 ` [PATCH v2 1/5] " Julia Suvorova
2022-08-24 16:00 ` Igor Mammedov
2022-07-31 16:21 ` [PATCH v2 2/5] bios-tables-test: teach test to use smbios 3.0 tables Julia Suvorova
2022-08-25 7:37 ` Igor Mammedov
2022-07-31 16:21 ` [PATCH v2 3/5] tests/acpi: allow changes for core_count2 test Julia Suvorova
2022-07-31 16:21 ` [PATCH v2 4/5] bios-tables-test: add test for number of cores > 255 Julia Suvorova
2022-08-25 7:57 ` Igor Mammedov
2022-07-31 16:21 ` [PATCH v2 5/5] tests/acpi: update tables for new core count test Julia Suvorova
2022-08-12 9:46 ` Michael S. Tsirkin [this message]
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=20220812054604-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=ani@anisinha.ca \
--cc=imammedo@redhat.com \
--cc=jusual@redhat.com \
--cc=qemu-devel@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.