From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (EUR01-HE1-obe.outbound.protection.outlook.com [40.107.13.44]) by mx.groups.io with SMTP id smtpd.web08.12.1620665045345857352 for ; Mon, 10 May 2021 09:44:05 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=5kBmjNz6; spf=pass (domain: arm.com, ip: 40.107.13.44, mailfrom: samer.el-haj-mahmoud@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=48moLy+wgTKNaM1bHX0QqBjOvkq9/h5ivDo0pwhJ1yE=; b=5kBmjNz609JAUeBWK0r5XK/qOUwOWlNNTeorSzG4gBbQb9LKIs+pSV42fu8eGOvsWevZWcfssK0O2wxduTl+yB8fmUBWbRiSfZU85WW5ak4U3zFhOlYNpIMgwGvpVNVMGEfwYZ6loXy8B3lB/m1N9qEfNc6XqWxErF8rr7pKmLA= Received: from AM5PR0701CA0056.eurprd07.prod.outlook.com (2603:10a6:203:2::18) by DB6PR0801MB1752.eurprd08.prod.outlook.com (2603:10a6:4:3c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Mon, 10 May 2021 16:44:02 +0000 Received: from AM5EUR03FT056.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:2:cafe::2f) by AM5PR0701CA0056.outlook.office365.com (2603:10a6:203:2::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.20 via Frontend Transport; Mon, 10 May 2021 16:44:02 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT056.mail.protection.outlook.com (10.152.17.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:44:01 +0000 Received: ("Tessian outbound 13cdc29c30b8:v91"); Mon, 10 May 2021 16:44:01 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 497c9cf785ca140e X-CR-MTA-TID: 64aa7808 Received: from 8dab00a44c88.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BB610529-6C0C-43A6-8A91-2AB2DE719763.1; Mon, 10 May 2021 16:43:49 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 8dab00a44c88.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 10 May 2021 16:43:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WuXKep+/CyHET/6ijQdB7Ag02lNMB7IVXMqIah1+X/aaT+KAB+/ynuEh7t/rh2Fv4oMj3oyfJXCBHx2gXkgPfMPts9GKjKeW64VvlSAuR/ZpmzZwXqhg/J8XSbt6BM95kfBBM0ulW0iLzbz1sIfNmW4i6js5GHSoiEYuZJqnXdliMkLAxsnvwsn+vk37DlhgLo1ueu1ql1u4dQ+qh7SONZokWryv94kBCO1nltrNNF46XszHG33IeBc+dOZD6GMUHXs1K4fk42Gn3tUL9e6KUsY59f2LM+3Cq9OwTW2IX4fHnsxEmojXKBujYX1Hpvub72Q93pJUFNMLGeSlzvqB0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=48moLy+wgTKNaM1bHX0QqBjOvkq9/h5ivDo0pwhJ1yE=; b=mDGifcXztMzwz3NdIJOIfEP7h1iGqvuAqBu2iBkE8ww+IDQH7tCxkjzhGt5giocBp/1Ze4QCqQswHclxfkNfQlfCViH4B10du0vhGc1YWggrPue0u19TOFxCzqhSxQCbb6P/7VhZi3Vq0zZuS0GWESpuOq5yHNCYOMk6Uq9Y3yHt3mAQho05xMV/ycBJRUUwyBAzDfuZzid+wDukPFKiDaMkAHDGBamrnvIkLG20xvUliSlKl/SYztkdeRpYPm7rs+WDM8cVfoLZNByNZSWcTfLjDqfbFqOKtvUjBo3sqrbJcY0pEGSLS9KX5HU8CrueiUa/qPZPF3omSoDk7O3sBA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=48moLy+wgTKNaM1bHX0QqBjOvkq9/h5ivDo0pwhJ1yE=; b=5kBmjNz609JAUeBWK0r5XK/qOUwOWlNNTeorSzG4gBbQb9LKIs+pSV42fu8eGOvsWevZWcfssK0O2wxduTl+yB8fmUBWbRiSfZU85WW5ak4U3zFhOlYNpIMgwGvpVNVMGEfwYZ6loXy8B3lB/m1N9qEfNc6XqWxErF8rr7pKmLA= Received: from PAXPR08MB6987.eurprd08.prod.outlook.com (2603:10a6:102:1df::15) by PA4PR08MB6192.eurprd08.prod.outlook.com (2603:10a6:102:ea::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Mon, 10 May 2021 16:43:46 +0000 Received: from PAXPR08MB6987.eurprd08.prod.outlook.com ([fe80::7c65:78c4:8d03:62ad]) by PAXPR08MB6987.eurprd08.prod.outlook.com ([fe80::7c65:78c4:8d03:62ad%7]) with mapi id 15.20.4108.031; Mon, 10 May 2021 16:43:46 +0000 From: "Samer El-Haj-Mahmoud" To: Jeremy Linton , "devel@edk2.groups.io" CC: Ard Biesheuvel , "leif@nuviainc.com" , "pete@akeo.ie" , "Andrei Warkentin (awarkentin@vmware.com)" , Jeremy Linton Subject: Re: [PATCH 3/3] Platform/RaspberryPi/AcpiTables: Correct _DMA consumer Thread-Topic: [PATCH 3/3] Platform/RaspberryPi/AcpiTables: Correct _DMA consumer Thread-Index: AQHXLDxK9rrtmosIqEClGyylGxm9MardHsLA Date: Mon, 10 May 2021 16:43:46 +0000 Message-ID: References: <20210408055843.2883563-1-jeremy.linton@arm.com> <20210408055843.2883563-4-jeremy.linton@arm.com> In-Reply-To: <20210408055843.2883563-4-jeremy.linton@arm.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [99.132.126.10] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: c9c5d02e-ff6c-4eea-c4fd-08d913d2d0da x-ms-traffictypediagnostic: PA4PR08MB6192:|DB6PR0801MB1752: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:923;OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: q5u84B/Jx/aQWllPFPzxF9oBYrc/s0S8NzrDJEMyg6fIR2AUagA8VIPIgBEgK+IwU0pprdke+8uuoZB+e2mUC0XIw9P+0y+bsmWbsJMSYHUY1/+qwjreHd3y3+iKHbAMl3VXEOAkNz60dIGNIGS72uZyGRVPxkE7RKR391ZooC9ZVba6ig8XLrphtW+bkuMPip/L68NzgIdRA7+h5ODU2vZRQIe0VupRYfvAIgVyxw7Wtgz7Qv/GLBpICxOht9qdfZ2uF5HG4PudlDUijpnU3aBUdWrKXR0RjclP6jyprWP8eiCxm0NAKlnIvgAWQE9z2bAwR/C0tj/Krpck3hpOq/TBddZ8saGbWvCON9FdIGwLsWajhCOOGlc+LlgJmTNmLThTCJVipPJNai8Cf5r4LEQm+L0ot091nD7zWP9Vt5LD1DuYd78EnkH+HOoGFOuvkKZOXmxiVUFKcDLOUybVuZ6jo+lwxMmWMy7busyZah8y7XucLtJmP4ivEzOx8Gv/uf7W1FuGKi3rp5QJqY4y69roj5nUhn4s4a7ZJ1ijYHRL2O422M6LEh6++3aWzBHGNJy2kfk8QiINme1N5GxSra5U6aeGhU7pD5wX5T71r60= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR08MB6987.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(136003)(376002)(346002)(396003)(39860400002)(53546011)(6506007)(2906002)(66476007)(66446008)(66556008)(71200400001)(8936002)(83380400001)(7696005)(186003)(38100700002)(5660300002)(122000001)(86362001)(26005)(64756008)(66946007)(76116006)(110136005)(9686003)(478600001)(54906003)(33656002)(4326008)(52536014)(55016002)(8676002)(316002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Nm/yHEbVvETJwtIFaF5miOS7AWoafUls/q404NqHtqG995AvBdJdgf7F6RvB?= =?us-ascii?Q?v3A0F7lmi4iD2RvzQ7wLI8lYpUttj8GJbpaDosF2C/unM4DQbatEeZg0Cnig?= =?us-ascii?Q?a2we48tN6zSdE4dT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p+xXbCq?= =?us-ascii?Q?nZiSHzZzDsDl9j4fuKG4+0oLXCxbFFatXoSyyAyw5WrOIOA6Om1gmCluxS9i?= =?us-ascii?Q?ZXRzk3qUANcFG+TNrM6D6U573mmPZ6NHH17DZC/ci9Z/qwpR0h7ufFpkw3NB?= =?us-ascii?Q?EeXEKkd8Toa63UnAKK/TG+mgWu68V+5F3PpGwdO6Tx2IjeuXP8g3DhUPh14U?= =?us-ascii?Q?FQAfB0KvM3LzptYwqWq4nqsaZ3mTiaL24Phckso1st2M6rCz79VQ09qh5J0O?= =?us-ascii?Q?9IBPlKNM9W4TbGk6c1QoR0vPsRlBo7j+e9M50FlRIyokYWgCyazUiDwVTBn7?= =?us-ascii?Q?xcKYqySkQP7i0G6DVOHXIXdf?= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6192 Original-Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; Return-Path: Samer.El-Haj-Mahmoud@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 1919ccf7-5144-45c2-883f-08d913d2c7b2 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fw1neWR8H8h/vvp64gBgPzMe/kxdtwi/Z1XqWQrJQWSLdIFy3nHmE6RsOYTiUw0OvRtDuAau7ht4Xedg/Qiy3ORBvJHLzz3t4YNkJAvxVTzZlTrg7c3RI2L4nbTeulSmfjMpqSaLjkGkRiL0fVFbhyuF6qyhjSScWxmvDsQOQceL0Q4x336wnVhHqP9v7lr725ewQRzmsmcRTW/Wb7VVlwhOLjos18RLdaxPSyqa+1rep+TJScHCseXbRjpyUYioy3XX+KATpKrD1DPK+pEFDvFp91kQ0x8l1cN1sz38w81mxTlfmuG4yE3v1KAVCRziotcyhctceTQAvEJaWPG6iPrntgiWdtLVDnwjLGZUqo2W3n346qR+VQbrzsDml2XHnfpMXDU0TjCKfOacmMtMC5pa5GtSiNgQDJLoClV6DbecTlHL2CaUyHbhAZDEYpq+JqE1WPLrumynev8zmh06mVvvpOcu0DVJMAA0h3BKStHGp9dwlAjZwNxkfJT1qV/MfurckPU4Yyq60dP23lWTHkBum4l+ULImxkwIVTvZBx4oGzAje+mHmvG5ccnzqdNyPLw1qqnADpILRxpop1fDC4J4EWAhYmzwj/FnPiHwgAgANhBVxCjTnVAaek9SuEzLmRlmzycyEyNJUjxBFSmWEhORe6/7DgWaR45q+90qVmM= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(376002)(346002)(39840400004)(136003)(396003)(46966006)(36840700001)(53546011)(6506007)(70206006)(2906002)(8936002)(47076005)(83380400001)(7696005)(186003)(5660300002)(86362001)(336012)(26005)(9686003)(70586007)(356005)(81166007)(82310400003)(110136005)(55016002)(54906003)(33656002)(478600001)(52536014)(4326008)(316002)(8676002)(36860700001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:44:01.7134 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c9c5d02e-ff6c-4eea-c4fd-08d913d2d0da X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1752 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable +Ard's new e-mail address > -----Original Message----- > From: Jeremy Linton > Sent: Thursday, April 8, 2021 1:59 AM > To: devel@edk2.groups.io > Cc: Ard Biesheuvel ; leif@nuviainc.com; > pete@akeo.ie; Samer El-Haj-Mahmoud Mahmoud@arm.com>; Andrei Warkentin (awarkentin@vmware.com) > ; Jeremy Linton > Subject: [PATCH 3/3] Platform/RaspberryPi/AcpiTables: Correct _DMA > consumer > > 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 g= ets > ignored and the DMA values are incorrect. This fixes DMA on all the devic= es > that need a translation. > > Signed-off-by: Jeremy Linton > --- > 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/RaspberryPi/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/RaspberryPi/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) > } Name (_DMA, ResourceTemplate() {- QWordMemory > (ResourceConsumer,+ QWordMemory (ResourceProducer, , > MinFixed, MaxFixed,-- > 2.13.7 IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.