Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4297176yba; Mon, 29 Apr 2019 17:37:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSv9ViCMp4Ahp44LM5Ur4Z2dUzTL6fvRugBVLhUxjuvo+S1dGfj25egsCauSflBdURb3z+ X-Received: by 2002:a62:5a42:: with SMTP id o63mr69804778pfb.170.1556584657241; Mon, 29 Apr 2019 17:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556584657; cv=none; d=google.com; s=arc-20160816; b=ezz+f+1x9KrSVVcbq4FskRhqeO0WeTvS3pk0TQsXLG1uagAxyQBm44efMGD3xTWR00 UCbZyWwjLWWi+wI/5vhNKRnr0hC4uc/w3Kt7lEi/VvSlpNEH1yCet/dV8Vd1JRLe4qDp 5MvDrOvUjTSMUYVVZmWLIY3UeAcii57T1Zzok5/8lZ1yg4BD037lgUZ3xUm6JE/JhVqp h8czSE1hjG403e3zF734Nr/RxIK5On43B7iamax31g7MUfvBA0aasYJipCsK2i5gT8vo NTXYBps9oxvc5NjPCEU9ENfZTBnyvtlsA4KQZkXuYkO+oqooqECI975zTeRAYqKFG5KD Qgcg== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=GsTqW3rDD7gFNJvafxDzOTu6k8T3odiG5l/wvw33hC0=; b=YYi9TJi/A11ATUuaPHKIGd+jsnr+n1FJrWHtcWVv8XhpNz7tw+nDOeJr/R03AH231D 1OXzBQNgAmOOCqBJ1tKhJQsDX0Pm7TR5PEGwm/wvrWRd8popFaEbIxj8rFr/bf/BzZxc eTsLeSwb/bAM8fHGAzi30tZqgNRBTKftsMPJitxfmEsfvVyI7K0yhawYke0rDhko1hdK l1ydp7z89ueNBpAGQ8b1uCUlDc7iDcqWvRo+I91+PNgkfeBN2mJxTcpSALLgkeDFj7+g UvDtY8ElAfekzIZJ+zI0qk4HtmjubNF/Q/7TMwuHtITjL69SdwLflRylrrQ+xAthMHvu vEGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=NtSEpgHb; 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 az5si34951593plb.111.2019.04.29.17.37.20; Mon, 29 Apr 2019 17:37:37 -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=selector1 header.b=NtSEpgHb; 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 S1729630AbfD3Ag3 (ORCPT + 99 others); Mon, 29 Apr 2019 20:36:29 -0400 Received: from mail-eopbgr10077.outbound.protection.outlook.com ([40.107.1.77]:58709 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729238AbfD3Ag3 (ORCPT ); Mon, 29 Apr 2019 20:36:29 -0400 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=GsTqW3rDD7gFNJvafxDzOTu6k8T3odiG5l/wvw33hC0=; b=NtSEpgHbVQwUyv4AwZ35IJG9Ee0WOXm9RSpQpvn9WtTqYvaA9HnhEzMGrm15PZ7/2zXgKuYsV7lLshiiNCh+VtG25wgIvXeFER6yV1kI1MRrKCmo8iOb8gq2yWOOn1eNsAno14kSMSwp5yKuOy1S12+fpB5iMGdcGMFPFEEub9c= Received: from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.3.19) by AM6PR04MB4119.eurprd04.prod.outlook.com (52.135.168.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.12; Tue, 30 Apr 2019 00:36:22 +0000 Received: from AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::f9db:ed86:614e:460]) by AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::f9db:ed86:614e:460%4]) with mapi id 15.20.1835.018; Tue, 30 Apr 2019 00:36:22 +0000 From: "Z.q. Hou" To: Jisheng Zhang , Gustavo Pimentel CC: Vidya Sagar , "bhelgaas@google.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "thierry.reding@gmail.com" , "jonathanh@nvidia.com" , "kishon@ti.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "lorenzo.pieralisi@arm.com" , "jingoohan1@gmail.com" , "devicetree@vger.kernel.org" , "mmaddireddy@nvidia.com" , "kthota@nvidia.com" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mperttunen@nvidia.com" , "linux-tegra@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "sagar.tv@gmail.com" Subject: RE: [EXT] Re: [PATCH V3 04/16] PCI: dwc: Perform dbi regs write lock towards the end Thread-Topic: [EXT] Re: [PATCH V3 04/16] PCI: dwc: Perform dbi regs write lock towards the end Thread-Index: AQHU9IqewpDyJpQXwE6mOsZ+3qv9QaZAHpeAgAe3OACADBgJYA== Date: Tue, 30 Apr 2019 00:36:22 +0000 Message-ID: References: <20190416192730.15681-1-vidyas@nvidia.com> <20190416192730.15681-5-vidyas@nvidia.com> <305100E33629484CBB767107E4246BBB0A22C127@de02wembxa.internal.synopsys.com> <20190422154608.6e6f8ae3@xhacker.debian> In-Reply-To: <20190422154608.6e6f8ae3@xhacker.debian> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-originating-ip: [119.31.174.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 519b1dae-5dc4-485e-8e35-08d6cd03deb7 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:AM6PR04MB4119; x-ms-traffictypediagnostic: AM6PR04MB4119: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2089; x-forefront-prvs: 00235A1EEF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(366004)(346002)(376002)(136003)(189003)(199004)(13464003)(26005)(76176011)(6506007)(5660300002)(53546011)(186003)(486006)(68736007)(55016002)(6246003)(9686003)(476003)(66066001)(4326008)(86362001)(446003)(11346002)(25786009)(102836004)(66556008)(64756008)(2906002)(66446008)(52536014)(66946007)(6436002)(76116006)(256004)(66476007)(3846002)(6116002)(229853002)(5024004)(14444005)(73956011)(81156014)(71190400001)(81166006)(97736004)(71200400001)(74316002)(305945005)(8676002)(93886005)(8936002)(316002)(14454004)(7416002)(53936002)(478600001)(7696005)(33656002)(99286004)(7736002)(110136005)(54906003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB4119;H:AM6PR04MB5781.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: /SBSSZ/r+EXNcqA0EeARSSpIaCJXglPhQbILyBRUrC2fvzhbOT5SOZmuU8Fd79XUF6MOb4RWeSswqvMgGeTps7x9rkGVDaKQfdTPdOTuDdHDoJBz/xEZmJQHa/+XKg67GoYU6A6timKgE9XzSgBMEW4gAGKVE0ZySEtvwML+De6KC3tl4wgvYqFPqEs4VI4Uvv/0We2hM2BWrN1zkVYle3d6LvvLpLu7Bf2i5u9BidH/CiFa/Olu7K8O2lB3Hsdx2dUOYsrIqRpCqsZMtdxSDDUkm8DBVEvP7KbqzIG13xIY1qk+ckyeXjFIKLislhhk12TWjSGzolci+2RhYreyAmuk5dG5kJvZj/C0hK6QjrHvEZeXtercMtYka6N3fCGmLg7/1klFynjZEXl7HxZnwdGFhVwk4VCP1LcTMhkk3Vs= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 519b1dae-5dc4-485e-8e35-08d6cd03deb7 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2019 00:36:22.3510 (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: AM6PR04MB4119 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEppc2hlbmcgWmhhbmcgW21h aWx0bzpKaXNoZW5nLlpoYW5nQHN5bmFwdGljcy5jb21dDQo+IFNlbnQ6IDIwMTnE6jTUwjIyyNUg MTU6NTUNCj4gVG86IEd1c3Rhdm8gUGltZW50ZWwgPEd1c3Rhdm8uUGltZW50ZWxAc3lub3BzeXMu Y29tPjsgWi5xLiBIb3UNCj4gPHpoaXFpYW5nLmhvd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