From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mx.groups.io with SMTP id smtpd.web09.2818.1646454001311254913 for ; Fri, 04 Mar 2022 20:20:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bsdio.com header.s=fm2 header.b=cXYkV3w4; spf=pass (domain: bsdio.com, ip: 66.111.4.26, mailfrom: rebecca@bsdio.com) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 587B35C01EA; Fri, 4 Mar 2022 23:20:00 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 04 Mar 2022 23:20:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; bh=kw5h0rKlw+FDGKJx18z/VDc6Un3Abz5c7VAEVIPaN3E=; b=cXYkV 3w4fx48BcK4yq4Ey8y4bT/eAYE4WREmhNVYuAIRUoi/z4LLf/Djk8sj9nKw6WhGg PzvAzgpSbOflOYJFUuZJXMyFN8tDMi8tXTu1ie/iHpL/9DICFJSEmIYJJ7jDlSCV OmBLEtjeC1t1lDqdgvXa3wMaJD0QSlJTUxIH9iZLTmYzDIwL0qvrxJgCENyHLwpt 2FoubVIGCsEs8gKOUNT4yBKCacx5KVGihbB6G4lbVAVtopKsmDuEXFr/1x9ifBp4 9LPq5oqPrtFrluDlalGLqZSV/hY2mpcrJBDVxdq0CfKE7l1ogTWZCzHxw1A0u5DB bheaD45GX/izT1wRA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=kw5h0rKlw+FDGKJx18z/VDc6Un3Ab z5c7VAEVIPaN3E=; b=JoLNBQZ1w/Ce1BVEUm6Z/I1Vc2oXTkn+AYQR6hZfsygDA EBcdSwtn8woeKwTiN9f7ROFiRJ92GpGGI9K/1gARABvk/Vrz4KZZrzi+GPUazQ4s q2V0NlsJP9h/JgtNfU3QhJzomGBwb94S4nS/23wlUOkZScHNAZJ5S+4VK+tl9uGF iPtbUYvzOsUuzSo8uZZXUd201sZoQcShbIDPhhh9kpU2aIyGegJMbQVwYrDpQDjS PAaRuR417woGhF0KMjJbcdPG4l1gCiihXVpvvCazhoBvbnPltpmU7ktDwBTLTf3A NY/MiuK3qa6KbcrZrwc78Zdd9vmQmo6bG2hrY8J5g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddtledgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeftvggsvggttggr ucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrghtthgvrh hnpeekueeutdekgfdtkeeiveethfeigeelteekhffhfeejffehkeeitddvleeifffgveen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrvggsvg gttggrsegsshguihhordgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 4 Mar 2022 23:19:59 -0500 (EST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Thomas Abraham , Sami Mujawar Cc: Rebecca Cran Subject: [PATCH edk2-platforms 0/3] JunoPkg: Fix AcpiSsdtRootPci.asl to use spaces and reserve ECAM area Date: Fri, 4 Mar 2022 21:19:52 -0700 Message-Id: <20220305041955.20918-1-rebecca@bsdio.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit I noticed Linux reports a firmware bug with the current Juno ACPI tables. These patches fix it by reserving the ECAM area with a RES0 device, while also converting AcpiSsdtRootPci.asl from tabs to spaces and using the standard Pcd from MdePkg for the ECAM base address. Rebecca Cran (3): Platform/ARM/JunoPkg: Convert AcpiSsdtRootPci.asl from tabs to spaces Platform/ARM/JunoPkg: Use MdePkg PcdPciExpressBaseAddress for ECAM addr Platform/ARM/JunoPkg: Reserve the ECAM area in ACPI with RES0 device Platform/ARM/JunoPkg/ArmJuno.dec | 4 +- Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf | 4 + Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf | 2 +- Platform/ARM/JunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.inf | 2 +- Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJunoLib.inf | 2 +- Platform/ARM/JunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.inf | 2 +- Platform/ARM/JunoPkg/Library/JunoPciHostBridgeLib/XPressRich3.h | 2 +- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c | 2 +- Platform/ARM/JunoPkg/Drivers/ArmJunoDxe/AcpiTables.c | 2 +- Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJunoMem.c | 4 +- Platform/ARM/JunoPkg/AcpiTables/AcpiSsdtRootPci.asl | 301 ++++++++++---------- 11 files changed, 172 insertions(+), 155 deletions(-) -- 2.25.1