public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH 0/2] Align the PPTT tables with qemu configuration
@ 2024-04-17 11:26 Xiong Yining
  2024-04-17 11:26 ` [edk2-devel] [PATCH 1/2] Platform/SbsaQemu: get the information of CPU topology via SMC calls Xiong Yining
  2024-04-17 11:26 ` [edk2-devel] [PATCH 2/2] Silicon/SbsaQemu: align the PPTT tables with qemu configuration Xiong Yining
  0 siblings, 2 replies; 5+ messages in thread
From: Xiong Yining @ 2024-04-17 11:26 UTC (permalink / raw)
  To: devel
  Cc: quic_llindhol, ardb+tianocore, graeme, marcin.juszkiewicz,
	chenbaozi, Xiong Yining

To align the CPU topology information recognized by the operating system 
with the CPU topology information configured by QEMU, we need to get the 
information of topology to have complex PPTT tables setups.

When creating the pptt table, we considered the cluster layer, 
SBSA Reference Platform has cluster support on qemu 
https://lists.gnu.org/archive/html/qemu-devel/2024-03/msg02951.html.

We use the SMC to get CPU topology information, the TF-A part is here
https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/27189.

Signed-off-by: Xiong Yining <xiongyining1480@phytium.com.cn>

Xiong Yining (2):
  Platform/SbsaQemu: get the information of CPU topology via SMC calls
  Silicon/SbsaQemu: align the PPTT tables with qemu configuration

 .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.h |  12 ++
 .../Include/IndustryStandard/SbsaQemuAcpi.h   |  32 ----
 .../Include/IndustryStandard/SbsaQemuSmc.h    |   1 +
 .../Include/Library/HardwareInfoLib.h         |  26 ++++
 .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 140 +++++++++++++-----
 .../SbsaQemuHardwareInfoLib.c                 |  33 +++++
 6 files changed, 174 insertions(+), 70 deletions(-)

-- 
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#117916): https://edk2.groups.io/g/devel/message/117916
Mute This Topic: https://groups.io/mt/105575037/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



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

end of thread, other threads:[~2024-06-21  8:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-17 11:26 [edk2-devel] [PATCH 0/2] Align the PPTT tables with qemu configuration Xiong Yining
2024-04-17 11:26 ` [edk2-devel] [PATCH 1/2] Platform/SbsaQemu: get the information of CPU topology via SMC calls Xiong Yining
2024-06-21  8:29   ` Marcin Juszkiewicz
2024-04-17 11:26 ` [edk2-devel] [PATCH 2/2] Silicon/SbsaQemu: align the PPTT tables with qemu configuration Xiong Yining
2024-06-21  8:29   ` Marcin Juszkiewicz

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