Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2527802ybl; Mon, 19 Aug 2019 03:34:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqySX8wkuQZNlalR5h8f1KQsMdtY/8gWLjRAMD70kk7/thW/k27mYFu+DMNd59ldWnqrEgAg X-Received: by 2002:aa7:9118:: with SMTP id 24mr22573265pfh.56.1566210873832; Mon, 19 Aug 2019 03:34:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566210873; cv=pass; d=google.com; s=arc-20160816; b=o43NrqAL/qwdyxD8BKAsF28b9SscaYRZT1BRTFu31D/FR3j5f9HewdvcwZKIfo78jg iZzbVGwZe3OWWyXFbaOOPWP2l+C6xQMNEMLO/BM5etuPlAqzWNGjAek175odDhUhd1+x 3iaOHWLey3mMZFHUu0mUr51fAIljnhf+2ZSwoLN1mopf12dUbjdRDpyxANPXj23H92kg nrjrfU9mjPLqmU6iV09oUyA9HltQ0fSu54BQzkk46pD7pRNx1stMmZN0xpHHpn2eZ1y6 hxDZOnUHIdwv5h+/77eyIEy+ef05Lcsahy6QCmKp+LJntmt2yXsk4xdCyMgsv1xtA/CO 4BJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :dkim-signature; bh=nj6FV0z4goMZ4jMnf9OXA2keeE2hHh6QIg19wrYI8gM=; b=jVC08eB+MCsZwYqAGMIljuZiJapviHKMfhm+u63jgAQ3idU1RFaNCij2POMPK0RJCp RdtgCxZfbR3D6mmlvAk5JHlo6dj6QOFC5DFqrkHipbwtCeZ3H91bEPrZUuSb2d9aML7D RNFSuEmB8rfdq8XYJ7Dzh8wlaiVJPybX7s9jLfiEvrGqhl5ZFpHBqCPTNY8/3fDzoSRp dpPNaEZs60OreWy+sNx/4Z98D/WVNEL/z2VfXbAhxA2OqE/4zGwCjdGdOf+dNt+bAN9j M7Xe2U0Cq1LQOzHKt7Rkap+6hFzblqPQ5mc24rBV+SM0V0fUiuDD2HhAyDCopfNgLbPh lelQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cadence.com header.s=proofpoint header.b=AZuRBCGT; dkim=pass header.i=@cadence.com header.s=selector2 header.b=4SWKArt3; arc=pass (i=1 spf=pass spfdomain=cadence.com dkim=pass dkdomain=cadence.com dmarc=pass fromdomain=cadence.com); 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=cadence.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g62si10358607pfb.219.2019.08.19.03.34.19; Mon, 19 Aug 2019 03:34:33 -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=@cadence.com header.s=proofpoint header.b=AZuRBCGT; dkim=pass header.i=@cadence.com header.s=selector2 header.b=4SWKArt3; arc=pass (i=1 spf=pass spfdomain=cadence.com dkim=pass dkdomain=cadence.com dmarc=pass fromdomain=cadence.com); 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=cadence.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727125AbfHSKcB (ORCPT + 99 others); Mon, 19 Aug 2019 06:32:01 -0400 Received: from mx0b-0014ca01.pphosted.com ([208.86.201.193]:53694 "EHLO mx0a-0014ca01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727039AbfHSKcB (ORCPT ); Mon, 19 Aug 2019 06:32:01 -0400 Received: from pps.filterd (m0042333.ppops.net [127.0.0.1]) by mx0b-0014ca01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7JASXGm006845; Mon, 19 Aug 2019 03:30:51 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=proofpoint; bh=nj6FV0z4goMZ4jMnf9OXA2keeE2hHh6QIg19wrYI8gM=; b=AZuRBCGT5Lpxe/10oyW5XU1L+3CpjkHD45NjRi2Ct9Cm56SVlQLfyW03vB8Oiae5Q1C/ oM0vO7iaEZY42UKh3Hl/TD1Quh16BEbf6QOoN8bGf9VZsCm/ryzJHANqLRcyJvUolz92 9KqtGdf7ViJoDtgS2jFpdTSXD0wBbtbAPXtHb4m5XQ9xgyt10zZdKBaVRWaLf0Q0+i7l kcrRR29ODvGPkffVjhV4RX8+CZOPH5bmXnEz6tQnOaD9t703Uzb/cGW70c58bMLFalYr F2rzuvnludKEnqMWca4RDR78kYXJ00ZVDrDFdu4QsH6Kz5JwoY9pwFyMtg85+FpvYRKj lw== Authentication-Results: cadence.com; spf=pass smtp.mailfrom=pawell@cadence.com Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2051.outbound.protection.outlook.com [104.47.36.51]) by mx0b-0014ca01.pphosted.com with ESMTP id 2ued5wpfev-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 19 Aug 2019 03:30:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Is44Jxw+ppnqjSC3EoF82JjDNmkLx7D8HZvtN71kDn3QuyYevdqtdlGL7PBkkbXIDqrzaf+gV7ITpS1VTNnfYbej9BEfnXB4Dwz7fUCX6688xxO40bPvXppMF89RE3fd9V3kbqJfosYGqQZ3FZQ53QhEReoUUjOyj00KE/9DZd89xhwjG1nmDiEPktIa+jL1SLpEd+4t8qG/TBSw9PpU++3YlGDCLT/6Hne0ZHVL02o85OW0lsyIqmEInfuvCfRAq8pNWLxW/wN2TI7iwszYOqig+MqGBSJeZ47Rsw3f8OoWdTrDkl1tN81qzuj7RtgvBr2sviZ5zPSPP/JTqwyNzQ== 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=nj6FV0z4goMZ4jMnf9OXA2keeE2hHh6QIg19wrYI8gM=; b=ZabRYFPsfe/fNmurKXJkfOn9zi2irCu/vs/uY1aXwA04/QIp9eLL127GjjVEmAV/gs5nFvAb9uCRO6zDuk0xs8lADTK4s7TYZv62jnYSsl66ghVqm4HkPtzP4KcxT3cGTauOX1ucg1YF4oNdZZ1gp/cK8FlBzaTyXColWndoBzg1gCEEmP1/eeC5gLKm6p4qR4x8ERekoiInbaQfbAQQTCZIkhP8tzxiINTTldWgf04oyw3so5Uquec/phE/VpacVEVZulyrRYHEhoBgwDkKBJYURjzHW4EBgyM9HMhfCRuo+Ym6RcmGwYj0N4oykO74KisjRrCADD/Drf7v34nVXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cadence.com; dmarc=pass action=none header.from=cadence.com; dkim=pass header.d=cadence.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nj6FV0z4goMZ4jMnf9OXA2keeE2hHh6QIg19wrYI8gM=; b=4SWKArt3bgMsv1cATtJydoBvLjVkuNNb/TriAp0hZunAq2QKOt2DdCDThTSCWqI3BqVe179dej+fiGMErbCvmjmzpLxLZqHFgl/aRB1GNshxA+g4r9UP8r6X6cUo0pUQ7wiss5yomF5Z+ICjNI1mmT2aCHXg4vzGUqyr7Y8vtJg= Received: from BYAPR07MB4709.namprd07.prod.outlook.com (52.135.204.159) by BYAPR07MB5399.namprd07.prod.outlook.com (52.135.241.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.16; Mon, 19 Aug 2019 10:30:48 +0000 Received: from BYAPR07MB4709.namprd07.prod.outlook.com ([fe80::98f2:1592:6dff:63e]) by BYAPR07MB4709.namprd07.prod.outlook.com ([fe80::98f2:1592:6dff:63e%7]) with mapi id 15.20.2178.018; Mon, 19 Aug 2019 10:30:48 +0000 From: Pawel Laszczak To: Roger Quadros , "felipe.balbi@linux.intel.com" CC: "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "jbergsagel@ti.com" , "nsekhar@ti.com" , "nm@ti.com" , Suresh Punnoose , Jayshri Dajiram Pawar , Rahul Kumar , Anil Joy Varughese Subject: RE: [PATCH v10 5/6] usb:cdns3 Add Cadence USB3 DRD Driver Thread-Topic: [PATCH v10 5/6] usb:cdns3 Add Cadence USB3 DRD Driver Thread-Index: AQHVP/LMLOdqGz4qV0qb+zFnj54Ok6b8N5OAgAYkmjA= Date: Mon, 19 Aug 2019 10:30:02 +0000 Message-ID: References: <1563733939-21214-1-git-send-email-pawell@cadence.com> <1563733939-21214-6-git-send-email-pawell@cadence.com> <61a14c20-c02c-776c-6ce1-3dd5d6abac8e@ti.com> In-Reply-To: <61a14c20-c02c-776c-6ce1-3dd5d6abac8e@ti.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNccGF3ZWxsXGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEyOWUzNWJcbXNnc1xtc2ctNGFhYTQyYWYtYzI2Yy0xMWU5LTg3NDUtMWM0ZDcwMWRmYmE0XGFtZS10ZXN0XDRhYWE0MmIwLWMyNmMtMTFlOS04NzQ1LTFjNGQ3MDFkZmJhNGJvZHkudHh0IiBzej0iMjcxNjIiIHQ9IjEzMjEwNjg0MTk4NjkyNDU3NCIgaD0iaDdua2xScU9qWExtZ0IyTElob3k5Nm41NjU4PSIgaWQ9IiIgYmw9IjAiIGJvPSIxIi8+PC9tZXRhPg== x-dg-rorf: x-originating-ip: [185.217.253.59] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e94df3a2-7a5b-41d1-1c90-08d724904d6f x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:BYAPR07MB5399; x-ms-traffictypediagnostic: BYAPR07MB5399: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3276; x-forefront-prvs: 0134AD334F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(136003)(346002)(39860400002)(366004)(376002)(199004)(189003)(36092001)(71190400001)(71200400001)(66066001)(305945005)(2501003)(74316002)(14444005)(256004)(14454004)(7736002)(6666004)(6246003)(76176011)(7696005)(53936002)(4326008)(25786009)(478600001)(107886003)(66946007)(76116006)(66556008)(64756008)(66476007)(66446008)(486006)(476003)(446003)(11346002)(102836004)(6506007)(26005)(186003)(54906003)(110136005)(99286004)(316002)(8936002)(53946003)(86362001)(81156014)(55016002)(6436002)(8676002)(81166006)(2906002)(9686003)(5660300002)(30864003)(3846002)(6116002)(229853002)(33656002)(52536014)(579004)(559001);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR07MB5399;H:BYAPR07MB4709.namprd07.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: cadence.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: iYbiv2BncoIzV+l8eL7kvy+mP72kVPuKessypVagJkzNmJHz6tcBI6bSEVZ2Egkgv9cAd2YDFmf4a2ElMbQOcZk6NraxsdNjflZOfiHIX69+xXaTNl/EuejErLHUnZU547DDcVliyWj+9UJOaJvXW58qOQ/HgeirqSpu2dIsem9TTXDD65Hxk9OX+n0kDFUMGet/Rs/3hH1DRMljdzO9czyHLNaHNxcZWXL6v3w3qXoUE3GJocZgA8yTLso0hyYdC6d9exgXUG1shwq8RKsMSE2/RQu//V7YxlhGPNG5F7OrLoNDpF/0huQ5JjTAXZToWnN7O/8smSMOuOeao6+GGXRCVAM0UIwWI9RRoUrqZmt0zmEGt3p+eS314IabQjYf+XFkLcjbPv4wS0eoe6Vm5dG6UFL8d3kjD6ZdQLbVkMs= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-Network-Message-Id: e94df3a2-7a5b-41d1-1c90-08d724904d6f X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Aug 2019 10:30:02.3578 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Pf1h4jUgT0YViKpNqj65R8dBxDRvOwCo8m8Bd2QuDRQlBYoCSLTuyQIa31jvNwD/UkZ6tLUD7l+UgEEgnBbfLWwd5QRyhrNSYhHUyF1yiuE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB5399 X-Proofpoint-SPF-Result: pass X-Proofpoint-SPF-Record: v=spf1 include:spf.smktg.jp include:_spf.salesforce.com include:mktomail.com include:spf-0014ca01.pphosted.com include:spf.protection.outlook.com include:auth.msgapp.com include:spf.mandrillapp.com ~all X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-19_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_check_notspam policy=outbound_check score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908190120 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksDQoNCj4NCj5PbiAyMS8wNy8yMDE5IDIxOjMyLCBQYXdlbCBMYXN6Y3phayB3cm90ZToNCj4+ IFRoaXMgcGF0Y2ggaW50cm9kdWNlIG5ldyBDYWRlbmNlIFVTQlNTIERSRCBkcml2ZXIgdG8gTGlu dXgga2VybmVsLg0KPj4NCj4+IFRoZSBDYWRlbmNlIFVTQlNTIERSRCBDb250cm9sbGVyIGlzIGEg aGlnaGx5IGNvbmZpZ3VyYWJsZSBJUCBDb3JlIHdoaWNoDQo+PiBjYW4gYmUgaW5zdGFudGlhdGVk IGFzIER1YWwtUm9sZSBEZXZpY2UgKERSRCksIFBlcmlwaGVyYWwgT25seSBhbmQNCj4+IEhvc3Qg T25seSAoWEhDSSljb25maWd1cmF0aW9ucy4NCj4+DQo+PiBUaGUgY3VycmVudCBkcml2ZXIgaGFz IGJlZW4gdmFsaWRhdGVkIHdpdGggRlBHQSBwbGF0Zm9ybS4gV2UgaGF2ZQ0KPj4gc3VwcG9ydCBm b3IgUENJZSBidXMsIHdoaWNoIGlzIHVzZWQgb24gRlBHQSBwcm90b3R5cGluZy4NCj4+DQo+PiBU aGUgaG9zdCBzaWRlIG9mIFVTQlNTLURSRCBjb250cm9sbGVyIGlzIGNvbXBsaWFudCB3aXRoIFhI Q0kNCj4+IHNwZWNpZmljYXRpb24sIHNvIGl0IHdvcmtzIHdpdGggc3RhbmRhcmQgWEhDSSBMaW51 eCBkcml2ZXIuDQo+Pg0KPj4gU2lnbmVkLW9mZi1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