Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp316942ybm; Wed, 22 May 2019 03:47:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwElE/HKSYx0rtVT4eMiAbYFVeT77V6Ws8KE09zt5p/YAGR+ZAp5qiLg+aZf40Nne5bqpT1 X-Received: by 2002:a62:2e47:: with SMTP id u68mr7089133pfu.24.1558522033280; Wed, 22 May 2019 03:47:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558522033; cv=none; d=google.com; s=arc-20160816; b=HbIbThWu5YD3uSpKm2NE3BTFI5TiBpLyOhpDkZ+4zMzUtRmSF2uqfKSWYoZBrFhyPN C8rfuvXtWNRKzPM9NBgdp61/8/Jhr03pZdcwSo6F4dR0pWgbuhixWfk6v9fbX7OU55vN YkWX/9jKh5AJU4Z8GX8ABAQ8uV3njiBfC4F5b8xLIbczbdw2rwgx328Srlm6sG+YI5kh JWTrOTS3V33dYdVcBm6aSE/JYjbFmomsbdsxCdBfu0qlnwvp4MIc/CT8VPlWk4NTZHYZ lbLvyFlLkP+AA0RlnIRD2Dnv9TZ1PE34xVgkrQ2eO9sLuLMvHRCesp2kXJ/YLtqUsyqZ LMzA== 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-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=gLc/HeO2V1FK+dmbc9RMmsuQNwyYjAXzWs6MkksZ2Uc=; b=HPlvZZq2KySOzm7qrQLLFqpNGoLF0siEAgdjlSBRUyZIMKdjdXmbPIE/hmEWpgZkLy CIGAPrmIKPqkt6to2G/84KI2MDi2tQzuy7wsgldMFUgotNuVRuzhc27s6sK8QHsRv2Qa 8B4J6HNg8ZU7+GnMn77SUGlI9/0Y6wBJBxA853yg3tcAex/n2XFqXGPEYUtiU6GosRxs LuXQ7TL9/oNWjTaP66C2Z7pxhhqvxGa+KRws/eoGKwYVyFWQoxTc2vozXOI9euohBMaq QaEq/gWg9EMQziTY05ZBb8DS+tHcHu5Z+QQJktI7YqceLhKVq7D/LQ7xIjkc9oxpZ491 Z/jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="L1RS/QPT"; 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 az7si25549724plb.350.2019.05.22.03.46.57; Wed, 22 May 2019 03:47:13 -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="L1RS/QPT"; 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 S1728964AbfEVKps (ORCPT + 99 others); Wed, 22 May 2019 06:45:48 -0400 Received: from mail-eopbgr40068.outbound.protection.outlook.com ([40.107.4.68]:62528 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727464AbfEVKpr (ORCPT ); Wed, 22 May 2019 06:45:47 -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=gLc/HeO2V1FK+dmbc9RMmsuQNwyYjAXzWs6MkksZ2Uc=; b=L1RS/QPTJQat+vV7lZ4BiFLbYqAvhkDoQJ524RNGv5tzWF036m4J+gH3frKhS4g7QpMqSEoZMqdQo1IJUuPhMfs8ho8iS6FQjWX44pa+PKHJRz6KgDTJm5xyo7807p3bDlKQUkw1qa5uxBw+z1AsesxTzX0Bx204U1Kq9nBn8fs= Received: from VI1PR04MB5134.eurprd04.prod.outlook.com (20.177.50.159) by VI1PR04MB4895.eurprd04.prod.outlook.com (20.177.49.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.17; Wed, 22 May 2019 10:45:36 +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.020; Wed, 22 May 2019 10:45:36 +0000 From: Laurentiu Tudor To: Alan Stern CC: "hch@lst.de" , "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" , "marex@denx.de" , Leo Li , "linux-kernel@vger.kernel.org" , "robin.murphy@arm.com" , "noring@nocrew.org" , "JuergenUrban@gmx.de" Subject: Re: [PATCH v5 2/5] USB: use genalloc for USB HCs with local memory Thread-Topic: [PATCH v5 2/5] USB: use genalloc for USB HCs with local memory Thread-Index: AQHVD96XE7hyjPzMhU2tA8mX94cqtKZ10zeAgAEkBIA= Date: Wed, 22 May 2019 10:45:35 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: 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: 29a75ad3-713f-4f45-c954-08d6dea29f68 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)(7193020);SRVR:VI1PR04MB4895; x-ms-traffictypediagnostic: VI1PR04MB4895: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0045236D47 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(189003)(199004)(8936002)(256004)(81156014)(81166006)(54906003)(486006)(8676002)(14444005)(31686004)(11346002)(966005)(446003)(14454004)(68736007)(71200400001)(71190400001)(66946007)(66476007)(73956011)(4326008)(76116006)(66446008)(64756008)(66556008)(229853002)(476003)(25786009)(5660300002)(6116002)(2616005)(86362001)(6486002)(45080400002)(498600001)(6506007)(6436002)(66066001)(53546011)(31696002)(53936002)(76176011)(7736002)(44832011)(26005)(99286004)(36756003)(186003)(6512007)(305945005)(2906002)(102836004)(6306002)(2171002)(6916009)(6246003)(3846002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB4895;H:VI1PR04MB5134.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: QvPwOB5FJvC/Im4Eyj3G2UB7J8f4NR1RmlB6CA8kQPBUFroG2N8iv1OmiE2DKayMy2SEgsfPhyP+movg3GYezzIa7HJfdeaThJMwQ1YYzzRWOhmwt8xTUjx4ECzkE4ZPX4q33bRCxwAdW5pzUy4FAAmMBO/59mBu4MVho8HXZGxy29whLxZ2OZlz8RYvqf65+1F8NoTnmYY+CUmMhKjiJtYljRXacMNyZbCpJclVEpVhPI8ix1hNhuzTYIxoVX0S889NJp2AiX4jU5ZvUnsGsYHwDmfMiMaK+aEi5iTgMPli+jgCySEQE0KfDBZrfaLDc8TLs9KJJXls07KDqCKz7ACsrpCeXNIA9q+5rdOWt0iVx3jREZt4bXJ/iNO4+1mfLW5mEKMzhSX50QRq6ET5YqGt4GUY/6+0rJzbz2nZIaw= Content-Type: text/plain; charset="utf-8" Content-ID: <489EE7882392F046AE8D9C8A45104BA8@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29a75ad3-713f-4f45-c954-08d6dea29f68 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 May 2019 10:45:35.8637 (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: VI1PR04MB4895 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGVsbG8gQWxhbiwNCg0KT24gMjEuMDUuMjAxOSAyMDoyMCwgQWxhbiBTdGVybiB3cm90ZToNCj4g T24gVHVlLCAyMSBNYXkgMjAxOSBsYXVyZW50aXUudHVkb3JAbnhwLmNvbSB3cm90ZToNCj4gDQo+ PiBGcm9tOiBMYXVyZW50aXUgVHVkb3IgPGxhdXJlbnRpdS50dWRvckBueHAuY29tPg0KPj4NCj4+ IEZvciBIQ3MgdGhhdCBoYXZlIGxvY2FsIG1lbW9yeSwgcmVwbGFjZSB0aGUgY3VycmVudCBETUEg QVBJIHVzYWdlDQo+PiB3aXRoIGEgZ2VuYWxsb2MgZ2VuZXJpYyBhbGxvY2F0b3IgdG8gbWFuYWdl IHRoZSBtYXBwaW5ncyBmb3IgdGhlc2UNCj4+IGRldmljZXMuIFRvIGhlbHAgdXNlcnMsIGludHJv ZHVjZSBhIG5ldyBIQ0QgQVBJLA0KPj4gdXNiX2hjZF9zZXR1cF9sb2NhbF9tZW0oKSB0aGF0IHdp bGwgc2V0dXAgdXAgdGhlIGdlbmFsbG9jIGJhY2tpbmcNCj4+IHVwIHRoZSBkZXZpY2Ug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