Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2631285imu; Thu, 17 Jan 2019 18:41:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN5//YvK88E+uKnD/SlgW6Z1Zs88nqPWnGaCAwVcodhBL1j0rsBCrXtiXTUvDxhXq5IWEoUs X-Received: by 2002:a63:6103:: with SMTP id v3mr15418351pgb.75.1547779283991; Thu, 17 Jan 2019 18:41:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547779283; cv=none; d=google.com; s=arc-20160816; b=U1BWbcD+XTypVfoUR4LZ0hMfczQbfIZQvsPpVJJDazCBxHcOqkspZm1/E86HinAGYU z8hfJVPXWjnAI0c3Ihl6vHmwTqT2S9L26NWdOH/g6M4H6HCI8nvKxcSzSoIi0RDCxrTg rw6eDgptNJSF3Rl7y83K4hU274qBzD3STiiqCSk85KE41oP/NFY9z3i30sX2H2YIviOZ vfDv/hTIaWdor1gOHz11LMiVdoRTE3oItokNhs2UbzB/4TrUSI73VvlQthobWVtUun6a iy3aA1gQXx6ZB/Sb5nZRnB+zm2/nDTW3kZUPYBdTZTTniSvDbTNpPfmu2hvId6BVIMNr ehjQ== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=e2YGtn1tgFXz62iKUCEw1BFaRC+poWI8KpH28FPOT68=; b=Q75Hvc6lhfZxV+iDWXHGEJaZs+iv8rPmwh3N9yalUS7OZxwKNbppArE/u0ncYrhH5T sHy+pwlfCLCxbEni2I0Qx/bhThGEdlIXJYh2EjQfs13ux38BUaujvDOvzTpQvxo4JpLp /tFWmHfmGRNWfzFQgXEbGwfN7yIzv1aj2EwSrUYWswFJY7HQuqNNOgdXcRGDEAe4hwNE Wb9Dh3uRNFeWZPBVpeWECotKzNDnF7kiws0vcK2a8TXVCHcT0T2q+D7k69fVw11oymgP OYeXX0gz+PTwpfoWQMGJGxhwMJAt9ObNMOjxqCfRQ5HzbZ3RIcDagg05czpaN+8SufqE tzxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=dSQw2eI4; 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 u7si3015969pgg.357.2019.01.17.18.41.07; Thu, 17 Jan 2019 18:41:23 -0800 (PST) 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=selector1 header.b=dSQw2eI4; 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 S1726927AbfARCkC (ORCPT + 99 others); Thu, 17 Jan 2019 21:40:02 -0500 Received: from mail-eopbgr80047.outbound.protection.outlook.com ([40.107.8.47]:52672 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726398AbfARCkC (ORCPT ); Thu, 17 Jan 2019 21:40:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e2YGtn1tgFXz62iKUCEw1BFaRC+poWI8KpH28FPOT68=; b=dSQw2eI4+Wdal2dptOqL5fYmLORwY6KKx57sDyZn0nHYlcDoZfp6FXrmTzUMm4Bd/qS7oaJAfH4dzqtWQPehkNFmwUZ6mD8MR9G2mwtUd+ydGw9QR8YWqHh/cq+WfU2kXMPrA624Vgb4VOIzu1uRdQXl/taMifSRLKQVg5ur7LI= Received: from AM5PR0402MB2865.eurprd04.prod.outlook.com (10.175.41.148) by AM5PR0402MB2820.eurprd04.prod.outlook.com (10.175.41.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.18; Fri, 18 Jan 2019 02:39:58 +0000 Received: from AM5PR0402MB2865.eurprd04.prod.outlook.com ([fe80::1c0c:51da:f585:5626]) by AM5PR0402MB2865.eurprd04.prod.outlook.com ([fe80::1c0c:51da:f585:5626%2]) with mapi id 15.20.1537.018; Fri, 18 Jan 2019 02:39:58 +0000 From: Ran Wang To: Alan Stern CC: Greg Kroah-Hartman , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v2 1/3] usb: ehci: fsl: Update register accessing for arm/arm64 platforms Thread-Topic: [PATCH v2 1/3] usb: ehci: fsl: Update register accessing for arm/arm64 platforms Thread-Index: AQHUrkSK5gjXIA2AjUOFpVeBl/CheKWzoS2AgACr9oA= Date: Fri, 18 Jan 2019 02:39:57 +0000 Message-ID: References: <20190117091135.44209-1-ran.wang_1@nxp.com> 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=ran.wang_1@nxp.com; x-originating-ip: [92.121.36.198] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM5PR0402MB2820;6:W3JS4XyuxjnrBP+efMB5UWhdyUuzxA2w4duYfdiaYvwc+goHQPqy9z7IrWV50EGvwlX3l+oJlW6i1eBGDeTYK9C+bwuVicUqZdtfKqO0l0rZC9j/G0Ofx84luQZzAGhDTNz/AouWcAfifOpPHSGKf7ZEWFhz8PEVscLKpTTUXxXcAoOqc5BZIQAw+RZbnadexwzo2tMR/RbJYogJikiC/AqI86UZbA46GO616TuyazohwRfgUmlrwcYxEJ0rL8Aun7Mn9KZaI0IXi4v+X9rNXGpVxJ6TiXWSG2YK0Xim2yONLECdB/xVwpBaZcwwIFozi0yVZXotm2K/++UDkzr+TVSa5rzqKpRUXl7C6Di/+bwngrystFSpPmNGVJ2911nigwnnIDlpZTu8W7qgLFKCqDL6Z7WyZv3L2NBI8c1NBHlg0Nb0ozHn+m2WYEkQH/B49xgpHt31Y9uHWP+o2wCP0Q==;5:eKpYTybbJGDC0Z8qWuBgMv/iM0UFEkaXVR/1CiZtD0PcBIunwD/2Xg4uudj6HX+AOuSlHrj5jAEpxkjQcA+sAte2gyKLQQaxKFMgMAKCaPc4JTfLw715DYUnnVJceJeITGVa35TIn1LmvuXdMbuEj/PNQBCXtFhlKRXFK0gLhNhiX/ud5Z8Od58QCA19YIHV15EgO+31oCJZ1VZH9qfDpw==;7:7usDoS0VrSTScKTI7PTsrTw9jRtT6HBG8llCbWbyF+mBygKMtGwgxhcwiBDDo5JzpSz+JCFSIjUGGoLvCsoYBWJ1j8yZYBH2CqRg4QuRlqmwSavpQytTFdbAIWTv3CHvnzrOIdgcCnTCd3rMTXX+lA== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: de1ad6b5-bf1d-417c-306d-08d67cee3c9a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM5PR0402MB2820; x-ms-traffictypediagnostic: AM5PR0402MB2820: x-microsoft-antispam-prvs: x-forefront-prvs: 0921D55E4F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(39860400002)(346002)(136003)(376002)(396003)(199004)(189003)(6246003)(102836004)(2171002)(478600001)(68736007)(14454004)(4326008)(229853002)(53936002)(9686003)(106356001)(305945005)(7736002)(486006)(54906003)(6436002)(66066001)(256004)(86362001)(55016002)(105586002)(81166006)(8936002)(7696005)(97736004)(99286004)(76176011)(6916009)(186003)(33656002)(25786009)(14444005)(71200400001)(6506007)(8676002)(446003)(11346002)(476003)(2906002)(6116002)(3846002)(316002)(26005)(71190400001)(5660300001)(81156014)(15650500001)(74316002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM5PR0402MB2820;H:AM5PR0402MB2865.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: +Y4pmgjNGzmAN4A+UQehLCVkZ/rggwv27KyWvWVyR6CZfH/oiTr/TI5WDpOztHbpd82gv9P1RsipYU9i14NFjPBSCRX1wemX4FpF+t4E9RLxo1FK4WQ3e71Kpp5AQS0gQ0cP2yo0SdR2diCQK5SbJ8cHLsGbryRfBZizOeRxo53NoSXBeqqmZ57Q0qDxPs8zF3LoW152lfCZCYormVp+mJqXQmRaM+LLD/pVxqT0uuP8isnlJe4jj6GdZbtSVYaEUJNlOzLwg2BQGquI9gm7lgpk5tWhyJP+xPt+Qwe6h7vdYDcewzkSd34b1+2cBEfdNkSYkdP+e2pVGy5m5otHkyIYjIFMe+Rsl8XM/nrbnrcGKkaQDFG5aP274BZv/Wvhi/DsilFE4HVscxq71qDUS00xyKxl71Z3m+c2fonG8x8= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: de1ad6b5-bf1d-417c-306d-08d67cee3c9a X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2019 02:39:57.9271 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0402MB2820 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alan, On January 18, 2019 00:08, Alan Stern wrote: >=20 > On Thu, 17 Jan 2019, Ran Wang wrote: >=20 > > arm/arm64's io.h doesn't define clrbits32() and clrsetbits_be32(), > > which causing compile failure on some Layerscape Platforms (such as > > LS1021A and LS2012A which also integrates FSL EHCI controller). So use > > ioread32be()/iowrite32be() instead to make it workable on both powerpc > > and arm. >=20 > For patches 1/3 and 3/3: >=20 > Acked-by: Alan Stern >=20 > Have you tested these on the Layerscape platforms to make sure they work > correctly? To be honest, the first goal of this patch set is to fix compile issue.=20 And I have verified it on LS1012AQDS, and encountered failure as below: [ 2.966755] ehci-fsl: Freescale EHCI Host controller driver [ 2.973113] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller [ 2.979851] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus nu= mber 3 [ 2.987549] fsl-ehci fsl-ehci.0: irq 22, io mem 0x08600000 [ 3.005769] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 0.00 [ 3.012122] hub 3-0:1.0: USB hub found [ 3.016088] hub 3-0:1.0: config failed, hub doesn't have any ports! (err= -19) However, actually the only board which I can find so far has known HW issue= on EHCI part, so I plan to find other platform to do complete verification whe= n possible. And will submit other fix if needed. Is that OK? BTW, for powerpc platform, I've tested on a T1042AD4RDB and USB worked fine= with it. Regards, Ran