From nobody Tue Feb 10 01:34:51 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+73815+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+73815+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1617861545; cv=none; d=zohomail.com; s=zohoarc; b=HI4yDQPLtDrxPXW/Si28bAkFu4sfu+0TJdXTQsM85Uf/1dyqN9rQOj+9eNj3PZ9DEJHnTJ+Fq0YHeYuLSrkylzQzXbz+AM+uYd/I0O6yx1Sig+XQpCipO6Hmn6Ye96T6DUSdq2W5QxEXJFCk5NxdHoONg940bStoDZpFjyIJJ+o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617861545; 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=TB7y1vIKvnDPGwKTBzX84EWPulcQSPkDKMZ/DhFWg5I=; b=QkSu7GvHu8LaaHCNkMMExm3xdnrLHsJax9LB6/0jmHZhtVu+HaQeBFrU+A5/5Il1xUxrYFi2MOXaYWkpNbxYnlX1aCayqPi5mAb5YXpxe4LH1LjlHCmQ9btJg4PLdYjQxzB+WvNGwrtjtEPz+OvtVCoGkL532Z3jR5PSVq9/G34= 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+73815+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1617861545809917.2479705522002; Wed, 7 Apr 2021 22:59:05 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id KvMJYY1788612xQNz6HNKHP9; Wed, 07 Apr 2021 22:59:05 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.4163.1617861539945798059 for ; Wed, 07 Apr 2021 22:59:00 -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 74FD01424; Wed, 7 Apr 2021 22:58:59 -0700 (PDT) X-Received: from mammon-tx2.austin.arm.com (mammon-tx2.austin.arm.com [10.118.28.62]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6BD4B3F73D; Wed, 7 Apr 2021 22:58:59 -0700 (PDT) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: ard.biesheuvel@arm.com, leif@nuviainc.com, pete@akeo.ie, samer.el-haj-mahmoud@arm.com, awarkentin@vmware.com, Jeremy Linton Subject: [edk2-devel] [PATCH 3/3] Platform/RaspberryPi/AcpiTables: Correct _DMA consumer Date: Thu, 8 Apr 2021 00:58:43 -0500 Message-Id: <20210408055843.2883563-4-jeremy.linton@arm.com> In-Reply-To: <20210408055843.2883563-1-jeremy.linton@arm.com> References: <20210408055843.2883563-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: BIGK8hY3eTP2RJ8ZWZTRMyNWx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1617861545; bh=HUe/yWbcU/FK11AJmEg/fTh8EqJZHTRTqBNyFuNfueY=; h=Cc:Date:From:Reply-To:Subject:To; b=eJpgfeSRoJHRNTxYgatpdfsflqSUg+Sr0qyQIr4YXGtm6fdL7t0mSGajhqitWm4gamQ QyaqfQs56iewubok/GYR24oftbRoiceteP28GrrVn1b9IH2KpyI/Pey4UjEez6H7gj79o eObyxdLyGPoFgBkxYE7PGMh3U8nZgSUFRnQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Bridge devices should be marked as producers so that their children can consume the resources. In linux if this isn't true then the translation gets ignored and the DMA values are incorrect. This fixes DMA on all the devices that need a translation. Signed-off-by: Jeremy Linton Reviewed-by: Pete Batard --- Platform/RaspberryPi/AcpiTables/Dsdt.asl | 2 +- Platform/RaspberryPi/AcpiTables/Emmc.asl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/RaspberryPi/AcpiTables/Dsdt.asl b/Platform/RaspberryP= i/AcpiTables/Dsdt.asl index d116f965e1..32cd5fc9f9 100644 --- a/Platform/RaspberryPi/AcpiTables/Dsdt.asl +++ b/Platform/RaspberryPi/AcpiTables/Dsdt.asl @@ -205,7 +205,7 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 5, "RPIFDN", "RPI"= , 2) // Only the first GB is available. // Bus 0xC0000000 -> CPU 0x00000000. // - QWordMemory (ResourceConsumer, + QWordMemory (ResourceProducer, , MinFixed, MaxFixed, diff --git a/Platform/RaspberryPi/AcpiTables/Emmc.asl b/Platform/RaspberryP= i/AcpiTables/Emmc.asl index 179dd3ecdb..0fbc2a79ea 100644 --- a/Platform/RaspberryPi/AcpiTables/Emmc.asl +++ b/Platform/RaspberryPi/AcpiTables/Emmc.asl @@ -32,7 +32,7 @@ DefinitionBlock (__FILE__, "SSDT", 5, "RPIFDN", "RPI4EMMC= ", 2) } =20 Name (_DMA, ResourceTemplate() { - QWordMemory (ResourceConsumer, + QWordMemory (ResourceProducer, , MinFixed, MaxFixed, --=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 (#73815): https://edk2.groups.io/g/devel/message/73815 Mute This Topic: https://groups.io/mt/81935645/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-