Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp1453809img; Tue, 26 Feb 2019 22:49:01 -0800 (PST) X-Google-Smtp-Source: AHgI3IYgDLC00fCamvxbAhSA2wgkUSyPaBAeV4vUZOdFeOX2w1kt1UKSTOtYCYmWzT8NwVH1fs19 X-Received: by 2002:a62:f598:: with SMTP id b24mr157537pfm.72.1551250140952; Tue, 26 Feb 2019 22:49:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551250140; cv=none; d=google.com; s=arc-20160816; b=i3MtHDwqQLRCngHCzpFPRzFz21OSX5Jdo/+iYfNCjAgp57ZhuiFFIjUZxmpWCfq6lg KgzTQaGV6btMaoegPCB7oWK3dc/4UouPZp4YxaVOQunfovp4HhPIC3xLQGCuRofZikXb dxeMLB4sDqOWgC/3ABbrOKwF129i0QDT02gECYICHUdGVEUhBL9aK9o5jd2/yrQfn5BR i2Z/lnjRvNaU0AV7pjOtC90pz4sHOT/ATa0IkKHeObHrzgortuP/TV+OtOzFEKikMTH5 7I41VCmG8F8qM1atb/2YNQUCZpF9/ooSx9Y1eYG03rhZuYpfwKHd9fXyXSeNJcivAfEp hU0w== 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=lXqpwuGBKPbn19AMnfH0ZEaTvpyCjs2JI0X+1t/YMQg=; b=b3C00qR2538RakWKZdrWbGAUhSbJoCW8Fq1tCLkCIY3UxBGU4T0o/Bn8KYXGgLsM2N oZUPoFZMJLelyiRKZ3wGbSNDTWHF68fU+FuZD05ZAEMP1VXVwSg+ukVhgC6YH2MtbvID wdZrbUKlPO1zL8O6Fxf3UDFez4LAXeXOl6wAoIJ0jJpct0zyEdGiv5Q3VTdBRHqbhq19 wUuToGekU+WDKx1JP15U23al161uxuQKapdieiqG6k0Vc5oF/tsguJkgN9NQdfRZPo9J X4rfk+BhkxLGu2wUtbsoTajesJDk6rsqgUQz0UjnSidPj5nCjRmIm/1g4K8ggptEz7zy z23A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector1-synaptics-com header.b="XbdXCbJ/"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i185si13620670pge.125.2019.02.26.22.48.45; Tue, 26 Feb 2019 22:49:00 -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=@Synaptics.onmicrosoft.com header.s=selector1-synaptics-com header.b="XbdXCbJ/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729541AbfB0GsM (ORCPT + 99 others); Wed, 27 Feb 2019 01:48:12 -0500 Received: from mail-eopbgr810040.outbound.protection.outlook.com ([40.107.81.40]:61664 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726484AbfB0GsM (ORCPT ); Wed, 27 Feb 2019 01:48:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector1-synaptics-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lXqpwuGBKPbn19AMnfH0ZEaTvpyCjs2JI0X+1t/YMQg=; b=XbdXCbJ/WgvzuLbGORKFVo3cVaKZffbWVpmem8f5fVAE29Xnfb2zfcuxmeVUAIZo0c34XJXtK5u6Kv+PYewzaW/XT28vz2zXcgw2Rt6X0eVquO7LCvj4PzfBWHRv57vVIcQaDPw4XCv4GeV7Hs+ehwrRPPPR4fNg9B2wGQlWxno= Received: from BYAPR03MB4773.namprd03.prod.outlook.com (20.179.92.152) by BYAPR03MB4102.namprd03.prod.outlook.com (20.177.184.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.20; Wed, 27 Feb 2019 06:48:07 +0000 Received: from BYAPR03MB4773.namprd03.prod.outlook.com ([fe80::1cca:e5f5:d31d:1e5c]) by BYAPR03MB4773.namprd03.prod.outlook.com ([fe80::1cca:e5f5:d31d:1e5c%5]) with mapi id 15.20.1643.019; Wed, 27 Feb 2019 06:48:07 +0000 From: Jisheng Zhang To: Bjorn Helgaas CC: Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH 0/5] PCI: dwc: support remove Thread-Topic: [PATCH 0/5] PCI: dwc: support remove Thread-Index: AQHUzcoXCJUfCkpNIEa0Hsr7++V4qaXyk/uAgACfQAA= Date: Wed, 27 Feb 2019 06:48:07 +0000 Message-ID: <20190227144102.40d52f11@xhacker.debian> References: <20190226194806.34fc23b5@xhacker.debian> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [199.33.119.15] x-clientproxiedby: TY2PR02CA0032.apcprd02.prod.outlook.com (2603:1096:404:a6::20) To BYAPR03MB4773.namprd03.prod.outlook.com (2603:10b6:a03:134::24) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a14d1dcb-10a5-43ec-d3ba-08d69c7f87b3 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020);SRVR:BYAPR03MB4102; x-ms-traffictypediagnostic: BYAPR03MB4102: x-microsoft-exchange-diagnostics: =?us-ascii?Q?1;BYAPR03MB4102;23:CSXcrprNpJsEj4tUmYYH1IXoeEgzRqSPMAS6i1mYH?= =?us-ascii?Q?sOLa5J4nW39FR0uWsmT412jeuLEOfw3/31oQQrEluKvVVU4efK9g7FQWuDuA?= =?us-ascii?Q?3LXiZcf8Ll9LzWAKBTwZeJJYz2cOLwTr0Wtv/DYqzUwXS2VIf+M7ycT2+veU?= =?us-ascii?Q?0E9JwrBcYrWor6gCt3CgluZqINoC3RR4jo4RnPCEU7M/JhQpDWsX9eVHh1YS?= =?us-ascii?Q?ei8ZDdLxFzfFDFn41xHmgQGamIsRx7/3D1EFm55HDzsME90WzmscagOVnRRx?= =?us-ascii?Q?OQGxtyhuapoTYNndU0cv656O7t3RT7e7dC1kGigddI7QVKj7RVBGzCeuZt8h?= =?us-ascii?Q?oTD4mUP8eaLXeL8dZmd6lbqdH1A3yhHgMa5PTr1KukLq8vy2pk2uS6jmmCNh?= =?us-ascii?Q?nWexdHF/OVz+EIc4EQG0uM1nPrkEn+ihAeXayzcP8xZsF9ExuCk4OrZbCHZt?= =?us-ascii?Q?tQaHctglTehp+MGCdmO9EzfVg3Q+pg1JppKdG2IK9awixQ95HR0vg4ryLsgP?= =?us-ascii?Q?EZB13XJKGm3+HEq7EFWAebrmgArHsDHufurweQkY9cb6lFGkS/6oYuSGU4AF?= =?us-ascii?Q?CdhccT+ifec5+yXYP14OWicgYPQp7EKgda2BsldrB3E/rtzhuqFMXPjdSD+a?= =?us-ascii?Q?28kwqp7ooZCk277Y7ueJg+fxPcqevT8qK0BiNacatMISaL2TsCTPMtfGWplt?= =?us-ascii?Q?XzA2t8ulSO8fF3A/FUo0eh2CcapbRF63DSRFQF34hfrsxhsHwny7vQjA2v1D?= =?us-ascii?Q?e9uirDFywIHI0GwxtdP5nUL5u1iKjdzS9u9NRIOm+4satmCsFCakNxBHNBoF?= =?us-ascii?Q?57Fkk5AYZUq1gYcID6Y64Rz5fYN1xuOBAc4utlUYQ5yvZFs4ifkAyEJZFnW+?= =?us-ascii?Q?1akpbAvSPw6UhDKsmUwuMQQ/I2AyMEtd9Xnnk3stpgUJaNrEQw3Ur2eOqaiK?= =?us-ascii?Q?mhZpHVkCyRDvk8apcqIo+aP59uk8i3974FW6KfB7aDIsSaxi32svYhboq3rq?= =?us-ascii?Q?v9jG6skCt5CjMA+iDsr8dYj31G1qr1kqnvTjJHd6SGp+xyHDNB27+RUP9xhC?= =?us-ascii?Q?je5FOJ/pNeKhNj3iR1Eu8Yo4kbMm6Iqe6oeWF7+mFSZkA8aJdl8Oz7sE67io?= =?us-ascii?Q?yqf+BELH5dCbhBrXHMkjkiEHb8AO/bAd1ScJbkA1YnAKsiQirjnZ3xbGuwbc?= =?us-ascii?Q?9PZYZMj1ryJgRnPCMn/+VrUFC2Xq4fPP68V6O//bnRPKut7sY5WhVujoC9kf?= =?us-ascii?Q?R7UhA/P51uM1meRKpiwA7w/HbC+gjKZ0ZxwULvJ8pFmVwBi2xeZNpRCyNWvZ?= =?us-ascii?Q?DChR6jZEVSPN2y12RxOEZQUPKYoDVFfpsuVuGnQLfr4?= x-microsoft-antispam-prvs: x-forefront-prvs: 0961DF5286 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(39860400002)(376002)(346002)(396003)(51914003)(199004)(189003)(6506007)(8676002)(106356001)(105586002)(11346002)(102836004)(26005)(316002)(81156014)(81166006)(229853002)(6486002)(54906003)(71200400001)(6436002)(256004)(71190400001)(186003)(478600001)(14454004)(72206003)(68736007)(7736002)(99286004)(4744005)(446003)(486006)(6916009)(53936002)(52116002)(305945005)(6116002)(97736004)(1076003)(9686003)(53546011)(6246003)(476003)(86362001)(50226002)(5660300002)(25786009)(76176011)(2906002)(4326008)(3846002)(8936002)(386003)(6512007)(66066001)(39210200001);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR03MB4102;H:BYAPR03MB4773.namprd03.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:0;MX:1; received-spf: None (protection.outlook.com: synaptics.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 3si6A1m2GIEhihCtXC1IffMVjtR6Oat/sEe8ecLtflenGroBhivDk4fRA7aXVqmX9tghmg89QYTJP1YZHLdPUVqo9XUNEhxFp+CvAUB8cKfQaZdkL2DsJVtSLE0Ra38/cEIX2ijnuilHVuYwdelEImhuuG+l1d7T4TLQQimIp1i0+C+9Hi94MaP84skXUXhUrz+ZSZt+TG4Ok7otTW/JK5qxJA6Ay9v/caKod3fsrMaNIwlBl/ZIgXMOelIIY/0GGMP0E+ClRRSh+D6f23YLSo6CaHRVnoS16LEPbGYoi1fMcYb0YeEWRkVtasTErm8NDeU/xibUuiPYlBrHLnix3mFUZpFHOR2DeUU9LogPB3T+3HJRin0hq/AjWw51uyQgTVd/m6IHUCy8hn7oAePrwyDCkExDMh9KolAp6OSP4qw= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: a14d1dcb-10a5-43ec-d3ba-08d69c7f87b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2019 06:48:05.0428 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR03MB4102 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 Feb 2019 15:11:03 -0600 Bjorn Helgaas wrote: >=20 >=20 > On Tue, Feb 26, 2019 at 5:55 AM Jisheng Zhang > wrote: > > > > Currently, the PCI dwc host users don't support the remove, but nothing > > prevent us from supporting it. To achieve this goal, we need to ensure > > we can do necessary clean up work. > > > > Jisheng Zhang (5): > > PCI: dwc: fix dw_pcie_free_msi() if msi_irq is invalid > > PCI: dwc: free the page for MSI irq in dw_pcie_free_msi() > > PCI: dwc: free msi in the error code path of dw_pcie_host_init() > > PCI: dwc: use devm_pci_alloc_host_bridge() to simplify the code > > PCI: dwc: save root bus for driver remove =20 >=20 > If you post a v2 of this series, please: >=20 > Capitalize the first word of each subject, e.g., "PCI: dwc: Fix > dw_pcie_free_msi() if msi_irq is invalid" > s/irq/IRQ/ > s/msi/MSI/ Thanks for the review. Will do when post a v2. I'm still trying to collect more code review comments. Thanks