public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH edk2-platforms v1 0/2] Platform/QemuSbsa: add GIC ITS
@ 2023-06-28 16:08 Marcin Juszkiewicz
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Marcin Juszkiewicz @ 2023-06-28 16:08 UTC (permalink / raw)
  To: devel
  Cc: Ard Biesheuvel, Leif Lindholm, Graeme Gregory, Shashi Mallela,
	Marcin Juszkiewicz

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


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

end of thread, other threads:[~2023-06-28 16:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-28 16:08 [PATCH edk2-platforms v1 0/2] Platform/QemuSbsa: add GIC ITS Marcin Juszkiewicz
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

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