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 8E06B740046 for ; Thu, 3 Aug 2023 13:43:32 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=ist57nefyuLoZroOpC2b7cNerseY+j3dLoXBAdgd/3c=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1691070211; v=1; b=L9WiUOtrx3FF1n1i+/UcCjUfa6OhMjKG8Z0miwvbhui+ZTwc8XpK+Pwtj/6VBUtlY9vYu4RJ gu0A2Myrq0d+MFrYSW5CM/Na0mgk6lplBd6Ch2uAlzwrM0Gi/MxnYMfu1QogYlFkl/oFb/n2vMH R9+7X67UBn30Jh0LJe2JiSxc= X-Received: by 127.0.0.2 with SMTP id t8TtYY7687511xlLwOxRYfwq; Thu, 03 Aug 2023 06:43:31 -0700 X-Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web11.15184.1691070210626127974 for ; Thu, 03 Aug 2023 06:43:30 -0700 X-Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 00DDF61D80 for ; Thu, 3 Aug 2023 13:43:30 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6313BC433CC for ; Thu, 3 Aug 2023 13:43:29 +0000 (UTC) X-Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-4fe3c7f16bbso1720470e87.0 for ; Thu, 03 Aug 2023 06:43:29 -0700 (PDT) X-Gm-Message-State: IbWy9hcusiQDTZXL0SwsayrUx7686176AA= X-Google-Smtp-Source: APBJJlFCZEkN0o2E8pBPVKrazkPh7TyzrufMW8NY6WAND73fLfotCZPoBMcNFIY318NYDAJ7zKPfozDUPFRv4dImeDU= X-Received: by 2002:ac2:5bce:0:b0:4fd:c844:6a43 with SMTP id u14-20020ac25bce000000b004fdc8446a43mr6320762lfn.43.1691070207348; Thu, 03 Aug 2023 06:43:27 -0700 (PDT) MIME-Version: 1.0 References: <20230719120842.1120001-1-marcin.juszkiewicz@linaro.org> In-Reply-To: <20230719120842.1120001-1-marcin.juszkiewicz@linaro.org> From: "Ard Biesheuvel" Date: Thu, 3 Aug 2023 15:43:16 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [PATCH edk2-platforms v3 0/3] Platform/QemuSbsa: add GIC ITS To: devel@edk2.groups.io, marcin.juszkiewicz@linaro.org Cc: Leif Lindholm , Ard Biesheuvel , Graeme Gregory Precedence: Bulk 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,ardb@kernel.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=L9WiUOtr; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=kernel.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 On Wed, 19 Jul 2023 at 14:09, Marcin Juszkiewicz wrote: > > 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 == no IORT > > Changes since v1: > - IORT is generated in C > - no ITS == 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 > Anyone care to review this please? > 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(-) > > -- > 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/1131722 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub [ardb@kernel.org] > ------------ > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107541): https://edk2.groups.io/g/devel/message/107541 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] -=-=-=-=-=-=-=-=-=-=-=-