From patchwork Tue Nov 6 13:19:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 10670343 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 2374013A4 for ; Tue, 6 Nov 2018 13:21:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0FDFB2A3A5 for ; Tue, 6 Nov 2018 13:21:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 03B802A3BE; Tue, 6 Nov 2018 13:21:16 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 20F082A3A5 for ; Tue, 6 Nov 2018 13:21:14 +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=C8oiF3yxaa17p7pHtJZpN2LF/KDpCrCPwVVwI8n/sNw=; b=tk4sb/9m/yFRWQ 8aMJodr0JKKIb5oCHYAmgy8MQz+I2QOAOu0F5r78g2f4Zz4gDrM94e6dC8mh13uB6TyFjvpw7qDu7 JDonON3Q+6BTJ1kpFRQBVCG3aBxvD2yD3c5Ml5X1tsCkhRSbdMS8oR9EQciPomXZEzzu01/WQOBko 8PF4AgGgGVeyedm4yup7ly3Z4C9VtqFZMqY1W3f/bBXcVhAS0Oc+yr6JsUV8ZsYQWfE47bD0Hk4lp v9MCMbBxRQyafrM4kVA2BZAHajNYmCYEV8RXklsCzTHQrShBtPVpd1WkjSsYv3sT6m2qlT5XMsTeL CGqbqWdigJw4vtyaefjw==; 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 1gK1Hx-0002WC-5x; Tue, 06 Nov 2018 13:21:01 +0000 Received: from mail-db5eur01on0601.outbound.protection.outlook.com ([2a01:111:f400:fe02::601] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gK1Gl-0008M2-RP for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2018 13:19:49 +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=0qb0/iYVXl5Bpc+MJ4m43iRbJvao/IFvoOxipmC6V64=; b=Z3Xu/sa4Frm/2mraKn+9YDRuKnHvq3w1DzegoDJTfY2Q34I/VvwhF210/dfvZbyH3ICk/rQWJwV7PCaHPv52B+SpnuShO+hyItR89+LK4aQ6721c7mSb7bnBm54YNxcViZsJpzjJOrJ0etZM61jYuu/SMFf534JHKXi6k6Oebow= Received: from DB5PR04MB1221.eurprd04.prod.outlook.com (10.162.155.27) by DB5PR04MB0984.eurprd04.prod.outlook.com (10.161.196.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Tue, 6 Nov 2018 13:19:32 +0000 Received: from DB5PR04MB1221.eurprd04.prod.outlook.com ([fe80::6c36:f4cb:26c2:e8cb]) by DB5PR04MB1221.eurprd04.prod.outlook.com ([fe80::6c36:f4cb:26c2:e8cb%2]) with mapi id 15.20.1273.035; Tue, 6 Nov 2018 13:19:32 +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" Subject: [PATCH 04/23] PCI: mobiveil: remove flag MSI_FLAG_MULTI_PCI_MSI Thread-Topic: [PATCH 04/23] PCI: mobiveil: remove flag MSI_FLAG_MULTI_PCI_MSI Thread-Index: AQHUddNaKsP++nomakmKhf5vdiC8Ig== Date: Tue, 6 Nov 2018 13:19:32 +0000 Message-ID: <20181106131807.29951-5-Zhiqiang.Hou@nxp.com> References: <20181106131807.29951-1-Zhiqiang.Hou@nxp.com> In-Reply-To: <20181106131807.29951-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: HK0PR03CA0008.apcprd03.prod.outlook.com (2603:1096:203:2e::20) To DB5PR04MB1221.eurprd04.prod.outlook.com (2a01:111:e400:51c2::27) authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5PR04MB0984; 6:u0e4s4CbGqPsIrzvv8JB9qhm7I1uiSC6R++EFkkeQ8Zm8QhAqFnERkEiKxty6JUbyO0NO7TUvr/JY+Meeg2/hzPIieLA0spCfpGEqEhPthhYJObV0lzQqOCkKVaQM0R02Pm9mgixsinZnZY+z9L5wxlQFefQguQBsDTpI7thPFiAxLo4AD/SRLpnOv2c78rP9/yVyzTfXlQ/hQVQGcGoHp9wHGoVdAlFqZJySx0VSxoy36qvl2aUEJPVGsGk+VlzjiAaOlVYNq2YocSjMGKX0QF0p5DTg4jBqrRNNKUmUrHczOKwylzZlD3d2BCKCtsPeMjAGkv5qz76ocZ4L0LScxY0Xr8AZluBDD9jL/hr9NbrF8ON5/QLewGKef8N/zWcUBjRlQ+iQGBTeAnJ8aUj3yqEnRi8HMv3C6SGNzYbxd+H9S3shwfcUrK5kFpSjhPoYUwg7xRg3u1JbGd6KuoGoA==; 5:jSztkSawfRlVI37TQLld+pm5YtnKF1xtMW3Y5zCTrhB4/uPx3VbAsNGeeMFu66zmiy18XW0BdmAgzv8fuP9iwy1oqs5sXwf3xHmx5/WH1/LdF8YA3t8OD0HLb/Lj+EAgoxAnF9VBr2yFrYjP2HPcgvgeT2b+6LHA05hM/L1CraQ=; 7:HOlD9ae3YHTp4erk1YMfKvJKyIDjoFeg4ydQP6e3exixF9QUXhRhJ7QRpXqecNR3yYbqN+SwMcRyZbmJEBKV9vbCAmTDNLwyZT0UdPGTQpiWOMNUi+RVLVMfm20GON4RUVkrBo/TJWfQvmuL0bOv0Q== x-ms-office365-filtering-correlation-id: 6f3a157a-0475-450d-1513-08d643ea7cf2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB5PR04MB0984; x-ms-traffictypediagnostic: DB5PR04MB0984: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231382)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:DB5PR04MB0984; BCL:0; PCL:0; RULEID:; SRVR:DB5PR04MB0984; x-forefront-prvs: 0848C1A6AA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(366004)(136003)(396003)(199004)(189003)(68736007)(486006)(386003)(8936002)(3846002)(99286004)(71190400001)(81156014)(71200400001)(81166006)(53936002)(8676002)(105586002)(110136005)(54906003)(5660300001)(2616005)(446003)(11346002)(66066001)(97736004)(305945005)(7416002)(476003)(2900100001)(7736002)(106356001)(14444005)(2201001)(4326008)(2501003)(25786009)(1076002)(186003)(6486002)(26005)(2906002)(256004)(6512007)(575784001)(36756003)(6116002)(6436002)(316002)(102836004)(52116002)(6506007)(86362001)(14454004)(76176011)(478600001)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB0984; H:DB5PR04MB1221.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-microsoft-antispam-message-info: ONDjVfDOWvJTtqmFcIZrF3V56ob4CUoI3K1ExNS2Gm+j6qQ1hiY4Y9nAe4GD8Bc93LkunPBnDGh1dL6i/8t/d/mYaE7konBY4SdEnntnFd3N+QAdy7ynvCPBjrkr9ovEMx4M6rJnljCsviFN/RO9JELOg14F64heBe3HGa8WO93NB0fj/8Q2Gyg/KXWkia9krCn0YTgIMAIbWJQe6+zQD7SYlb84vpCKklkZZ0ddpgOpnFkc64gX6vs76fw3msy5BkZtOv3sDXOCGl5IbmeqTquNaQ7oK6AMKzy6KvUPRzIvFmY1AiWYm+6+Jk9TwdeFY6EG251+UL3tiq9T6zzVE4xBfmppdgyHMUvWivMdris= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f3a157a-0475-450d-1513-08d643ea7cf2 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Nov 2018 13:19:32.4227 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB0984 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181106_051947_915722_F863DEB7 X-CRM114-Status: GOOD ( 15.31 ) 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. Signed-off-by: Hou Zhiqiang --- 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, };