From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 0919EAC1626 for ; Wed, 19 Jul 2023 12:09:01 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=4ZyRqWWhgc1xO7WW5Ot6lpK7bnV0uHRI7N2rW6kDisM=; c=relaxed/simple; d=groups.io; h=X-Received:X-Received:X-Received:X-Virus-Scanned:X-Received:X-Received:From:To:Cc:Subject:Date:Message-ID:MIME-Version:Precedence:List-Unsubscribe:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:X-Gm-Message-State:Content-Transfer-Encoding; s=20140610; t=1689768540; v=1; b=Vu6/iUMbIXrtZ5i+2s7D0nBerebxS45Bnqbstujps0vk32HYzdvMzOnZ/f+fA+f48Uxk/Fac pcu8khCBP2ftQuhSxhvUp4hp5G6hm9hDI9wh6kvrWfhqYzAm2OUI1HfQHsnIWvzBNso4vTYVbh5 5n3zX4/rQsF0Q03fYgzylvbU= X-Received: by 127.0.0.2 with SMTP id EGgPYY7687511xgiGtBGbc55; Wed, 19 Jul 2023 05:09:00 -0700 X-Received: from muminek.juszkiewicz.com.pl (muminek.juszkiewicz.com.pl [213.251.184.221]) by mx.groups.io with SMTP id smtpd.web10.12043.1689768539713548021 for ; Wed, 19 Jul 2023 05:09:00 -0700 X-Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 67447260835; Wed, 19 Jul 2023 14:08:56 +0200 (CEST) X-Virus-Scanned: Debian amavis at juszkiewicz.com.pl X-Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavis, port 10024) with ESMTP id otH9bjTcYt50; Wed, 19 Jul 2023 14:08:54 +0200 (CEST) X-Received: from applejack.lan (83.21.150.147.ipv4.supernova.orange.pl [83.21.150.147]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id B79EE26024A; Wed, 19 Jul 2023 14:08:53 +0200 (CEST) From: "Marcin Juszkiewicz" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Graeme Gregory , Marcin Juszkiewicz Subject: [edk2-devel] [PATCH edk2-platforms v3 0/3] Platform/QemuSbsa: add GIC ITS Date: Wed, 19 Jul 2023 14:08:39 +0200 Message-ID: <20230719120842.1120001-1-marcin.juszkiewicz@linaro.org> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,marcin.juszkiewicz@linaro.org X-Gm-Message-State: vXbWcd11A6IPDEtTVTEpx1SAx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="Vu6/iUMb"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linaro.org (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io 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 introduces PcdSmmuBase variable to avoid using magic number in IORT generation. Third patch takes care of system where GIC ITS is not present (like QEMU 8.0). If GIC ITS address is not set then there is no mention of it in MADT and there is no IORT, Linux boots. Changes since v2: - no ITS =3D=3D no IORT Changes since v1: - IORT is generated in C - no ITS =3D=3D no ITS node in IORT - introduced PcdSmmuBase Marcin Juszkiewicz (2): Platform/QemuSbsa: add dynamic PcdSmmuBase Platform/SbsaQemu: handle systems without GIC ITS 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 | 208 +++++++++++++++++- .../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c | 10 + 9 files changed, 241 insertions(+), 1 deletion(-) --=20 2.41.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107051): https://edk2.groups.io/g/devel/message/107051 Mute This Topic: https://groups.io/mt/100233784/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-