From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-AM5-obe.outbound.protection.outlook.com (EUR03-AM5-obe.outbound.protection.outlook.com [40.107.3.73]) by mx.groups.io with SMTP id smtpd.web08.34468.1620664838504584341 for ; Mon, 10 May 2021 09:40:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=DE0IwYLO; spf=pass (domain: arm.com, ip: 40.107.3.73, 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=WHAboeiCNxplkgwqO+Q3JyvMcTS32QRUvc8A3235rqk=; b=DE0IwYLOBt8B8ftRB/OEh4nAv+0XYOTiQJEHWnaqaAgdUXjM+Pm5sxOn+5hUwht4aYJ0GvnYQXClK3iwLm7NAqmvf/RRxcIXvCMwwv96SrfSmK1hg6288ego7o1IPNeZzhvhK5AUiZxoq4T+hZxK+OJ1GOLH9ae5eL4RKV9v8wg= Received: from AM5PR0201CA0010.eurprd02.prod.outlook.com (2603:10a6:203:3d::20) by AM9PR08MB6164.eurprd08.prod.outlook.com (2603:10a6:20b:287::24) 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:40:27 +0000 Received: from AM5EUR03FT053.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:3d:cafe::34) by AM5PR0201CA0010.outlook.office365.com (2603:10a6:203:3d::20) 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:40:27 +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 AM5EUR03FT053.mail.protection.outlook.com (10.152.16.210) 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:40:27 +0000 Received: ("Tessian outbound aff50003470c:v91"); Mon, 10 May 2021 16:40:26 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2d4b3417b72f7569 X-CR-MTA-TID: 64aa7808 Received: from 4fdeee05a988.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A74FF09A-7BF4-4F0A-AEC8-0BCD89DDC8D7.1; Mon, 10 May 2021 16:40:16 +0000 Received: from FRA01-PR2-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4fdeee05a988.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 10 May 2021 16:40:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iiRGVY6TwVlTsDO1V1HH3B0WJaToLiU7fEuWIepwbO7Su3rE/WTVFfEjhui5rBMIVaA+S/MUyZa1p8hTBItqxSAtlC8vyq+bhxkTDxyyXPakhUYGimwC7P4f4PPEbr/7xHwXehv93mm6FBDoFxpdFO+GvqaAcpAKAO1QvGOjwYQ+WeFbikeZVbKnMuLyuuSPrrEcZ9X+oxAfI36uyjtfp4j9SWgm1XrkyU6dB0qWh24oEJgwKgIrKeG/VFCQ5TCVisn/0v0DIhjJPFQCV0nSK2ZJEZKHNOVq2Xw/oiVK3Kpra5SsXtkL6V3/9Q+W1NysyBmI0/83J7YIessPoqID3A== 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=WHAboeiCNxplkgwqO+Q3JyvMcTS32QRUvc8A3235rqk=; b=htJAZOd44KjO58tF/+L57Q6b0p2Bep5aq9sKSVOblp0nFAm9OtbQU4HCd40SHgqIPKcH/0dl/eRgVOUGh4XYZg7eUGcrydmli+2LLLXeOiMMwY2ys0WfKBAWiXlMaV1F8i/UyGKuTR89v2j1O9dHvlRoDrWv1v0NNc+JWxM/tiXCgmtfOoszOoz+VcGPX6l47B74SuCPILOycryR9GpGuawG+nqPuqT3gWgSSS4EjTOU6ZaDcOOKR7fe2J7FWFTeZYQgX8qIofUGq4T7PoUde6xQHAscX8VdozAK8VffhzQZe9OyPV4k24FjbIUgKm9+gEd+gM33zn4jxE2jN3GPUQ== 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=WHAboeiCNxplkgwqO+Q3JyvMcTS32QRUvc8A3235rqk=; b=DE0IwYLOBt8B8ftRB/OEh4nAv+0XYOTiQJEHWnaqaAgdUXjM+Pm5sxOn+5hUwht4aYJ0GvnYQXClK3iwLm7NAqmvf/RRxcIXvCMwwv96SrfSmK1hg6288ego7o1IPNeZzhvhK5AUiZxoq4T+hZxK+OJ1GOLH9ae5eL4RKV9v8wg= Received: from PAXPR08MB6987.eurprd08.prod.outlook.com (2603:10a6:102:1df::15) by PR2PR08MB4826.eurprd08.prod.outlook.com (2603:10a6:101:24::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.26; Mon, 10 May 2021 16:40:04 +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:40:04 +0000 From: "Samer El-Haj-Mahmoud" To: "devel@edk2.groups.io" , Samer El-Haj-Mahmoud , "Andrei Warkentin (awarkentin@vmware.com)" , Jeremy Linton CC: "leif@nuviainc.com" , "pete@akeo.ie" , Ard Biesheuvel Subject: Re: [edk2-devel] [PATCH 0/3] SD+USB perf/DMA fixes Thread-Topic: [edk2-devel] [PATCH 0/3] SD+USB perf/DMA fixes Thread-Index: AQHXLDxIx7X5xAo65UCQq1x4IchmrKqqrVkAgCLUtaCAD5uioA== Date: Mon, 10 May 2021 16:40:04 +0000 Message-ID: References: <20210408055843.2883563-1-jeremy.linton@arm.com> <167AB62D787B8F90.7155@groups.io> In-Reply-To: <167AB62D787B8F90.7155@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; 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: 0938c379-9920-4087-0df2-08d913d250f3 x-ms-traffictypediagnostic: PR2PR08MB4826:|AM9PR08MB6164: 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:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: JZJkIi41A9WL7sCqi+5CcGOhIF7kDJVodZoUDip1VXCrV/stI4jpIhJRl02OI95cVcJmT6f1yA57T1vtMzhoUAXt9GOvXvpdYAhrc2Vh753UEib8XzrXJGdfjM0gX4aA8g+XlpV0MO2SJbiYJdLX0W/RKfr/p8niPieMhmyngC23vVV4K46nyMTTCdfKItfVLI7Aa+4R1QhRRhfojgAH6ePl8kYYs6c53vc6xTxkROJDk3rYdCwN2Ww1dN1niWurQmKSDixP4L706/YScvSycQRcRtHKpKi/Qrbih0vLLgK/yDuG5YrQrb0OORzDIdIWQO5/Xk1gd4ImbCuyJlv+sj/HXode0SAWEmfI20mCFYdtoJcM0L5+lB7f4BXxUOPVnat3sO6gSlRvS6jKH/4W/pFmEJD1BWZTNQJNM6w14fiHBzCnuxUCNSFfS3eMG1qLdn9w1k/Esz+H09XGDCNdTgAe1wgTGv+20bviDLyVXRoHHq6e5190hgiIu9/8j8jZfwPOzEZdxuoOq8lgt/LKKihWCg3boG0VwfBRDBgbFejXPAnR9dmqd7bLd0kUP+nZWMaPdUxUAQUIrQC28Knom8KIeFk55vjrACGdzFeZ2FOWikz+tn1mNfQ3w5jjPJgSa/drWFsNZqSs9oVOMi/kDLbODPRcSmoCMjTVxvIgNoD0SJIDBASRrJJxHLASz6ZzT/9QJx2xYege1alVJYCFqNKDYfA9Izx3l7T83NlHg8E= 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)(39860400002)(136003)(396003)(376002)(366004)(346002)(55016002)(53546011)(66446008)(2906002)(76236003)(64756008)(7696005)(26005)(76116006)(83380400001)(6506007)(38100700002)(6636002)(186003)(8936002)(66946007)(66556008)(8676002)(9686003)(122000001)(66476007)(4326008)(110136005)(52536014)(316002)(166002)(86362001)(33656002)(5660300002)(71200400001)(478600001)(54906003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?JpQmmiEoCYkfCNOONq8mTGywoAcKhuZIcB066uBZUNCHhr5SZ3Az7hXIph7y?= =?us-ascii?Q?QkHFq4FOkiD/N1aq0wTeT4QUrSEProLuWp+791y/vZUL5Czyr/EjHwQgqZco?= =?us-ascii?Q?UpkdcX/uKlCAdNciuYzAIyt2rmD53M3itySFGcGtLSxWZO63G2/Gc6JXuvCi?= =?us-ascii?Q?pODJqVoW+6UAj4zvYG/zLuJya95+HYlVvBuF36MeNgrI505ODVvP8H8EGuLQ?= =?us-ascii?Q?aPyGtCA9fLmhO/XKQ2jEN+vdVebVuJonj0xphRG3mUevCxZLP6I+lfzREmwR?= =?us-ascii?Q?kqQzFqkfnqOvbVFmBM/ZeQL7DLkTbz8mEhW2xD/KhWH8naxh2a6i+B7d25jP?= =?us-ascii?Q?CBLUz0+m8DRw1//tMfVKPTnNGmKKOfLd9fz5ljEIH6PJSqmCx582b2cwjE5O?= =?us-ascii?Q?ra5lxFonsS+LcUjVyWwDwYnucsBLWtoBkYzB9DKGZfgQecF9GzGG/WiYi8bv?= =?us-ascii?Q?Oc3bOKa6Mq0CWIx8doX0OSUYfWzye8K+1FXIzKCl+ASv954MAZJ44OOsDNsi?= =?us-ascii?Q?3YSi2RGLE0asXKtoXNdTqyuLnEAVmVyMi8665Od99Hw4qS7fwWxJ9kzLaGIa?= =?us-ascii?Q?NqG//kkU9s2z9OpXdMPGqPIxI5qwWGfGjHGogfseELfDwFpoTTwpRNnM53fZ?= =?us-ascii?Q?mBs6UJQ3HQxKDjCXXb17UgKVOfLVmtRhBGa35mVb0+sG4mSBouZ/tiadOofA?= =?us-ascii?Q?6oAxldQm3OW+tmCvkEBaSjMmV2SxrmvLinEu3lZCpKDyM62RiGzWMt9OsNKg?= =?us-ascii?Q?5HkTBEHpNBxuKCzhTD70e2GQ51Izb9LMcRHZ1QTvVwuspWQl/2efCeeahRBL?= =?us-ascii?Q?+YCXRt56S17W//0tVxsbSWmuQV0gtenPkZyMv2ZLb4IS6AIvFEFwA3aGL+cn?= =?us-ascii?Q?YBURoeU2fR2EWULsNDJ8GXPftRHC9kRqt48uHqilG97nR5UaW/oPwMDIoil4?= =?us-ascii?Q?nmGIhkWeyTbo6AYJZXCAyqk7+8U6M+uLCzuTwTO7RFTiE6awQyhRD0urutFy?= =?us-ascii?Q?Km9zEgxDbNnlZw7AqroxeNkAThC88q+gVlBQf23wrNCa54QgF91mdCTbekLT?= =?us-ascii?Q?J3ipJVUE7Y56sldQRbQRBkwN2p2BJ3Jq8GiQqASRpBoon5H/dvtBjC2DFFtj?= =?us-ascii?Q?qmNcjL53Zzyhnsuz0+F3LqjPjFShIwYulUUWoIpt7Wt4SM2jHKYh/OzrTTey?= =?us-ascii?Q?1BgRGHHCk1KkQwvssDYp/hk0iJG7P8KoxBg95Ap9hNGhVVM6by+fsRkTXUfA?= =?us-ascii?Q?yrAW0cvOJvEv/5Tqt83vv/rbWwdEAin4D4b96cDp3aanhH25L3nPQq32d4g1?= =?us-ascii?Q?d0ecI4di3TLZ+5ChlREfW45C?= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR2PR08MB4826 Original-Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Return-Path: Samer.El-Haj-Mahmoud@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT053.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: f8ec7e30-5a19-49eb-d28a-08d913d2438a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z7d+P7AMfCjXgO9N8HErqhcrTynnWcI4n0qeuUl3y60PaDlfhfka3sKYHG9UdPHVfIcP0fjhZkQZiEunVzor8rTFEMw+tSRs2gKdOZ6fV64BJoPhhiesQsoYHQXK3iffhJNx1tIBkklZpchvHE1P9ZvqG+Z6ZjnR9LSU3f/3Lhjiaf6G00+l3AkSLydRuFHi2sIIrosC9JDWuUQceYFSeaJxI40LZAqD7PXYnB+efh95jGziL6kVoB2ivG0UvXA0+Dq99Tfncd3ugDqt3C64UA5g7FpupMtsmOZwkt6uFhiNVsI5pHbhNxl3xq7+9O9K+t8JdydyuBBeOtJNAmp3im4vqFjjiRJoPqqORK+hsUoEcVk5zheevzEjpqWJCAiQROCcQNxHYIdxIGBbXTP6hfMfLOInMDhOBrxHijD76MOCrhxdAK8oI1cSgQ+TI7nHS0OVTotvC2nxFXwDMvkoVodW8M5qQAjtfmSIiROj9XMs2LxWBhelv34swjCwypS2bItPR+yjZwenF+HbJjWGfFr81w7pbXotc4YECmhXwFGSyRJcWuFqUf7IhdY5B/wJuXv9s3R/OA6tTVzrvjk3tygKdILy2J/7tTwIEGYRHcoe4psL0mhv9XEzdfSZxxmHBdpc+CZVODd4B+5Qw1N1g2aqHZfzwbQq/UjQ3lB0ulxqHgGQxcGbim7L8pggSAUtdU4RKZkEbjRZsSyLRDgFZ07YSwjt6trHbhv2eu/s0TVHkXfyEKijs85ooVL1PaKspDSrK4OyPGR2eEx21gXtXQ== 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)(39860400002)(136003)(396003)(346002)(376002)(36840700001)(46966006)(316002)(478600001)(70206006)(70586007)(81166007)(36860700001)(54906003)(82740400003)(55016002)(9686003)(26005)(8936002)(8676002)(186003)(2906002)(356005)(110136005)(52536014)(5660300002)(83380400001)(6636002)(4326008)(76236003)(53546011)(47076005)(166002)(33656002)(7696005)(6506007)(336012)(107886003)(86362001)(82310400003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:40:27.0922 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0938c379-9920-4087-0df2-08d913d250f3 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: AM5EUR03FT053.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6164 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_PAXPR08MB69872BFB52D89E933483304290549PAXPR08MB6987eurp_" --_000_PAXPR08MB69872BFB52D89E933483304290549PAXPR08MB6987eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Adding Ard's new e-mail address From: devel@edk2.groups.io On Behalf Of Samer El-Ha= j-Mahmoud via groups.io Sent: Friday, April 30, 2021 2:28 PM To: Andrei Warkentin (awarkentin@vmware.com) ; Jere= my Linton ; devel@edk2.groups.io Cc: Ard Biesheuvel ; leif@nuviainc.com; pete@akeo.= ie; Samer El-Haj-Mahmoud Subject: Re: [edk2-devel] [PATCH 0/3] SD+USB perf/DMA fixes This is now clarified in an ACPI spec ECR (https://bugzilla.tianocore.org/= show_bug.cgi?id=3D3335). The example will be updated in a future spec errat= a to use ResourceProducer. I think this patch can resume as it is not gated by the spec anymore. From: Andrei Warkentin > Sent: Thursday, April 8, 2021 10:25 AM To: Jeremy Linton >; d= evel@edk2.groups.io Cc: Ard Biesheuvel >= ; leif@nuviainc.com; pete@akeo.ie; Samer El-Haj-Mahmoud > Subject: Re: [PATCH 0/3] SD+USB perf/DMA fixes I think Linux's behavior needs to be reconciled with the ACPI spec, which = uses _DMA with ResourceConsumer, not ResourceProducer. A ________________________________ From: Jeremy Linton > Sent: Thursday, April 8, 2021 12:58 AM To: devel@edk2.groups.io > Cc: ard.biesheuvel@arm.com >; leif@nuviainc.com >; pete@akeo.ie >; samer.el-haj-mahmoud@a= rm.com >; Andrei Warkentin >; Jeremy Linton > Subject: [PATCH 0/3] SD+USB perf/DMA fixes A large part of why the emmc & dwc2 usb controllers haven't been working properly is because the "bus" _DMA was incorrectly tagged as a consumer, when it needs to be a producer. That is why linux has been dropping the translation value portions of _DMA(). Since the emmc2 dma (with the old B0 SoC), and the dwc2 is expected to work, lets add matching 30 bit IORT entries for them. Finally, in the shuffle the high speed cap bit override was dropped from the linux patches, and I failed to add it back to the firmware values, this caused the wifi perf to be lower than it should have been. Jeremy Linton (3): Platform/RaspberryPi/Acpitables: Enable Arasan hispeed mode Platform/RaspberryPi/AcpiTables: Add further named components Platform/RaspberryPi/AcpiTables: Correct _DMA consumer Platform/RaspberryPi/AcpiTables/Dsdt.asl | 2 +- Platform/RaspberryPi/AcpiTables/Emmc.asl | 2 +- Platform/RaspberryPi/AcpiTables/Iort.aslc | 44 ++++++++++++++++++++++++++= ++++- Platform/RaspberryPi/AcpiTables/Sdhc.asl | 2 +- 4 files changed, 46 insertions(+), 4 deletions(-) -- 2.13.7 IMPORTANT NOTICE: The contents of this email and any attachments are confi= dential and may also be privileged. If you are not the intended recipient, = please notify the sender immediately and do not disclose the contents to an= y other person, use it for any purpose, or store or copy the information in= any medium. Thank you. IMPORTANT NOTICE: The contents of this email and any attachments are confi= dential and may also be privileged. If you are not the intended recipient, = please notify the sender immediately and do not disclose the contents to an= y other person, use it for any purpose, or store or copy the information in= any medium. Thank you. --_000_PAXPR08MB69872BFB52D89E933483304290549PAXPR08MB6987eurp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Adding Ard’s new e-mail address

 

From: devel@edk2.groups.io <devel@edk2.gr= oups.io> On Behalf Of Samer El-Haj-Mahmoud via groups.io
Sent: Friday, April 30, 2021 2:28 PM
To: Andrei Warkentin (awarkentin@vmware.com) <awarkentin@vmware.= com>; Jeremy Linton <Jeremy.Linton@arm.com>; devel@edk2.groups.io<= br> Cc: Ard Biesheuvel <Ard.Biesheuvel@arm.com>; leif@nuviainc.co= m; pete@akeo.ie; Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com><= br> Subject: Re: [edk2-devel] [PATCH 0/3] SD+USB perf/DMA fixes

 

This is now clarified in an ACPI spec ECR (https://bugzill= a.tianocore.org/show_bug.cgi?id=3D3335). The example will be updated in= a future spec errata to use ResourceProducer.

 

I think this patch can resume as it is not gated by= the spec anymore.

 

 

 

From: Andrei Warkentin <awarkentin@vmware.com>
Sent: Thursday, April 8, 2021 10:25 AM
To: Jeremy Linton <Jere= my.Linton@arm.com>; devel@edk2.groups.io
Cc: Ard Biesheuvel <Ar= d.Biesheuvel@arm.com>; leif@nuviainc.com; pete@akeo.ie; Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
Subject: Re: [PATCH 0/3] SD+USB perf/DMA fixes

 

I think Linux's behavior needs to be reconciled with the ACP= I spec, which uses _DMA with ResourceConsumer, not ResourceProducer.

 

A


From: Jeremy Linton <jeremy.linton@arm.com> Sent: Thursday, April 8, 2021 12:58 AM
To:
devel@edk2.group= s.io <devel@edk2.groups.io>
Cc:
ard.biesheuvel= @arm.com <ard.biesheuvel@arm.com&g= t;; leif@nuviainc.com <leif@nu= viainc.com>; pete@akeo.ie <pete@akeo.ie>; samer.el-haj-mahmou= d@arm.com <samer.el-haj-mahmoud@arm.com>; Andrei Warkentin <awarkentin@vmware.com>; Jeremy Linton <jeremy.= linton@arm.com>
Subject: [PATCH 0/3] SD+USB perf/DMA fixes

 

A large part of why = the emmc & dwc2 usb
controllers haven't been working properly is
because the "bus" _DMA was incorrectly tagged
as a consumer, when it needs to be a producer.

That is why linux has been dropping the
translation value portions of _DMA().

Since the emmc2 dma (with the old B0 SoC), and the
dwc2 is expected to work, lets add matching 30 bit
IORT entries for them.

Finally, in the shuffle the high speed cap bit override
was dropped from the linux patches, and I failed
to add it back to the firmware values, this caused
the wifi perf to be lower than it should have been.

Jeremy Linton (3):
  Platform/RaspberryPi/Acpitables: Enable Arasan hispeed mode
  Platform/RaspberryPi/AcpiTables: Add further named components
  Platform/RaspberryPi/AcpiTables: Correct _DMA consumer

 Platform/RaspberryPi/AcpiTables/Dsdt.asl  |  2 +-
 Platform/RaspberryPi/AcpiTables/Emmc.asl  |  2 +-
 Platform/RaspberryPi/AcpiTables/Iort.aslc | 44 +++++++++++++++++++++= +++++++++-
 Platform/RaspberryPi/AcpiTables/Sdhc.asl  |  2 +-
 4 files changed, 46 insertions(+), 4 deletions(-)

--
2.13.7

IMPORTANT NOTICE: The contents of this email and an= y attachments are confidential and may also be privileged. If you are not t= he intended recipient, please notify the sender immediately and do not disc= lose the contents to any other person, use it for any purpose, or store or copy the information in any medium. T= hank you.

IMPORTANT NOTICE: The contents of this email and any attachments are confi= dential and may also be privileged. If you are not the intended recipient, = please notify the sender immediately and do not disclose the contents to an= y other person, use it for any purpose, or store or copy the information in any medium. Thank you. --_000_PAXPR08MB69872BFB52D89E933483304290549PAXPR08MB6987eurp_--