From: "Marcin Juszkiewicz" <marcin.juszkiewicz@linaro.org>
To: devel@edk2.groups.io
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>,
Leif Lindholm <quic_llindhol@quicinc.com>,
Graeme Gregory <graeme@xora.org.uk>,
Shashi Mallela <shashi.mallela@linaro.org>,
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Subject: [PATCH edk2-platforms v1 0/2] Platform/QemuSbsa: add GIC ITS
Date: Wed, 28 Jun 2023 18:08:08 +0200 [thread overview]
Message-ID: <20230628160810.676882-1-marcin.juszkiewicz@linaro.org> (raw)
SBSA Reference Platform can have GIC ITS present. And when it has then
we can have complex PCI Express setup (and some other things).
First patch adds support for GIC ITS. Address is read from TF-A via SMC
call. IORT is generated, MADT has ITS information. Linux boots and sees
GIC ITS as expected. SMMU information is also provided in IORT and used.
Second patch tries to take care of system where GIC ITS is not present
(like week old QEMU). If GIC ITS address is not set then there is no
mention of it in MADT, Linux boots.
But information is still present in IORT. I do not know ASL and do not
know how to make ITS information present only when needed. Any help or
pointers?
Marcin Juszkiewicz (1):
Platform/QemuSbsa: handle lack of ITS in MADT
Shashi Mallela (1):
Platform/SbsaQemu: add GIC ITS support
Silicon/Qemu/SbsaQemu/SbsaQemu.dec | 3 +
Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 3 +
.../Qemu/SbsaQemu/AcpiTables/AcpiTables.inf | 2 +
.../SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf | 1 +
.../SbsaQemuPlatformDxe.inf | 1 +
.../Include/IndustryStandard/SbsaQemuAcpi.h | 11 ++
.../Include/IndustryStandard/SbsaQemuSmc.h | 1 +
.../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 18 +++
.../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c | 10 ++
Silicon/Qemu/SbsaQemu/AcpiTables/Iort.aslc | 135 ++++++++++++++++++
10 files changed, 185 insertions(+)
create mode 100644 Silicon/Qemu/SbsaQemu/AcpiTables/Iort.aslc
--
2.41.0
next reply other threads:[~2023-06-28 16:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-28 16:08 Marcin Juszkiewicz [this message]
2023-06-28 16:08 ` [PATCH edk2-platforms v1 1/2] Platform/SbsaQemu: add GIC ITS support Marcin Juszkiewicz
2023-06-28 16:08 ` [PATCH edk2-platforms v1 2/2] Platform/QemuSbsa: handle lack of ITS in MADT 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=20230628160810.676882-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