From patchwork Wed Jul 19 11:42:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 9851743 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C6B3D602BD for ; Wed, 19 Jul 2017 11:44:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B01D828634 for ; Wed, 19 Jul 2017 11:44:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A4C372864A; Wed, 19 Jul 2017 11:44:18 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 913DA28634 for ; Wed, 19 Jul 2017 11:44:17 +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:References:In-Reply-To: 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=FXv/tpfDY88uXOuoNQI1l53QeIDEs/OYZgNdr8SPCCU=; b=laqqydc3ehoa6N RD0UIXisbqk+zZ7o1kRGDPd1HCNgTh71ob2a29Dx9leOSEepCY+zPaAN8PnnFvjVCOhjza1EgngL8 d7j1iWcYVCNogGgdb746V0EWLFsNdOue/MUBLB9ZvWx02NXtqZxuTRPNd6S1DUx3v1F2eWv25J4kb zVabg5pb6YAVfv3+9M42ykRsXNGCybD4wFwNC8KIpJ+Z2KaGsYEgJvXsJdgi7cIP9hTbhG8hU9hq8 p/A22UfDG78h31WajJ7FQTdoEL7L+hupDI6PjDcy5v1WXZMTaQlikwWMrHQEVk5ThgMwk93iAXcM5 1K3/Alg6ZvBRdu0zgYiw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dXnOo-0001ny-0n; Wed, 19 Jul 2017 11:44:14 +0000 Received: from mail-cys01nam02on0073.outbound.protection.outlook.com ([104.47.37.73] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXnNy-00011v-3r for linux-arm-kernel@lists.infradead.org; Wed, 19 Jul 2017 11:43:45 +0000 Received: from BN6PR03CA0081.namprd03.prod.outlook.com (2603:10b6:405:6f::19) by DM2PR0301MB0912.namprd03.prod.outlook.com (2a01:111:e400:501d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Wed, 19 Jul 2017 11:42:59 +0000 Received: from BN1BFFO11FD031.protection.gbl (2a01:111:f400:7c10::1:111) by BN6PR03CA0081.outlook.office365.com (2603:10b6:405:6f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.10 via Frontend Transport; Wed, 19 Jul 2017 11:42:59 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD031.mail.protection.outlook.com (10.58.144.94) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1240.9 via Frontend Transport; Wed, 19 Jul 2017 11:42:58 +0000 Received: from fsr-fed1964-102.ea.freescale.net (fsr-fed1964-102.ea.freescale.net [10.171.73.86]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v6JBgYMe007825; Wed, 19 Jul 2017 04:42:53 -0700 From: To: , Subject: [PATCH v3 4/8] staging: fsl-mc: fix compilation with non-generic msi domain ops Date: Wed, 19 Jul 2017 14:42:28 +0300 Message-ID: <20170719114232.8347-5-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170719114232.8347-1-laurentiu.tudor@nxp.com> References: <20170719114232.8347-1-laurentiu.tudor@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131449381796209969; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39450400003)(39380400002)(39400400002)(39860400002)(39840400002)(39410400002)(39850400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(2876002)(50986999)(38730400002)(2906002)(39060400002)(105606002)(5660300001)(498600001)(47776003)(86362001)(53936002)(4326008)(106466001)(1076002)(86152003)(36756003)(54906002)(626005)(76176999)(69596002)(33646002)(104016004)(356003)(189998001)(48376002)(50466002)(8656003)(81166006)(8676002)(6666003)(50226002)(2950100002)(85426001)(77096006)(8936002)(305945005)(5003940100001)(7416002)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0912; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1BFFO11FD031; 1:HwmnO/ny7NwCwaqLJlK1LZtbgY8/CbGoUhYi1Y5xe?= =?us-ascii?Q?d+YKoGyeSxWoODS0x64kCmaFvaCBvh6v27yNbEfNysFYB83sjcCMa49URi4Q?= =?us-ascii?Q?SxyTnRUMc2NTKz6pRn+l+eTLoQ91MiwkBXU2Ckx8gldWfVvShnQnrGc4IWYg?= =?us-ascii?Q?zPIE/ZppA2n6/qnPbzB3gZGIPAtx0MDIOXCQXqntifeujqJz0FiAOXIAI6OS?= =?us-ascii?Q?GaciCgCbjjtkH4akEM9R3wSQvN2XFTt0MkOjC5Csf0XCdUPagWEWIGJJS/ho?= =?us-ascii?Q?h+s1h1N/Z0nzwm/Rwr3o5tAWhloB/d1wbnL5rNDsYCnwuVRNthlR9SOp4QTP?= =?us-ascii?Q?+yLeL327r7LFSDShvMG5VfxKhSOYorQAnf2uXqvLwAhtcR+G/YFS/ukKufo1?= =?us-ascii?Q?GCelekhVf5H1V7CyE5J4ga2Dy8wdmUN3SXRn68YwT7+9rqj944eNjMqUJjt2?= =?us-ascii?Q?X25RaJ4Rnz38N3a3ntLk2zvJXpja5y5CNDKVtA+UHqOJbnx1ERtByJ+VjOOt?= =?us-ascii?Q?zMf4myOYaNdSo/uJ0axh5tm2IZai7EdLGsd/Sv7Sx3szko9DbZPogwUQnLLq?= =?us-ascii?Q?TQEBcLTs99uT6jKjh2fpIp66HxtQun7n2ytqrKKLNLrtN0JOHCYmhhf7p9pM?= =?us-ascii?Q?27xRskcv6knfbyLlfJPl4O5Mtv/IxDGKNYhyXjchHs+Ci0AQ7/DMgmMbMygx?= =?us-ascii?Q?peaZpgHrWu/yyj4q34Xdy4Yr6ZJUqDYsoIj+hCqvdMeEzPUrAUxu6y27hjZQ?= =?us-ascii?Q?0jusJp1eUtzs2ZkIv2LXGtCNgu28QcY/PDW3YdYugmd07Y+Q3t6STDsRxVPJ?= =?us-ascii?Q?IkohO0aNt6EjXCZfOtcbn3ET/tfrQtHv6RZ/TETfl0so44ELyX6m3AtZo9+6?= =?us-ascii?Q?71rtzW7haKynTDKbQbREyDjpbC77vcHq1d+kIcPuRBaH2R+aDOt3ZsZUeWRh?= =?us-ascii?Q?HcnKL3eY7GaOmOAfkx7NZ8S2jwteNNasyAuBZole+I3Dedm5J+ZksP29VhZH?= =?us-ascii?Q?2NzO2KDWnP0XU8KGqSdiWs/eKYtgJuS6IDBc5p8FsXBxdr9auLmjLSU4iFtp?= =?us-ascii?Q?VC9MGs=3D?= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: af0340df-6c7b-4290-a26f-08d4ce9b4e5a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM2PR0301MB0912; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0912; 3:OSCmO/VgrfkrCgE+b/pkwbjNfdlA2uViDH2CCZAl1yXX7UKZCDS3pIqdK8dcbYQUmb3n3c6AKsE0HbICa1eDYDTzCvqEE66te2IAJLutE5h+0E3C7Ni63WUZr2ACl92gObs1TYWGn/4iwxSo1NlFJsl1wvBrdx/Kvao06rGdMtlYd3bUZze0LJvw5U4Kk5vVEl1VXgfw1BsPy54Mhm5dfby+HF9QhjMxb+xUdhCfq4Gwzcr/7btBj4Rsf8xhkbXF/rVCLtBz5mKVjHh4N/pdERoMCdyV7VXzSeBPXZXDvQNKSfImYadjaRjINTw0d4TlNt66Y3iC83eCecmGA0zywHAEkMjweFpLbM0jjTCS5JFr3fuTDVn5x4rGUPocqC3O5Qat2W8wEKR2C05lGdQDNSu0Y7kCiJg3sbFQuCOtg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ufQ54O/A1Pi1YA7wAtTM1aO7YrzwL/cAThsl3M9BdtR0gXrcS0YGGN X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13016025)(8121501046)(5005006)(2017060910075)(13018025)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123561025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123556025)(20161123559100)(20161123565025)(20161123563025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR0301MB0912; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR0301MB0912; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0912; 4:HSozRwYYfOnRV50dXyQ9F7PP5XvVBvhf7ff7re1/?= =?us-ascii?Q?H91v3Oqqye2VQWpSm5Yl5e8fUuQrTVxnBGYZcg5yMpYOgNT17Buh7K3Hxmxp?= =?us-ascii?Q?vUYw3RK+0nYSY4CO3F/v8RRl6So4I5bAncTyN/eRqcXGuftVXQupX1LgH/x2?= =?us-ascii?Q?sod6LKN4kOU9Qkdvcu5Xvf4Ul9XbO47KfqTuJHpSQ7AlgES5GHVOCw87nqvt?= =?us-ascii?Q?m+eQu50J4hlqGPdSPeavqKFbQxEuQ9KSlBRpli1ii0CPHtNpCKueU8JhPSOK?= =?us-ascii?Q?0mIQ1hPdE8RjzouvSrV3DUBD9NmFWcbsk/qeK8h9Rsjwg2Nw4ku0brBJw+UA?= =?us-ascii?Q?LjwQkly95YznhUq9w/ZAMWhl8TxiyRMYQ6x4BkdLEGcqSGHSHg3CDcEwyI6/?= =?us-ascii?Q?PHF7i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us-ascii?Q?EZa4RjUp4/RquA12sa++2qQa+7/hm2POaCtHowRL0Xb8?= X-Forefront-PRVS: 0373D94D15 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0912; 23:XlKLliZmZYlpnMFG+q4bRLlx6nciDaPfEEHz46T?= =?us-ascii?Q?09CKVuoz2vB1QaXMibkaAlOG3t6kx3W2TQGcr5wvEVrOnAWjxXZH/LUg5dHf?= =?us-ascii?Q?Lr31Oac2CSWWIAGdjRoZS8FSZahFyMg/daXGkZGyvXjxZ7bujc9PhMk6utRr?= =?us-ascii?Q?qOuZsjDBrFRTWh3BI+hsxRvidjAh+amFHNW9gtWWLclv0cxk+Q/pLbCmqk/L?= =?us-ascii?Q?RfBvnKZigcX2l1sEymUbAztjRJnopGrSn6cDTmJ6mV9BgIHL7u7hqx+8rns+?= =?us-ascii?Q?1qRvvVdOTYLh4Epe2YFHQJgt0IryX5WZs+vre7nwpeo0uCQzC+05i4sk1FkV?= =?us-ascii?Q?+xwWXtTor7W0iNs4S/Y6Dt5B2zdWVXbSpiAYr/f07bru4ojT7w5UHryQZGBd?= =?us-ascii?Q?jM3imZhFlQDoD7pNDlaS5UgT8X/F3kocuDDckoZdfhg2ygIFVOI4zEonaM8l?= =?us-ascii?Q?tDtfJh5Ltr3zO7dOYCtng4df7na+6MMALH0oZjLg4p7UKQcAdsmmZaOBXKMF?= =?us-ascii?Q?L/JYG+TX20rnjjKNpkQLdyWFboBifW09dzkpm4M9EukxfdFOQpjWPajyRzja?= =?us-ascii?Q?0uE3XbYnZzA76iPVPPOdnpDORXzkoanmLtJu1p2WaRJzqf7XULpl5Ezp7oVO?= =?us-ascii?Q?YDnA66NiPHcttaqct6hrU8sVwLnlaazHDYZg9gUDFPpFrg8j+4Mlmp6ef4YQ?= =?us-ascii?Q?n12VcN2BJr98chjMIcm53twHyPzPQuoV4iFmumLTeSmSha33LSozMSCIbq22?= =?us-ascii?Q?jlGY6xstBB6/K6nWtry5xuItFKglB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s5RfdevIUOcoKokUcvhjRigw3Q99Fda7fHJZN6Etz6r5h0pLMTtXSA5ILckHNFAxQG056RiyFA3Tn2iIWxNubOR8UVcGbgprmnU22IuNeWrqXhzNVtZzyLfdXY3HVtcRsOGO7HU7+jDdLlIaoFqHCG0GKU7LgiTPndmMLCHugu7Dtm/YxxJmNQjssgAQEG0A0IVtxE6uG3NC9NluJTosRe12lmPIUuUnRJdsxGDnnTcYktFkROUPjGCvqb7Z5+IHJzcw3HVPjJkI7X+g3F9o6J5jjzbIuVkRiyRP5ZT0= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2017 11:42:58.9657 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0912 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170719_044323_331378_7CA2C6D9 X-CRM114-Status: UNSURE ( 3.53 ) X-CRM114-Notice: Please train this message. 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: devel@driverdev.osuosl.org, ruxandra.radulescu@nxp.com, arnd@arndb.de, marc.zyngier@arm.com, bharat.bhushan@nxp.com, roy.pledge@nxp.com, linux-kernel@vger.kernel.org, agraf@suse.de, catalin.horghidan@nxp.com, ioana.ciornei@nxp.com, leoyang.li@nxp.com, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org, Laurentiu Tudor 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: Laurentiu Tudor The bus driver relies on generic msi domain ops. Fix compilation for architectures that don't provide it (e.g. x86_64). Signed-off-by: Laurentiu Tudor Acked-by: Arnd Bergmann --- Notes: -v3 -no changes -v2 -no changes drivers/staging/fsl-mc/bus/fsl-mc-msi.c | 4 ++++ drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-msi.c b/drivers/staging/fsl-mc/bus/fsl-mc-msi.c index ee6e3b7..18774ee 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-msi.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-msi.c @@ -17,6 +17,7 @@ #include #include "fsl-mc-private.h" +#ifdef GENERIC_MSI_DOMAIN_OPS /* * Generate a unique ID identifying the interrupt (only used within the MSI * irqdomain. Combine the icid with the interrupt index. @@ -38,6 +39,9 @@ static void fsl_mc_msi_set_desc(msi_alloc_info_t *arg, arg->hwirq = fsl_mc_domain_calc_hwirq(to_fsl_mc_device(desc->dev), desc); } +#else +#define fsl_mc_msi_set_desc NULL +#endif static void fsl_mc_msi_update_dom_ops(struct msi_domain_info *info) { diff --git a/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c b/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c index e798ea4..cd73c58 100644 --- a/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c +++ b/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c @@ -45,7 +45,9 @@ static int its_fsl_mc_msi_prepare(struct irq_domain *msi_domain, * NOTE: This device id corresponds to the IOMMU stream ID * associated with the DPRC object (ICID). */ +#ifdef GENERIC_MSI_DOMAIN_OPS info->scratchpad[0].ul = mc_bus_dev->icid; +#endif msi_info = msi_get_domain_info(msi_domain->parent); return msi_info->ops->msi_prepare(msi_domain->parent, dev, nvec, info); }