From nobody Wed Feb 11 03:03:47 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+79614+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+79614+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1629432989; cv=none; d=zohomail.com; s=zohoarc; b=A6B77VVB/gfRcLW9zrm+s/aXyt+RgLlRYx+mOF4Uuq+NwdMO8I4CC7ZjE5C/0EcOv3cXaz7/Jpim950ZGv2BXurpBeEYnKwU6tDOtlaFnwcvpUEYlvJVHgZ9v9CQhL4Qi02KUVDR9zgB3jsQpuhgcG4QLJ6uey5I02cVgiZE990= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629432989; 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=hSEk0ZOcYRha0Igj5R3oZWlKdmE2doqsTP9Ya0dFakg=; b=PoA/PMc+Cd8Jv86CFfcIZ/eI2YE4Snxa24DNM5sfFI/mWMVqHdcbcdPp3P6P1nltqlZH9panWi7r1u0spXZH6r7JZqcitA1MMBWRFqJ6szqBaevSuxk2t+NJk3QsBMaXs55MzxI7reRlrLyB1B/rAqJhehAme2v1+YXqhNiC4HU= 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+79614+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1629432989239610.2268644317608; Thu, 19 Aug 2021 21:16:29 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id R3XMYY1788612xuDIe2YXDaq; Thu, 19 Aug 2021 21:16:28 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.80432.1629432986085559127 for ; Thu, 19 Aug 2021 21:16:27 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 93A9E12FC; Thu, 19 Aug 2021 21:16:27 -0700 (PDT) X-Received: from u200856.usa.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4FDF33F40C; Thu, 19 Aug 2021 21:16:27 -0700 (PDT) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: pete@akeo.ie, ardb+tianocore@kernel.org, awarkentin@vmware.com, Sunny.Wang@arm.com, samer.el-haj-mahmoud@arm.com, Jeremy Linton Subject: [edk2-devel] [PATCH v3 7/7] Platform/RaspberryPi: Add Linux quirk support Date: Thu, 19 Aug 2021 23:16:19 -0500 Message-Id: <20210820041619.87248-8-jeremy.linton@arm.com> In-Reply-To: <20210820041619.87248-1-jeremy.linton@arm.com> References: <20210820041619.87248-1-jeremy.linton@arm.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,jeremy.linton@arm.com X-Gm-Message-State: 89xOm9GPbschbtEEMlhQSpovx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1629432988; bh=eff6UhPDVRUpaJug0oxtn83L8CIZEFfD433/8o6kIZk=; h=Cc:Date:From:Reply-To:Subject:To; b=byKlBgnvpSsoER+eWGiScjETFFusMPao/B6uWjje9mkWvfhpd9P180MpiH7uLzgDs7e l1ehzF2tXR/W66E/xyGcxjP1g4cK6hbRKQWeKQGB360BTsbheK63LSntz7QPBQiMswsf+ lvMVakyAMvN3cWEj6LJRqrgb/6SgWHNU1gU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1629432991356100021 Content-Type: text/plain; charset="utf-8" Linux, for the time being has refused to support the Arm standard SMCCC for PCIe configuration. Instead they want to continue to maintain per device "quirks". As the RPI isn't really ECAM this is a bit more involved because the MCFG can't really describe the root port+config registers situation. Further platforms which support the SMCCC shouldn't have a MCFG, so we need an additional way to tell linux what it needs to know about this platform. Signed-off-by: Jeremy Linton Reviewed-By: Samer El-Haj-Mahmoud Reviewed-by: Andrei Warkentin --- Platform/RaspberryPi/AcpiTables/Pci.asl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Platform/RaspberryPi/AcpiTables/Pci.asl b/Platform/RaspberryPi= /AcpiTables/Pci.asl index dc2bd7bc9e..50fe2cbdf2 100644 --- a/Platform/RaspberryPi/AcpiTables/Pci.asl +++ b/Platform/RaspberryPi/AcpiTables/Pci.asl @@ -62,6 +62,13 @@ DefinitionBlock (__FILE__, "SSDT", 5, "RPIFDN", "RPI4PCI= E", 2) Package (4) { 0x0000FFFF, 3, zero, 178 } }) =20 + Name (_DSD, Package () { + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), + Package () { + Package () { "linux-ecam-quirk-id", "bcm2711" }, + } + }) + // Root complex resources Method (_CRS, 0, Serialized) { Name (RBUF, ResourceTemplate () { --=20 2.13.7 -=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 (#79614): https://edk2.groups.io/g/devel/message/79614 Mute This Topic: https://groups.io/mt/85014313/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-