From nobody Tue Feb 10 01:31:05 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+87301+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+87301+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1646454005; cv=none; d=zohomail.com; s=zohoarc; b=OhCZWffPQ0lTHvURTJpnNtGJLCD1u6IzewMeGDD4GmaLjyo6wfLhLlgu4NeDT0zBCcMhUgtSR0a5IWZfgIS/Qmn0o7tvdE/1jcF44PAbaHGRTwqDX6ePdJ+Cnu5Xix5slGbj1zJT5cAL2oUSkdWfUu5GbWq9jc69pSGpbVvB4xU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1646454005; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=C+VIwERxWjzMpDDcv1LOeqb54JpOVaSYApaVUIcDzSA=; b=V25QKo4XzMvijZtEGo/qi/N4hTP8KApYbrM8wbual7GFciY0eSfYGY0jjmNf5QDpneTDX3IVoUSsyRuMxPzSU9dEvoWOgL3FvOdSKETxH0S3MEFDDDtrHFISPBJW3btQlHaSFVgpIT1dRiLeS6uGoAh1C87Ow1oDauzK7N6pjPE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+87301+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1646454005073331.6417845892538; Fri, 4 Mar 2022 20:20:05 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id URiBYY1788612xTb9C0vKfi3; Fri, 04 Mar 2022 20:20:04 -0800 X-Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mx.groups.io with SMTP id smtpd.web08.2852.1646454003979910575 for ; Fri, 04 Mar 2022 20:20:04 -0800 X-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 51C6D5C01DE; Fri, 4 Mar 2022 23:20:03 -0500 (EST) X-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 04 Mar 2022 23:20:03 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddtledgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeftvggsvggt tggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrghtth gvrhhnpeevieffiedvveduteeuheeitdehtdehhfdtheefleekiedthffhfeelteeihefg veenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrvg gsvggttggrsegsshguihhordgtohhm X-ME-Proxy: X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 4 Mar 2022 23:20:02 -0500 (EST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Thomas Abraham , Sami Mujawar Cc: Rebecca Cran Subject: [edk2-devel] [PATCH edk2-platforms 3/3] Platform/ARM/JunoPkg: Reserve the ECAM area in ACPI with RES0 device Date: Fri, 4 Mar 2022 21:19:55 -0700 Message-Id: <20220305041955.20918-4-rebecca@bsdio.com> In-Reply-To: <20220305041955.20918-1-rebecca@bsdio.com> References: <20220305041955.20918-1-rebecca@bsdio.com> 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,rebecca@bsdio.com X-Gm-Message-State: NyrxEM5GUTBiRIhC71PY7Pw3x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1646454004; bh=O/xZtF65qPViEpfS+Ce0P8oqPTNgIEyErapet9viybg=; h=Cc:Date:From:Reply-To:Subject:To; b=uPEiI7CR2Ujw0ukFA/aXF0B93BLMfy5bq14/J8V2pZ560lG4/ljUZn5aYMb1hUl9KUd v7K9s1/cV0Yd5U/MJSwv69T8UO5xs5mY7KrynTOOxwBBdUj+O42LTI6GrNOCR06moQbo+ SpI/y4uvqswzBRDV4gSf7brefDQzpZj8beg= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1646454006232100010 Content-Type: text/plain; charset="utf-8" Add a RES0 device to the SSDT to reserve the PCI ECAM area. This fixes the warning that Linux prints: acpi PNP0A08:00: [Firmware Bug]: ECAM area [mem 0x40000000-0x4fffffff] not reserved in ACPI namespace Signed-off-by: Rebecca Cran Reviewed-by: Sami Mujawar Tested-by: Sami Mujawar --- Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf | 4 ++++ Platform/ARM/JunoPkg/AcpiTables/AcpiSsdtRootPci.asl | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf b/Platform/ARM/= JunoPkg/AcpiTables/AcpiTables.inf index f140febc4ad4..9a76475765f0 100644 --- a/Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf +++ b/Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf @@ -45,6 +45,10 @@ [FixedPcd] gArmTokenSpaceGuid.PcdGenericWatchdogControlBase gArmTokenSpaceGuid.PcdGenericWatchdogRefreshBase =20 + gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress + gArmJunoTokenSpaceGuid.PcdPciConfigurationSpaceSize + gArmJunoTokenSpaceGuid.PcdPciConfigurationSpaceLimit + # # PL011 UART Settings for Serial Port Console Redirection # diff --git a/Platform/ARM/JunoPkg/AcpiTables/AcpiSsdtRootPci.asl b/Platform= /ARM/JunoPkg/AcpiTables/AcpiSsdtRootPci.asl index 317b621e013e..e60fc42a3340 100644 --- a/Platform/ARM/JunoPkg/AcpiTables/AcpiSsdtRootPci.asl +++ b/Platform/ARM/JunoPkg/AcpiTables/AcpiSsdtRootPci.asl @@ -140,6 +140,19 @@ DefinitionBlock("SsdtPci.aml", "SSDT", 1, "ARMLTD", "A= RM-JUNO", EFI_ACPI_ARM_OEM Return (RBUF) } // Method(_CRS) =20 + Device (RES0) { + Name (_HID, "PNP0C02" /* PNP Motherboard Resources */) // _HID: H= ardware ID + Name (_CRS, ResourceTemplate () { // _CRS: C= urrent Resource Settings + QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, N= onCacheable, ReadWrite, + 0x0000000000000000, // Granula= rity + FixedPcdGet64 (PcdPciExpressBaseAddress), // Range M= inimum + FixedPcdGet64 (PcdPciConfigurationSpaceLimit), // Range M= aximum + 0x0000000000000000, // Transla= tion Offset + FixedPcdGet64 (PcdPciConfigurationSpaceSize), // Length + ,, , AddressRangeMemory, TypeStatic) + }) + } + // // OS Control Handoff // --=20 2.25.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#87301): https://edk2.groups.io/g/devel/message/87301 Mute This Topic: https://groups.io/mt/89565202/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-