[edk2-devel] [PATCH edk2-platforms v5 0/1] Platform/QemuSbsa: add GIC ITS

Marcin Juszkiewicz posted 1 patch 8 months, 1 week ago
Failed in applying to current master (apply log)
Silicon/Qemu/SbsaQemu/SbsaQemu.dec            |   4 +
Platform/Qemu/SbsaQemu/SbsaQemu.dsc           |   4 +
.../Qemu/SbsaQemu/AcpiTables/AcpiTables.inf   |   1 +
.../SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf       |   2 +
.../SbsaQemuPlatformDxe.inf                   |   1 +
.../Include/IndustryStandard/SbsaQemuAcpi.h   |  11 +
.../Include/IndustryStandard/SbsaQemuSmc.h    |   1 +
.../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 206 ++++++++++++++++++
.../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c |  10 +
9 files changed, 240 insertions(+)
[edk2-devel] [PATCH edk2-platforms v5 0/1] Platform/QemuSbsa: add GIC ITS
Posted by Marcin Juszkiewicz 8 months, 1 week ago
SBSA Reference Platform can have GIC ITS present. And when it has then
we can have complex PCI Express setup (and some other things).

On systems with GIC ITS support it's 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.

On system where GIC ITS is not present (like QEMU 8.0) it's address is
not set and then there is no mention of ITS in MADT and there is no
IORT, Linux boots.

Changes since v4:
- All changes in one patch as requested.

Changes since v3:
- use proper amount of nodes (3) in IORT

Changes since v2:
- no ITS == no IORT

Changes since v1:
- IORT is generated in C
- no ITS == no ITS node in IORT
- introduced PcdSmmuBase

Shashi Mallela (1):
  Platform/SbsaQemu: add GIC ITS support

 Silicon/Qemu/SbsaQemu/SbsaQemu.dec            |   4 +
 Platform/Qemu/SbsaQemu/SbsaQemu.dsc           |   4 +
 .../Qemu/SbsaQemu/AcpiTables/AcpiTables.inf   |   1 +
 .../SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf       |   2 +
 .../SbsaQemuPlatformDxe.inf                   |   1 +
 .../Include/IndustryStandard/SbsaQemuAcpi.h   |  11 +
 .../Include/IndustryStandard/SbsaQemuSmc.h    |   1 +
 .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 206 ++++++++++++++++++
 .../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c |  10 +
 9 files changed, 240 insertions(+)

-- 
2.41.0



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107954): https://edk2.groups.io/g/devel/message/107954
Mute This Topic: https://groups.io/mt/100898113/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-