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 E9C44740046 for ; Wed, 19 Jul 2023 12:09:03 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=UJguPaJQn7Cfh4Is0wu7HbEkxbLnEIHDn0NF7a29Q94=; 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:In-Reply-To:References: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=1689768542; v=1; b=cY1eV2GuSEAVa7lopnPommJuCYPsGYut5kCwtVYbi6Y7f7KBkiGFXuJ7FmB18xFbQkEOVw+z qCd2qBsvwK/OoVnzBbvOlAtLeAv2wGBXESw8S2QklSfML+BaOof9ENTX+I6/Cc2xXlpX4gVThc+ +d8mVU0p9Pt+B3aEmVet0NVU= X-Received: by 127.0.0.2 with SMTP id Hl5jYY7687511xtYE80D3UDx; Wed, 19 Jul 2023 05:09:02 -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.12044.1689768540115219894 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 B32E426074E; Wed, 19 Jul 2023 14:08:58 +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 09rYdqEH-NcG; Wed, 19 Jul 2023 14:08:56 +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 2966C260762; Wed, 19 Jul 2023 14:08:55 +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 2/3] Platform/QemuSbsa: add dynamic PcdSmmuBase Date: Wed, 19 Jul 2023 14:08:41 +0200 Message-ID: <20230719120842.1120001-3-marcin.juszkiewicz@linaro.org> In-Reply-To: <20230719120842.1120001-1-marcin.juszkiewicz@linaro.org> References: <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: ibvUwT7ht0D34Gzu30C6cYysx7686176AA= 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=cY1eV2Gu; 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 Store Smmu base address in variable in case it would be needed in more than one place. Signed-off-by: Marcin Juszkiewicz --- Silicon/Qemu/SbsaQemu/SbsaQemu.dec | 1 + Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 1 + 2 files changed, 2 insertions(+) diff --git a/Silicon/Qemu/SbsaQemu/SbsaQemu.dec b/Silicon/Qemu/SbsaQemu/S= bsaQemu.dec index ff2a4721a131..aab2894e6455 100644 --- a/Silicon/Qemu/SbsaQemu/SbsaQemu.dec +++ b/Silicon/Qemu/SbsaQemu/SbsaQemu.dec @@ -73,3 +73,4 @@ [PcdsDynamic.common] =20 # ARM Generic Interrupt Controller ITS gArmVirtSbsaQemuPlatformTokenSpaceGuid.PcdGicItsBase|0|UINT64|0x000001= 20 + gArmVirtSbsaQemuPlatformTokenSpaceGuid.PcdSmmuBase|0|UINT64|0x00000121 diff --git a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc b/Platform/Qemu/SbsaQemu= /SbsaQemu.dsc index 4ae2479628b6..be406144c242 100644 --- a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc +++ b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc @@ -525,6 +525,7 @@ [PcdsDynamicDefault.common] =20 # GIC ITS gArmVirtSbsaQemuPlatformTokenSpaceGuid.PcdGicItsBase|0 + gArmVirtSbsaQemuPlatformTokenSpaceGuid.PcdSmmuBase|0x60050000 =20 # # Set video resolution for boot options --=20 2.41.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107052): https://edk2.groups.io/g/devel/message/107052 Mute This Topic: https://groups.io/mt/100233785/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-