From patchwork Mon Mar 11 09:30:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 10847037 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9159D139A for ; Mon, 11 Mar 2019 09:31:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7866728E3A for ; Mon, 11 Mar 2019 09:31:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69A9228E6E; Mon, 11 Mar 2019 09:31:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 17CF528E3A for ; Mon, 11 Mar 2019 09:31:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wpg/3gQr3T85lTKWkr+HlzGdbcFHOrvYqujsWJC85Zw=; b=W2SJhjK5Atuzjj 9ugPHo/S6Qjdgdfpide0swqDO+Y/Saaupr0HGKW0QVV7hWiiVF3T0p4MxLTIXniVF3InsmPWUa4zb mFJZxSiEMJNkCOpogbl+Vpgl8dwtq7NS6VvlAiauldpmhA1wtuusFbcTu++Getp/NZwQ8+3B0KvJc tUSPqAuDPXSpiCZOOOsVQ5Og9XwgbF4vwVY4Vgwrx/6mCCMcoeDiunP76Rhc0/j1EsmVEzItYeZ8T /AQKJ8p44J18L32LMbg6qMQNUXUMtTc0l0jrnLz211RhwHCqgtoTlxUp96DTGH0yP4d1O1cZeGmvl 09Fmi6HBVWPclDluW77Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3HH2-00018G-Ek; Mon, 11 Mar 2019 09:31:08 +0000 Received: from mail-he1eur01on0629.outbound.protection.outlook.com ([2a01:111:f400:fe1e::629] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3HGX-0008Px-OS for linux-arm-kernel@lists.infradead.org; Mon, 11 Mar 2019 09:31:05 +0000 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=11vMYtPjZFN2gkhgcCGW4FDZdYGpU4nuJcyKk/dfgqg=; b=q1wv3SQWyGTs0Cu/9SqbnizLDJaG8vRp6A5iCkQ16cZJ6Q8IUROkXNuLlpUBSwTgjhxYAnyHz7AtlJrk9Kjq9W1dywohXe7p4VqLRdFN0p7RTrUmThtpvoYtMY4bjXCXRWtKUaXEIihb1+bwR8LlfqcvnY+XGB3jv/OsnNn3/34= Received: from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.3.19) by AM6PR04MB5592.eurprd04.prod.outlook.com (20.178.87.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18; Mon, 11 Mar 2019 09:30:27 +0000 Received: from AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::30cc:e034:1f7a:2cc7]) by AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::30cc:e034:1f7a:2cc7%2]) with mapi id 15.20.1686.021; Mon, 11 Mar 2019 09:30:27 +0000 From: "Z.q. Hou" To: "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "l.subrahmanya@mobiveil.co.in" , "shawnguo@kernel.org" , Leo Li , "lorenzo.pieralisi@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" Subject: [PATCHv4 04/28] PCI: mobiveil: remove flag MSI_FLAG_MULTI_PCI_MSI Thread-Topic: [PATCHv4 04/28] PCI: mobiveil: remove flag MSI_FLAG_MULTI_PCI_MSI Thread-Index: AQHU1+0Ppa3nAagG1EaLvH5ZY14VkQ== Date: Mon, 11 Mar 2019 09:30:27 +0000 Message-ID: <20190311093130.7209-5-Zhiqiang.Hou@nxp.com> References: <20190311093130.7209-1-Zhiqiang.Hou@nxp.com> In-Reply-To: <20190311093130.7209-1-Zhiqiang.Hou@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK0PR03CA0015.apcprd03.prod.outlook.com (2603:1096:203:2e::27) To AM6PR04MB5781.eurprd04.prod.outlook.com (2603:10a6:20b:ad::19) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2ae83433-1db3-4f39-67fa-08d6a6043200 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB5592; x-ms-traffictypediagnostic: AM6PR04MB5592: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; AM6PR04MB5592; 23:b3TRoWyNDX4nhctorJUa2XLNqzOWYY9sRjxS1W/?= =?iso-8859-1?q?O20Qz7zOJXzh1lo?= =?iso-8859-1?q?mzK3TtrPhcLpwDHyDcPBmIYmEK9LmsnGj85OlZUkg2dkyOjucMtZmB9kc7Lf?= =?iso-8859-1?q?kgGRWSg8n8kFlp2lXfvEFjLQGEdS/wRPjlNVGIcXCqCH3ng1n13Bu7XkluDd?= =?iso-8859-1?q?gjgJEZfbUkaSOPbTX8NxRPPNegQmOyfpYbvtH4BnkLdd+6KbTPxsZGL4Wkqe?= =?iso-8859-1?q?5GIlcAli+hDac2V1D6bRdcFYVY0mmat4znVXM+0hnJcUIL1Nb54bdj+LH5BQ?= =?iso-8859-1?q?Kqi6qCGix9eezyU04jEDvtwtABbMmDIPLp18y0VEmPPBtNcvCj6+qD3Md/DL?= =?iso-8859-1?q?O/4jXRQDbyr0moLTNPganmBDXYSOX3uzSDtELCGQB9GLwVXTFAFWPKTwFbxU?= =?iso-8859-1?q?9f+FzpzqzLE8rczWW0PRT9NZKQUZz1bZ/6A7DNpMwqFRbbAqe+G/q8Ydk/0Z?= =?iso-8859-1?q?ZOddRDPzNIc2ELdhB6MAdTfEQa/9EybzoSlQy1lxkz9lGbK/Vz21BR2sytVm?= =?iso-8859-1?q?MsocEGW3LngtljbUQKhuimH5Vw/uBmBbptaSYjbiy+o3yX2Cu1xsz7UMks+R?= =?iso-8859-1?q?77iBgeqxfdYa0ypLbwOhYruYSQkNsbdASO8EHDFotVW18tFZEDdWaesc8/rU?= =?iso-8859-1?q?s5H7OPTp32ozx4tfRM2dWNb/ot8zl0CVl+nc5bsyb61LIqwJxgEyFPqBuT63?= =?iso-8859-1?q?3ESycr3byIK9ypf47iQlOWWAyHs1PSoolJuJIhYpZ4kaIUpTb1gx/DqN8QMe?= =?iso-8859-1?q?iajFe2Glwc8p9W7Nc1Fd1MesLRCYmkOe2R8wpQLTQwc7o2uZleccO9OtyLCo?= =?iso-8859-1?q?/JmEbArV3cFniCr4cZpKD3vfuI3/E+OL7tinvUHIcPm6MWuA6d0/f3QOUmtQ?= =?iso-8859-1?q?BUKIQgQIzMR5mJIugn70l+v8obe8kJ3vC7UlKfNqVoWdSS9mlC57uXLrgFJw?= =?iso-8859-1?q?WXC2e20LnYhz88wy2j9xeM4DOsGRtYxoTC5zAHotlZF+DcsE5BP4zmNy2sWl?= =?iso-8859-1?q?Qig3xb6Js3YnS2wnWX2b5o3bjmFi+OJLlBwU5mVpzNJDd6EIkaqieFAD68S2?= =?iso-8859-1?q?vr5lGIM++TsLdLdE+xAy+Gmm8/Oc3cub1lfzmcfh0iolUBxd9+A3tQKta4nw?= =?iso-8859-1?q?7SxWQL4RTVlWo6lt71H0ImJEDictkdixw9zM5b8Zipz8UM0fIJ/6sEVhP/pZ?= =?iso-8859-1?q?K3cnFvOvI3RBveLpPXurVsmmGrPxuud62jdB0VskQ1yyivyLBVABVTF1ICri?= =?iso-8859-1?q?tNeaTpg0U+Iw9A9ygl3WM+i+BTIyfG7Tt7xzzidj1RyA0+B8qfIQ7askUL+U?= =?iso-8859-1?q?sowZEpl1L83TKOwhueHfAhX+r+3TnEwbvIUaViQE2NTJicJBFf8w=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 09730BD177 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(396003)(376002)(136003)(39860400002)(199004)(189003)(4744005)(5660300002)(4326008)(2201001)(8676002)(478600001)(81166006)(81156014)(14454004)(86362001)(8936002)(50226002)(7416002)(14444005)(256004)(1076003)(71200400001)(71190400001)(2616005)(476003)(486006)(11346002)(446003)(186003)(305945005)(7736002)(97736004)(68736007)(66066001)(36756003)(6486002)(105586002)(106356001)(6436002)(6512007)(110136005)(76176011)(54906003)(52116002)(99286004)(26005)(386003)(6506007)(3846002)(316002)(6116002)(102836004)(6346003)(25786009)(53936002)(2906002)(2501003)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB5592; H:AM6PR04MB5781.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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: F/FykdM32qe8JtnBXEKHuNH94BDvb9RxlqQ9/yR6WIZhFZN7637mlcsghnROks0ouram8oZ+l11dBivcQMEwcIELg/1xRWt6m6/ZhgUvfq1GvTA/8Rhq1roLMqFSTgNOsEdpkIETtCEX1ZAVuvM4PhiV3RkRJSWbw3rwqhs1auZHsLjqhk7Y7mLnjAlOyF0nSulqdYDfjHg4S4/KiNtxpyrqSHbrTZKtRRdIezqrxJNo6q7+opw2TsyPKsze/kDSyJ/an07oVRv5doCMS3tuYZ59hMLaY10OI/WRUriUyMZNNUKIdZuO/l8YcXBr52wUc+w0jadPX2vAI/ujG1rC/XtAHgE9N/S3tsJ1q+QCvbi3G9W3y7GduHQCE9X/Za73rBgFtcoBMS2Stnh3J/3+0y3xIHbaEt6cwr6ZKmO1JOQ= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ae83433-1db3-4f39-67fa-08d6a6043200 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2019 09:30:27.3354 (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: AM6PR04MB5592 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190311_023038_152667_816E65ED X-CRM114-Status: GOOD ( 12.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "M.h. Lian" , "Z.q. Hou" , Xiaowei Bao , Mingkai Hu Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hou Zhiqiang The current code does not support multiple MSIs, so remove the corresponding flag from the msi_domain_info structure. Fixes: 1e913e58335f ("PCI: mobiveil: Add MSI support") Signed-off-by: Hou Zhiqiang Reviewed-by: Minghuan Lian --- V4: - no change drivers/pci/controller/pcie-mobiveil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/pcie-mobiveil.c b/drivers/pci/controller/pcie-mobiveil.c index 563210e731d3..a0dd337c6214 100644 --- a/drivers/pci/controller/pcie-mobiveil.c +++ b/drivers/pci/controller/pcie-mobiveil.c @@ -703,7 +703,7 @@ static struct irq_chip mobiveil_msi_irq_chip = { static struct msi_domain_info mobiveil_msi_domain_info = { .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS | - MSI_FLAG_MULTI_PCI_MSI | MSI_FLAG_PCI_MSIX), + MSI_FLAG_PCI_MSIX), .chip = &mobiveil_msi_irq_chip, };