From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0618.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe41::618]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2A14821A6F107 for ; Wed, 31 May 2017 03:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.onmicrosoft.com; s=selector1-cadence-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=fdp0uVNZ2CPIfYVEM+bmsN6YoVwMy4lCaPa2vsfaVq8=; b=qml+PU2M1l6qxKND7ns9J7TNZpEC1kf++gbQDs3u6+9xLG/P+dqJKTw8pYSh+nf6ncu3GXVpLVdFAlmGW+zm4edZmiW06mzztWDca0lPjsBdR+iPYVCnmzp0augqLW42AzeP4lubRMNItp5yUNIX47V6JW464tQIm40I8IeCqjk= Received: from BN6PR07MB3154.namprd07.prod.outlook.com (10.172.105.136) by BN6PR07MB3154.namprd07.prod.outlook.com (10.172.105.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Wed, 31 May 2017 10:51:53 +0000 Received: from BN6PR07MB3154.namprd07.prod.outlook.com ([10.172.105.136]) by BN6PR07MB3154.namprd07.prod.outlook.com ([10.172.105.136]) with mapi id 15.01.1124.020; Wed, 31 May 2017 10:51:53 +0000 From: Scott Telford To: Ard Biesheuvel CC: Leif Lindholm , "edk2-devel@lists.01.org" , "Tian, Feng" , "Zeng, Star" Thread-Topic: [edk2] [PATCH] Copy bus scanning workaround from ARM Juno PCIe driver. Thread-Index: AQHS09/nXLr4eh9yHUuOVzL481c7pqICH14AgAEEYzCAAGFyAIADMeKAgAAuwACABD3SQIABj3eAgAGaoUA= Date: Wed, 31 May 2017 10:51:53 +0000 Message-ID: References: <1495556147-6883-1-git-send-email-stelford@cadence.com> <20170526145029.GM32240@bivouac.eciton.net> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc3RlbGZvcmRcYXBwZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRiYTI5ZTM1Ylxtc2dzXG1zZy0yNjY4ZDg0Ny00NWVmLTExZTctODcxNC01ODkxY2Y3N2FjOTRcYW1lLXRlc3RcMjY2OGQ4NDgtNDVlZi0xMWU3LTg3MTQtNTg5MWNmNzdhYzk0Ym9keS50eHQiIHN6PSIyMDAyIiB0PSIxMzE0MDcwMTUxMTI1MzUwNzYiIGg9IlBNSGR4MFRFdlc5MVdyblRYOHFoS0xyY2VLVT0iIGlkPSIiIGJsPSIwIiBibz0iMSIvPjwvbWV0YT4= authentication-results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=cadence.com; x-originating-ip: [213.131.238.28] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BN6PR07MB3154; 7:ub2pkTCuyS/4iZ85RmTCX3eaijBhnxH47k8qfEUAqxHU2VSDtZE2HyKqBQ9l5uD9mnz5ci0SyWdBkwCvqYkKH34XtR/tMgv9laJzIRlHJp0l6VgsitpPxlN9bMm5NO+hYQLWfLHo4uutUuwKovLu+BEP7PMzGIAaA8U7dr3RwizM/XewTMIQ7kVDzXrwwht8TA4w+54NfbnKLFy13jZrP/OH8l+NoOrzU1VHiOzT3xRof5UIc4BK3AyodpbbH5f6sippgh+DigYXhBoD7cHOXNBWaHHgnZ9T/FgnkhKiiVIrjW8dO14l8rRGd1zacODewFW6qbhBTyHVkGpOp5TXrQ==; 20:ffW/4r1wBcw7kibU+3DkOakcfjeIoEpYezadDozuNlyHi5twJP6uNK6iaJO/OVmCh4Nx6eRJ2rhEEdjh8aUyiwj8H2xrcqPobcPIGQqNgdH+da7kdlinW25Ns/uJFePgAO5ASBbesVYpHZVOn28qf7+JK0z/Gq/s91vX1+/xwLHNfoknKQWPoNsvRkGcZ6xT9Zl4J6I44/G+TLx9gTGJu9vSHXelqHOYcGIfxnpxQDvKWcoJU7F0GJ3SI2YQCdSw x-ms-traffictypediagnostic: BN6PR07MB3154: x-ms-office365-filtering-correlation-id: 2c8f98ef-6015-4df9-200b-08d4a8130c99 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:BN6PR07MB3154; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(162533806227266)(72806322054110)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(6041248)(20161123564025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(6072148); SRVR:BN6PR07MB3154; BCL:0; PCL:0; RULEID:; SRVR:BN6PR07MB3154; x-forefront-prvs: 0324C2C0E2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39840400002)(39410400002)(39400400002)(39850400002)(66066001)(53936002)(8676002)(81166006)(8936002)(53546009)(86362001)(110136004)(25786009)(38730400002)(478600001)(9686003)(551934003)(55016002)(4326008)(33656002)(54906002)(7696004)(229853002)(50986999)(189998001)(54356999)(99286003)(76176999)(93886004)(122556002)(2900100001)(6506006)(5660300001)(2906002)(7736002)(74316002)(305945005)(77096006)(102836003)(6116002)(3846002)(6916009)(14454004)(6436002)(3280700002)(2950100002)(3660700001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3154; H:BN6PR07MB3154.namprd07.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2017 10:51:53.3414 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3154 Subject: Re: [PATCH] Copy bus scanning workaround from ARM Juno PCIe driver. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2017 10:50:55 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 PiBGcm9tOiBBcmQgQmllc2hldXZlbCBbbWFpbHRvOmFyZC5iaWVzaGV1dmVsQGxpbmFyby5vcmdd DQo+IFNlbnQ6IDMwIE1heSAyMDE3IDExOjE0DQo+IFRvOiBTY290dCBUZWxmb3JkIDxzdGVsZm9y ZEBjYWRlbmNlLmNvbT4NCj4gQ2M6IExlaWYgTGluZGhvbG0gPGxlaWYubGluZGhvbG1AbGluYXJv Lm9yZz47IGVkazItZGV2ZWxAbGlzdHMuMDEub3JnIDxlZGsyLQ0KPiBkZXZlbEBtbDAxLjAxLm9y Zz47IFRpYW4sIEZlbmcgPGZlbmcudGlhbkBpbnRlbC5jb20+OyBaZW5nLCBTdGFyDQo+IDxzdGFy LnplbmdAaW50ZWwuY29tPg0KPiBTdWJqZWN0OiBSZTogW2VkazJdIFtQQVRDSF0gQ29weSBidXMg c2Nhbm5pbmcgd29ya2Fyb3VuZCBmcm9tIEFSTSBKdW5vDQo+IFBDSWUgZHJpdmVyLg0KDQo+ID4+ IEknZCBzdGlsbCBsaWtlIHRvIHVuZGVyc3RhbmQgd2h5IHRoaXMgaXNzdWUgZG9lcyBub3Qgb2Nj dXIgdW5kZXINCj4gPj4gTGludXgsIG9yIGlmIGl0IGRvZXMgb2NjdXIsIGl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