From patchwork Tue Jul 18 13:37:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 9848377 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 63902602C8 for ; Tue, 18 Jul 2017 13:39:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4FF8928516 for ; Tue, 18 Jul 2017 13:39:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4415628542; Tue, 18 Jul 2017 13:39:12 +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 A953B28516 for ; Tue, 18 Jul 2017 13:39:11 +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=oxXtOu0bfhuYLrtRUOISWy+qLtDP6HRv6RFAdx5uPMU=; b=WOc6m0/RmoBx2J nNTU+8m9GSpovz5XsTGN1qeYWKe8MBDwP/4k8CLodNpNPcnh6xwOfQW+BPG0BCaOVsmGQEk7QIMhi dxpVos6QhGW3A1ztyzR+imgORdxG8GzjGuCni45+9FyOA20SxdBPSin2yrdG6i6WwfN22ZVCdZkE4 4ho1JPANaBSGQT5YvxemiDEzB3cfi8KhSkqg6i+0ceS9YG0bvIvNuX4ygrVlpjui4xJQ0ce2Ia8O9 qrp1NKmLQyv9g7TgD+nLUBis6mcSw6/bFoOcGJFAOVSkA5k0s+rCaekZkzVeY8XyTfsUYWlPyQFI2 IkeliTxXNADb2xesi5oA==; 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 1dXSiS-0001kb-BT; Tue, 18 Jul 2017 13:39:08 +0000 Received: from mail-by2nam03on0044.outbound.protection.outlook.com ([104.47.42.44] helo=NAM03-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dXShZ-0000uA-9P for linux-arm-kernel@lists.infradead.org; Tue, 18 Jul 2017 13:38:19 +0000 Received: from BN6PR03CA0084.namprd03.prod.outlook.com (10.164.122.150) by CY1PR0301MB0906.namprd03.prod.outlook.com (10.160.165.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Tue, 18 Jul 2017 13:37:51 +0000 Received: from BY2FFO11FD041.protection.gbl (2a01:111:f400:7c0c::131) by BN6PR03CA0084.outlook.office365.com (2603:10b6:405:6f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13 via Frontend Transport; Tue, 18 Jul 2017 13:37:51 +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 BY2FFO11FD041.mail.protection.outlook.com (10.1.14.226) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1240.9 via Frontend Transport; Tue, 18 Jul 2017 13:37:50 +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 v6IDbQkC028521; Tue, 18 Jul 2017 06:37:45 -0700 From: To: , Subject: [PATCH v2 4/8] staging: fsl-mc: fix compilation with non-generic msi domain ops Date: Tue, 18 Jul 2017 16:37:19 +0300 Message-ID: <20170718133723.12709-5-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170718133723.12709-1-laurentiu.tudor@nxp.com> References: <20170718133723.12709-1-laurentiu.tudor@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131448586708428582; (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)(39410400002)(39400400002)(39450400003)(39860400002)(39840400002)(39850400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(36756003)(54906002)(86152003)(5660300001)(106466001)(105606002)(4326008)(104016004)(626005)(69596002)(53936002)(38730400002)(39060400002)(7416002)(305945005)(50986999)(33646002)(76176999)(2906002)(50226002)(189998001)(77096006)(2876002)(356003)(8676002)(81166006)(8936002)(8656003)(47776003)(1076002)(498600001)(86362001)(85426001)(6666003)(5003940100001)(48376002)(50466002)(2950100002)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0906; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2FFO11FD041; 1:eCUPzBhLJ/39TKWeKoGeU3ankWuaIeGg7j/eyPjwJO?= =?us-ascii?Q?d9MG0ADKImKhHkCYTNxnlfP3MW6adQoLpUNvKbzwIsV0Jh6MUzDMRwCDZQzi?= =?us-ascii?Q?uusQ7zBSbTs2LVfbEbsDZ0B7YTgjtMK8K7d3GqM6HYLKdfzUz0Mw3POauUZw?= =?us-ascii?Q?RLOHHMxLvvFY481XlOwqKak7B6oF+1+YYFc3RD5pDr5159d+4WHbIPdAEX9B?= =?us-ascii?Q?pRSPohfbQyZ8zFDubDbHysf/WlnnnqllBE+Nqh1FSog0Y5069Zg/O8fGbQfT?= =?us-ascii?Q?0ZZDrZP9vxQx2MO96PE2FCSA9MqnHn48GEOP4MAWcE25BON5kM9+tvjYgkjY?= =?us-ascii?Q?Sh2F4CXiJKKKRyQ/ReRuL5A7HNZWRcGZ+Bv3P4mMcJpN/jNFSsBpnNIgTlhV?= =?us-ascii?Q?IE7XDajJkrNa3kSbt2Z+TDWq6cx180rz9GGj3ohsCweENAuaSrbjayZQCzMD?= =?us-ascii?Q?DYyHXrnI58XTVk/st1t4pUUBL6XbBwMzAwVHsA2yqoQUiOx49r613OouGcBG?= =?us-ascii?Q?Zbfm98j0S1xBcCjo4OfXjQLnJDI6YJSeYvlNzTMAi9aeMwVeND92AsC9V6cq?= =?us-ascii?Q?/gY03E1t/iX0aTjZWGuQcHtTJ1LYlcd69AGy22AEnPNkxYnQH1c/oUV0G0qY?= =?us-ascii?Q?fnIVCxcWN+6jUXOZ3XmcoqgtaxG3cXejR5+j39SAMWXBQhGvYiBsNVwtRgLB?= =?us-ascii?Q?WPhGYkLXK9CevdWpRtItKwpfFQgY7I5fu/m7vowQAtk4wU5zsv1Dto01a9L3?= =?us-ascii?Q?RjYKlDlL1y/HiOGTCImShtHRUx7484vQcEU9TbPDhwNEchCeW7q4C+6k308i?= =?us-ascii?Q?KPQ37JQQBMxK5ouzVj0D8DhK86CczfODXSMjZM5p6OKIKdWYy0OhXBdzjac+?= =?us-ascii?Q?PfVAy3bOlM3j6BMFroGz1/LKakJVfrJnTchYVYWQOzIOxQcXawfDGfUP46Fs?= =?us-ascii?Q?gfhOuHw2U1ij4zJunSv4wuRF+YgdD9TT39QLnbD7dpTafdxiYCa4JxSmP75p?= =?us-ascii?Q?6q6wyiCOHsNPIcCouaTUcu6cz55/3vaFZzznNBKDDmMBGA+bPKeIQAv3Ei+h?= =?us-ascii?Q?lvC0w=3D?= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0ff806c8-5c99-4b8b-45c6-08d4cde22f70 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:CY1PR0301MB0906; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0906; 3:V0zY0ksn0Q5yPwQZT7A6qTFXEYSH0Dqm6VMMEQmRGBsQI1VcZXVmR6mjAAGb+NQ6haXORJdloBDLsiHTE1VNqRtH2gS5aHluI9X4gjVhQoHfMERQjWJa6ZooPT6X0hEFr5n50YWBwNCELzJefmPekf1ufO1pyEUoNVN4926sH4uhoo6Eso+EEgnMIy0xWWuE7r7VfZbnKWF3KJwlnNQVNLSb7GKz4+wg9sa5eUhbsjS6xscmfPC1vZH2ejW9XxWTaJlFZOAfLo+471noHzVy4fGIYD/WHB9++E1d0nIIp98roRn+A4RclcDoS5TZvmxGFOId4DLfqpTwYpemxykhsXEwIk4K04i9xG2L7nsSeoB8WGMraGLfsf+HJFNvGOYcDg90gSpW9O3yJcQUtmDqQAo/ympirdIcdW4ghYWdWT9ph58D68rpAj1+4AQ22sDwpNMCR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HPRDj 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)(5005006)(13016025)(8121501046)(13018025)(2017060910075)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(6055026)(6096035)(20161123561025)(20161123556025)(20161123565025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123563025)(20161123559100)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0301MB0906; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0301MB0906; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0906; 4:Uu14arwMttRS257eBZhVuFQLvKzMxXIQVXbWes1X?= =?us-ascii?Q?yooRh1dGA3tFdUc3n9HeJqpt+AcYjlvi0EmWyVR3HW/XXJV6+2efQbX1GrdY?= =?us-ascii?Q?L/lD8YUBM6SElAn1b3bhf8LBN5nZFW5fljuMTwH+b64ncmWxEzCFEC/h30fx?= =?us-ascii?Q?AzetY9dRQz/CbBIpOerZyf8uZ7fEgB8FSdM8BtM9yxtsjxPfL6PK+KWY56zh?= =?us-ascii?Q?hLdWU15yoL63l7ptfWpfuHlify7Yp5MruPNlXxFGIOrsDTSazIw1IE89pjcH?= =?us-ascii?Q?hQ4ufs1R3iJT1r3FpL3MXKELTh25FpdXr0VCNvuUjnWC+c63EsUC492XYPKb?= =?us-ascii?Q?+9pHuEhhu7wpdAD716LVglWyFVfHczrea/4DiWP5Z2twUj8AQ/1+K51L9vDS?= =?us-ascii?Q?7nR5Bi4Dxjkq13DrOUOcdEFQYq0nUsa8xQNWP72k8q34jrj0FSXG9GwIqH1y?= =?us-ascii?Q?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UnU3qbiT?= X-Forefront-PRVS: 037291602B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0906; 23:XDQE7tzfzVKMXSUYRqiaiC3w7Z4L4B7J9BXpQ5L?= =?us-ascii?Q?fNmfh9uCKpCDDns23HJJ9bduLjNCUqX2viAGxm4+C4UacInC/nU7Nacqwsrq?= =?us-ascii?Q?+oPR/iviXihlpt2YIxDtzijESDD7cnEhMkNBwSviKx9yMTltZG/MhmPoIHkR?= =?us-ascii?Q?oVO1DrKoGRgDtprlatjNQ09xeWzLGSgObbgFEnp8+HZ9T7Oi+1oEVo9AEmpD?= =?us-ascii?Q?0sAawPzRvTwyyfG/VGCyLb18BrsTattcIeQB0pjzmJO9gRi/78gtVfWo0Y0Q?= =?us-ascii?Q?klNJH0m/vgTjzKZH1HqIBC+94PeTU8srzZC9E7iSEP2+gEvO6sA6IN0DDOrV?= =?us-ascii?Q?6tdHYzYbPcAngVFPRepnOwWK8malf1Mhg4oFcUBp9SGB4WElJMVbSCKiTsty?= =?us-ascii?Q?wmbIUNRQXjbIc3rODJzZixDKuLxlH3VNWwQkmsVJ17/OvnKnWnmR6B2carKh?= =?us-ascii?Q?G9voVBRYhARXoZy3vrpW9io3xk40lydcv4uVnFi8EgJd933vcD93B1jsMR7R?= =?us-ascii?Q?VJxhBVU130yN+WdPfK7zs9aSWbIPt96qmQK1TnG5PV1AcZHA/4sqE0ymV10O?= =?us-ascii?Q?je3ArWpMIf663wZp40izdswCJNuk9C8YXmCKGyeXgb0akCjFVlCYxHjG1Tud?= =?us-ascii?Q?LyniC9tTyjnz+miMekvYkgdibpVUXcZvDXUU79ErfZi31SF3JSGQULkxkRij?= =?us-ascii?Q?g6DjP1VrxJ6/eONSB5VpWgOu/XHTJQEczNt3GeIBf9nTBT+6XC+Ti0rCwbfP?= =?us-ascii?Q?+WxvrT0yeDAGVJPMk5MzYa09D0KS2dD59KeOaTVGkxBXq8XTBrR8pJBwo+l9?= =?us-ascii?Q?Ot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uK4RM3yJ6/5Qdr3PIJ99K91a/w4AEjDWTyHgABuIHh2AZE0V5ZLyV/icHxfb3mLvykA5pRGWAITmNL1w6Z5Mn6iv0PJ2tl5449zasSyYXG5zHmqKOZ17NNzOReLmkEOUUQSw//Y8GefjFIWtAdy6Hlld7GXTgFxSklSEOSI3GEWxQTKHpRAh83CsVQAvLEMhT7XyhK+scSjphELJ40JsbuSvVYxn9RGbLvqwSjzSP/PEfbAjubt1SpWR3Vrr/AyQa60DKXm8ysY5vJF1UFvJjchIvKSLj4U= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jul 2017 13:37:50.6088 (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: CY1PR0301MB0906 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170718_063813_546474_04898144 X-CRM114-Status: UNSURE ( 3.27 ) 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 --- Notes: -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); }