public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH 0/2] Set CPU model in SMBIOS
@ 2024-07-12  9:23 Marcin Juszkiewicz
  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
  0 siblings, 2 replies; 7+ messages in thread
From: Marcin Juszkiewicz @ 2024-07-12  9:23 UTC (permalink / raw)
  To: devel; +Cc: Leif Lindholm, Ard Biesheuvel, Sami Mujawar, Marcin Juszkiewicz

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]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-07-15  8:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-12  9:23 [edk2-devel] [PATCH 0/2] Set CPU model in SMBIOS Marcin Juszkiewicz
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox