From: "Marcin Juszkiewicz" <marcin.juszkiewicz@linaro.org>
To: devel@edk2.groups.io
Cc: Leif Lindholm <quic_llindhol@quicinc.com>,
Ard Biesheuvel <ardb+tianocore@kernel.org>,
Sami Mujawar <sami.mujawar@arm.com>,
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Subject: [edk2-devel] [PATCH 0/2] Set CPU model in SMBIOS
Date: Fri, 12 Jul 2024 11:23:54 +0200 [thread overview]
Message-ID: <20240712092356.517074-1-marcin.juszkiewicz@linaro.org> (raw)
During last changes to SbsaQemu platform I noticed that it says
"arm-virt" as Processor Version in SMBIOS and decided to change it.
The problem is that this value is set in stone as PcdProcessorVersion is
FixedAtBuild one.
So first patch make it dynamic in ArmPkg and second reads MIDR and sets
cpu model name.
Marcin Juszkiewicz (2):
ArmPkg: make PcdProcessorVersion dynamic
SbsaQemu: set CPU model in SMBIOS
ArmPkg/ArmPkg.dec | 2 +-
.../Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 2 +-
.../SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf | 2 +
.../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 50 +++++++++++++++++++
3 files changed, 53 insertions(+), 1 deletion(-)
--
2.45.2
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119906): https://edk2.groups.io/g/devel/message/119906
Mute This Topic: https://groups.io/mt/107179080/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
next reply other threads:[~2024-07-12 9:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-12 9:23 Marcin Juszkiewicz [this message]
2024-07-12 9:23 ` [edk2-devel] [PATCH 1/2] ArmPkg: make PcdProcessorVersion dynamic Marcin Juszkiewicz
2024-07-12 9:23 ` [edk2-devel] [PATCH edk2-platforms 2/2] SbsaQemu: set CPU model in SMBIOS Marcin Juszkiewicz
2024-07-12 10:01 ` Ard Biesheuvel
2024-07-12 10:58 ` Marcin Juszkiewicz
2024-07-15 3:24 ` Nhi Pham via groups.io
2024-07-15 8:24 ` Ard Biesheuvel
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-list 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=20240712092356.517074-1-marcin.juszkiewicz@linaro.org \
--to=devel@edk2.groups.io \
/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