public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Xiong Yining" <xiongyining1480@phytium.com.cn>
To: devel@edk2.groups.io
Cc: quic_llindhol@quicinc.com, ardb+tianocore@kernel.org,
	graeme@xora.org.uk, marcin.juszkiewicz@linaro.org,
	chenbaozi@phytium.com.cn,
	Xiong Yining <xiongyining1480@phytium.com.cn>
Subject: [edk2-devel] [PATCH 0/2] Align the PPTT tables with qemu configuration
Date: Wed, 17 Apr 2024 11:26:32 +0000	[thread overview]
Message-ID: <20240417112634.120633-1-xiongyining1480@phytium.com.cn> (raw)

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



             reply	other threads:[~2024-04-17 11:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-17 11:26 Xiong Yining [this message]
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

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=20240417112634.120633-1-xiongyining1480@phytium.com.cn \
    --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