Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp626998imu; Tue, 20 Nov 2018 04:34:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/VpiYlCJ62xVy1P6ZeA75b2Oi5hrv3m3P5Txf7+fsqTWWi8lBl/UagfstifxmpKaxlnY4fS X-Received: by 2002:a17:902:503:: with SMTP id 3-v6mr2088642plf.88.1542717292430; Tue, 20 Nov 2018 04:34:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542717292; cv=none; d=google.com; s=arc-20160816; b=esfj1CcxqAR4e/aHvz2ChqO3J2F2j6X0YtporkMdIsLDd8yvl5JBsUzgA+4oHSOgrG 8kT2iFtpl7+yojQSYl/gs63ViuqHUTcJ5Ow5RU456ktIKaA7GVfgQiuoGR1k+FRf3o7s 6cZYGqxIZSYxLzZ6KfSWJCzvEtPMN7Cmdk25QTFWXOBf4NPbbIXEGqFQMYAU+vUNv+l1 9NKtXVfrexpWczisqVPYn1zPNNX5HzvfvHaYZDo4S8gr3JJrjUcy303sQ4ZITtOXiI5m kK8IlyJ12OaJMA/KDU6hUNQm2JezDW6g4VWhjyMtmNxmXgC+MFrGG0f+fU1k+gXKn4H2 EnRA== 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=dNzbdEqE1qipGnEObhKS3c4N64JZ70P/NIiJ5BPIPfw=; b=uxHP1AMV86WoJY4VDTjfAprqjB/WVcCLd0sWMQPauBjetdEGEWZC38no/yDhaWfzfo acjvBsqn4ge7+kAfYc3U+P7q04fj6IQD7nipFeW98LQZ9f468pEkafNDLhvI//+YNbrq mPe1qGs/2Z5HNL9GoskTEytMe7iye2vzxJD2wAbb02baIVMA38/Mag1gYgBIIs+j7WUO FhijMKvkj2Eny8mHxz43n2jXquKMT/6UXuNilN3F6gwiEHpKAedQRyXsqnzh07hx5hfc 7wFnzn2B1k1cpKyb8icSd9C9rdRlRtns8nv7nO6Da7QGn3wbh6cEd96RjYamQx3HFwgJ vbzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=VHZVqdaM; 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 y5si40112639pgk.49.2018.11.20.04.34.36; Tue, 20 Nov 2018 04:34:52 -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=VHZVqdaM; 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 S1727712AbeKTTyM (ORCPT + 99 others); Tue, 20 Nov 2018 14:54:12 -0500 Received: from mail-eopbgr50087.outbound.protection.outlook.com ([40.107.5.87]:59609 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727547AbeKTTyL (ORCPT ); Tue, 20 Nov 2018 14:54:11 -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=dNzbdEqE1qipGnEObhKS3c4N64JZ70P/NIiJ5BPIPfw=; b=VHZVqdaMc3l1qo7U4rf08WnyiYAylL2bY6+tafl6xmn+3CpOMxy0uo9lcu2dzjKB1zcm2mkkBR7uv1mNBMABYLUd0aSMvet1p8tKUUbLIWF78aoc/6cye1np//+R29ccB8zT811pfNuRB/dHvEA5HogKrWwAjt9ng1DPz6ubfM0= Received: from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.2.80) by AM6PR04MB4775.eurprd04.prod.outlook.com (20.177.32.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1339.21; Tue, 20 Nov 2018 09:26:00 +0000 Received: from AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::29b5:b3ed:3854:cf1c]) by AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::29b5:b3ed:3854:cf1c%4]) with mapi id 15.20.1339.026; Tue, 20 Nov 2018 09:26:00 +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" CC: Mingkai Hu , "M.h. Lian" , Xiaowei Bao , "Z.q. Hou" Subject: [PATCHv2 04/25] PCI: mobiveil: remove flag MSI_FLAG_MULTI_PCI_MSI Thread-Topic: [PATCHv2 04/25] PCI: mobiveil: remove flag MSI_FLAG_MULTI_PCI_MSI Thread-Index: AQHUgLMM8rqm4Urwp0KDUbnccd0M/Q== Date: Tue, 20 Nov 2018 09:26:00 +0000 Message-ID: <20181120092615.11680-5-Zhiqiang.Hou@nxp.com> References: <20181120092615.11680-1-Zhiqiang.Hou@nxp.com> In-Reply-To: <20181120092615.11680-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: HK2PR03CA0050.apcprd03.prod.outlook.com (2603:1096:202:17::20) To AM6PR04MB5781.eurprd04.prod.outlook.com (2603:10a6:20b:aa::16) 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;AM6PR04MB4775;6:bOmvRoQx5ZoxcwCRaylhMlcs58vqc8W88BcIgrX2ISrzUIhLqfbEgqvJXsR+HCAmTzqPSegWRRHLTL3NS6Mw19YRI92O1redhowCYU3/BQTdtTIpxXjD5BpBhqQ9I7Oty543gFxWH63i6gQNI/0akjw/v9Q9sIykiDFcgojJTw9dTZbn/rdvFGHRkZhMCFKVg9RBISr6bMtGzykb3zd0q+oLHXi7msfkeZaC1PPevgDEh6/XzRnO0fmlqZd/sj7/2xpSLWhBCS4q+NENk0HfT//zUbpT9FxH8M1M0rzgS8xPu7ag254au99I4g7puVqBDeAMj0t7g8BOH1Ym/2cr7lI0oUqHXAsJDK5WWKR5b4c1WUFuMSfr13yYIgZ3jNV0ca39Tjga3dooPJfVUl6I39mbF8ZwQJFf3zQVy83Y46ql5bAVMwzuD58AOuQsFZ4qk+LAaPGd/qRTvdNNzM+wHQ==;5:0txG6/PW51Qtkq/SpnZUPQLsg95Xtub6woOy12pHkHGDLPiF+ZPdfFrThMzQirpj4Bm3CHqAhPKVP1C9VztBv+5L7DuMh3vBPSRKFgtHgZe5u3LZ7ccTTAZ5DvCUi+whCu+WiySg2ACDLHxODTsyYIxC5o2H3SUr5pwYeAemNlc=;7:dF/vNjlocVuG5O9VxRgCH2qwRjqdSx9bQQ9aKK7mT4gyu3O4Gn0xNX64S5lmIBPMFbESCkO9dh4M+K9xBgmrqj2Oma3UJ2qcq18+UrJ1XrgLYw4FOaaFSo9ysxa48TIR0l9gfxDPtzq4KNG6n5xkjw== x-ms-office365-filtering-correlation-id: 54671870-8d39-43d9-737b-08d64eca2f0f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:AM6PR04MB4775; x-ms-traffictypediagnostic: AM6PR04MB4775: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231442)(944501410)(52105112)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:AM6PR04MB4775;BCL:0;PCL:0;RULEID:;SRVR:AM6PR04MB4775; x-forefront-prvs: 08626BE3A5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(39860400002)(136003)(376002)(396003)(346002)(189003)(199004)(66066001)(1076002)(2900100001)(68736007)(8676002)(6486002)(5660300001)(8936002)(6116002)(3846002)(2501003)(97736004)(81166006)(26005)(186003)(81156014)(105586002)(7416002)(102836004)(2906002)(386003)(6506007)(7736002)(305945005)(106356001)(6512007)(76176011)(36756003)(4326008)(99286004)(52116002)(14444005)(25786009)(575784001)(110136005)(54906003)(2616005)(86362001)(53936002)(446003)(11346002)(256004)(2201001)(6436002)(486006)(71190400001)(71200400001)(478600001)(316002)(476003)(14454004)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB4775;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-microsoft-antispam-message-info: kwFM8UJyryBFD1o21m1mUAnuERHvagn+l6K6Uwwlp3SKrII8nUzNghaCp49gr4zPiwMKmqwS/nrRJEVu9SucF+RMnk3pDh5C+tlKk8w+94DZF+go/8L/BItVO+WO8OuPI/SceY0CqdV977rk3HlfnVMvQOK5avCjq4bt2LquiCSTmVnR8PFSS/meqD4bQ9XFYmA/udcTQIZHYyiLdUWOzQx1spZCDcR9KbJOEYEe8GC0DeNwBwXGpOFer1cms00cd6QPeBVCcLOHMCAeBxitjKb7Gfw3fb6l/ECbYPvRu60oYqHINbSt4V4vDjOt9XBo/3YUAguZrsiGzGy63PvGWTNCDkG/ut0k4g+JGnfXIU0= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54671870-8d39-43d9-737b-08d64eca2f0f X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Nov 2018 09:26:00.4249 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4775 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- V2: - Added fixes entry. 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/controlle= r/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 =3D { =20 static struct msi_domain_info mobiveil_msi_domain_info =3D { .flags =3D (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 =3D &mobiveil_msi_irq_chip, }; =20 --=20 2.17.1