Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1779542yba; Fri, 17 May 2019 05:21:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnCIitPcLRXkKOMMiZjEr6UGZXh3WzhQDiy7uFMNXuoSpqfZznnN5nCqU6wOfXr20TKh54 X-Received: by 2002:aa7:8c12:: with SMTP id c18mr62090099pfd.194.1558095685255; Fri, 17 May 2019 05:21:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558095685; cv=none; d=google.com; s=arc-20160816; b=bQUlX/dfvlwXNp18bQniy8M+RM46eD622aeQ1ijocz1GQaF6T4deBgs3yJxoD3Oqdt GQiXcL7jvO/znt2OUpfDpOt5JUTVIZegw5fD98TTar9JZ2zusU2U7F1JjkfdhgGyhrGx S7bLxFdOomvoLBOV9yT4gDx115hnkcDKm2rpCe/nwWYq0WQG+yH2K8/I7F56ySIUUTyJ 1vIjJ5I6PnDkls4CjViP95zpuXUswxy9geP8o85m9g0CjgSVtbTBE8a64ZKtlN26/vFR qaTxR3kruchVLB1O49k2tQqpavozSurwadI6UfEP38yuGjpWsbvdTNBuEl0O6l4ZdDPr lhCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=uvjlUBzi5tBs9nF0SKImk5BtJBVOcM5EqX+Tmjh8+tI=; b=jyOb7PyP67vAMYDdwuqcz3+AX0q5zwMDn5/SNot6ejcxwnK8ZubI+59jKTsiT9SMYQ 3cT1qtMTn3PVhbl6vRZf/kK8cdIU1Cju1Ct/WQeiApNqz/77WQESMq5jZL1q3gMVCWRv OfdzGEPW351FvsTnoQJbFFiXexhPEOESuF++8SluNCKBrDQHOkXVoHPSH+PjrO1CgtTs HDd6nsJ+xk4cSDHLMKk1vhD7yJiWv9MLxaSaLdJcAIxiMyiJlOjnG/eGaIDnE1rSiYe1 aypNomyPDmQSN8Ut9cylV6bCNqXcTbTNYO4J6eJf6VrRTo/Kztisl9jJeCsDBE/cRGJy 0Z2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=QN9twPCz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h10si7788420pll.2.2019.05.17.05.21.09; Fri, 17 May 2019 05:21:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=QN9twPCz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728664AbfEQKw7 (ORCPT + 99 others); Fri, 17 May 2019 06:52:59 -0400 Received: from mail-eopbgr20082.outbound.protection.outlook.com ([40.107.2.82]:59874 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728081AbfEQKw6 (ORCPT ); Fri, 17 May 2019 06:52:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uvjlUBzi5tBs9nF0SKImk5BtJBVOcM5EqX+Tmjh8+tI=; b=QN9twPCz/9j7cZWIH50FIBy8qU/ToC2LcAmKplr3d++XhYSGlOGZitGwE0lAn9rXXcPnBsRgSFnrg0p8ccL0V14g1aur+KQ3kqnCSnxECY0lrK9DyL524l6PSlRpxxsQ5gc2+Jq52N4tzgVWH2TOJUf+tGPpiAyj5JrtQToeBik= Received: from VI1PR04MB5134.eurprd04.prod.outlook.com (20.177.50.159) by VI1PR04MB4511.eurprd04.prod.outlook.com (20.177.54.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.16; Fri, 17 May 2019 10:52:54 +0000 Received: from VI1PR04MB5134.eurprd04.prod.outlook.com ([fe80::8d0e:de86:9b49:b40]) by VI1PR04MB5134.eurprd04.prod.outlook.com ([fe80::8d0e:de86:9b49:b40%7]) with mapi id 15.20.1900.010; Fri, 17 May 2019 10:52:54 +0000 From: Laurentiu Tudor To: Fredrik Noring CC: Robin Murphy , "hch@lst.de" , "stern@rowland.harvard.edu" , "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" , "marex@denx.de" , "JuergenUrban@gmx.de" , Leo Li , "linux-kernel@vger.kernel.org" Subject: Re: [RFC PATCH v2 0/3] prerequisites for device reserved local mem rework Thread-Topic: [RFC PATCH v2 0/3] prerequisites for device reserved local mem rework Thread-Index: AQHVCmKoDp6AVawLEEugEGZuSLgHU6Zqu4uAgAA1oICAAQ5TAIAAYlQAgAFEQACAADmjAIABSOCA Date: Fri, 17 May 2019 10:52:54 +0000 Message-ID: <5fa97254-3038-6fe7-a7e7-a267262049c6@nxp.com> References: <20190514143807.7745-1-laurentiu.tudor@nxp.com> <9d34015d-c219-179b-3141-4b0de3530ac3@arm.com> <20190514182931.GA2559@sx9> <0e5f3b86-7a80-eec7-691b-34a123194208@nxp.com> <20190515162858.GB17162@sx9> <20190516151548.GB53952@sx9> In-Reply-To: <20190516151548.GB53952@sx9> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=laurentiu.tudor@nxp.com; x-originating-ip: [89.37.124.34] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 24c9fda5-a4fb-4d26-d7f0-08d6dab5d08e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(49563074)(7193020);SRVR:VI1PR04MB4511; x-ms-traffictypediagnostic: VI1PR04MB4511: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0040126723 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(396003)(39860400002)(136003)(376002)(366004)(199004)(189003)(68736007)(76176011)(66946007)(44832011)(4326008)(76116006)(73956011)(6436002)(11346002)(8676002)(36756003)(91956017)(31686004)(2616005)(54906003)(99936001)(99286004)(66066001)(186003)(486006)(6246003)(476003)(446003)(316002)(14444005)(5024004)(256004)(14454004)(102836004)(53936002)(229853002)(8936002)(478600001)(6916009)(71200400001)(71190400001)(25786009)(86362001)(7736002)(26005)(6506007)(81156014)(5660300002)(66616009)(64756008)(66476007)(66556008)(6116002)(3846002)(66446008)(81166006)(53546011)(6512007)(2906002)(6486002)(305945005)(31696002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB4511;H:VI1PR04MB5134.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: pz68AP12eQ430Ez6UTGuR0kNhI2VEdSPoEWrTrOvkzXWPkVsWtqtY+o1f+iHjMWBOQHaNAnMv6Z0nWqxMFwf/SdNVtvrVUIe+gjBfQq1Kf6D1r6Iy0I4YQ4i0u16GlBE/wvdelitricj/ch217UyjlRXV/L6+g0VBh+apiZnh3x9j8VZ6HBlBBZ8FxxDPj302NmQlpxqVG24rgT7LJPxH2XCzsUvSCYvQFPhgVcN+8lVXHEaHwqrdGn9dYxP6PaEMO/pXI90mCTwjGVDxb1DlIf/n8wvn3a0ZobC/b47F5Y/LZTb1hbmD4K1F/ZZHxnsikUezYB5ITt4B1EDqJnHrqCq/Z7cslJyL+qOXkCJHZAAb78jyc5iwuFGeQ8+uYQigqA9hAOSqL3W1yiLHtHHaYX9idOglAGhD21GzyvCMfg= Content-Type: multipart/mixed; boundary="_002_5fa9725430386fe7a7e7a267262049c6nxpcom_" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 24c9fda5-a4fb-4d26-d7f0-08d6dab5d08e X-MS-Exchange-CrossTenant-originalarrivaltime: 17 May 2019 10:52:54.1172 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4511 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --_002_5fa9725430386fe7a7e7a267262049c6nxpcom_ Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 SGkgRnJlZHJpaywNCg0KT24gMTYuMDUuMjAxOSAxODoxNSwgRnJlZHJpayBOb3Jpbmcgd3JvdGU6 DQo+IEhpIExhdXJlbnRpdSwNCj4gDQo+PiBJIHRvb2sgeW91ciBjb2RlLCBhZGRlZCB0aGUgbWlz c2luZyBtYXBwaW5nIGFuZCBwbGFjZWQgaXQgaW4gYSBwYXRjaC4NCj4+IFBsZWFzZSBzZWUgYXR0 YWNoZWQgKGNvbXBpbGUgdGVzdGVkIG9ubHkpLg0KPiANCj4gVGhhbmtzISBVbmZvcnR1bmF0ZWx5 LCB0aGUgT0hDSSBmYWlscyB3aXRoIGVycm9ycyBzdW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hIGRldm1faW9yZW1hcCgpLiBJIGNhbid0IHRoaW5rIG9mIGEg cmVsZXZhbnQgDQpkaWZmZXJlbmNlIGV4Y2VwdCB0aGF0IG1lbXJlbWFwKCkgbWFwcyB3aXRoIFdD IGJ1dGggbWF5YmUgdGhlcmUgYXJlIA0Kb3RoZXIgYXJjaCBzcGVjaWZpYyBzdWJ0bGV0aWVzLiBJ J3ZlIGF0dGFjaGVkIGEgbmV3IHZlcnNpb24gb2YgdGhlIA0Kb2hjaS1wczIgcGF0Y2ggcmVwbGFj aW5nIHRoZSBkZXZtX2lvcmVtYXAoKSB3aXRoIGRldm1fbWVtcmVtYXAoKSB0byANCmJldHRlciBt YXRjaCB0aGUgb3JpZ2luYWwgaW1wbGVtZW50YXRpb24uIFBsZWFzZSB0ZXN0IGlmIHlvdSBmaW5k IHNvbWUgdGltZS4NCg0KLS0tDQpUaGFua3MgJiBCZXN0IFJlZ2FyZHMsIExhdXJlbnRpdQ0K --_002_5fa9725430386fe7a7e7a267262049c6nxpcom_ Content-Type: text/x-patch; name="v2-0001-usb-host-ohci-ps2-init-genalloc-for-local-memory.patch" Content-Description: v2-0001-usb-host-ohci-ps2-init-genalloc-for-local-memory.patch Content-Disposition: attachment; filename="v2-0001-usb-host-ohci-ps2-init-genalloc-for-local-memory.patch"; size=3447; creation-date="Fri, 17 May 2019 10:52:53 GMT"; modification-date="Fri, 17 May 2019 10:52:53 GMT" Content-ID: <241E69301961B74A89CC46A627E9E182@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 RnJvbSAzY2MyMWFhNmMxNTg5NGYzZWI2NjJjYzM5Nzg4ZTU1YjcyZTI0NjM0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQ0KRnJvbTogTGF1cmVudGl1IFR1ZG9yIDxsYXVyZW50aXUudHVkb3JAbnhw LmNvbT4NCkRhdGU6IFRodSwgMTYgTWF5IDIwMTkgMTQ6MzU6MDYgKzAzMDANClN1YmplY3Q6IFtQ QVRDSCB2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