From patchwork Wed Apr 19 20:48:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Pledge X-Patchwork-Id: 9688901 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 A96C260375 for ; Wed, 19 Apr 2017 20:50:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9996A282E2 for ; Wed, 19 Apr 2017 20:50:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D4CD28437; Wed, 19 Apr 2017 20:50:27 +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 14E0A282E2 for ; Wed, 19 Apr 2017 20:50:27 +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:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:To:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=n1DpDG/4mTKPqd/n3FhfHlEnq4ZVRlZty3BFNm2Ma0I=; b=WCy6o1vA0WLNpw IRD07/2LJaaXyLbj0ofpnIA5GG5SYyeIutItnSxAU7UKLooqXGeN+ZKpRd7AhK0wyLdwKUY1Rk9Tr 6LL8rQbn2T6rjuoOBuwROstgqYvvB9h/D5Vg7xNf1EVkqZUcbZHqX06d5kt8eQw5Xg6qF93ysIM9y U045WEnWGB7DxKG2S0eQVFMm/8e1FIDAh87wcK7pVSL8vkokW0rrwD+5M7nhFeNpctXKK1Iz4F3+H MJLvUjOHLsGphQQWussVfxSbHOsCEtyCH0Bm2ZB3Cm//ZiCAnQr3qWzsqSBl2aW8sbhXjIVBNgBD3 E0OOCcxs9ZZq7MZvk5Fw==; 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 1d0wYT-0007KH-ME; Wed, 19 Apr 2017 20:50:25 +0000 Received: from mail-by2nam01on0086.outbound.protection.outlook.com ([104.47.34.86] helo=NAM01-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d0wXS-0004q7-5p for linux-arm-kernel@lists.infradead.org; Wed, 19 Apr 2017 20:49:24 +0000 Received: from DM5PR03CA0050.namprd03.prod.outlook.com (10.174.189.167) by BLUPR03MB245.namprd03.prod.outlook.com (10.255.213.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Wed, 19 Apr 2017 20:49:00 +0000 Received: from BY2FFO11FD024.protection.gbl (2a01:111:f400:7c0c::128) by DM5PR03CA0050.outlook.office365.com (2603:10b6:4:3b::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10 via Frontend Transport; Wed, 19 Apr 2017 20:48: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 BY2FFO11FD024.mail.protection.outlook.com (10.1.15.213) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Wed, 19 Apr 2017 20:48:59 +0000 Received: from otc-sw1.am.freescale.net (otc-sw1.am.freescale.net [10.29.200.182]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v3JKmswl006946; Wed, 19 Apr 2017 13:48:58 -0700 From: Roy Pledge To: , , , , Subject: [PATCH v2 04/11] soc/fsl/qbman: Drop set/clear_bits usage Date: Wed, 19 Apr 2017 16:48:43 -0400 Message-ID: <1492634930-10765-5-git-send-email-roy.pledge@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1492634930-10765-1-git-send-email-roy.pledge@nxp.com> References: <1492634930-10765-1-git-send-email-roy.pledge@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131371085397381116; (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)(39850400002)(39380400002)(39400400002)(39840400002)(39450400003)(39410400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(8676002)(104016004)(86362001)(2201001)(38730400002)(5003940100001)(36756003)(8936002)(50986999)(50226002)(4326008)(2950100002)(76176999)(81166006)(6666003)(85426001)(77096006)(305945005)(189998001)(5660300001)(50466002)(48376002)(356003)(2906002)(105606002)(53936002)(47776003)(43066003)(8656002)(106466001)(3450700001)(33646002)(54906002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB245; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD024; 1:I5aMxpx8jGhQ35E/4XJG8oBABiUNZgZ2EZkw/GVBYfVnyv34i9E3+UJCFLGkR+PSX0H8zORQymLY6wryVNmnu8lfNUD5MUKRPpBNbvYQOSoWYrHGAS9/g1iPYV56rhFdYq8bmVqpVQfUMMG7DXZ0BVgFbP+lZ1t1Sxsxvib87AuLHO6P4YbsqTTZgAbKXF6BSZYuZ+kByXYgS5trtV2nagtKS1XeK9lGKFuKEBhyAyCGgzYhizTINzI0ax8OV/yGgAfpA+6dFM4Y3dTG20p3Ryo7lNvU2tZYzqg+S/6Q1a/MwBs5hJdcA7HkD87cSylNsgC+SOAZklnUFz5lTEwBU+iiBr2cUklG34+7UAsThQB26eELVCXb2oESZ7T9Mg6CzJg2iVL2m6ItMRE1MdNoOn4L1WN19voi33sTcegkefgvuU1C+no5Kig4AL78ZplZJ5dsVWqnfVGIX3XBwLabfrw58cq5P6sxRT9ca44DFawM4imSAUncL1PFfJfIMokbmOV7GRrL0NT6JSzNWV8AdECbBIqpVX4CFrnf44a1HqDSnirXw7mnw14J35GrqFmq91cBreZ/L4KqWkbbCgO/Kl2KNFQC6XtTDT1rj0++h8tNgbFRLs5+ikjLXPdNpLb0pHNQ0D+9FzqpcGOsNGHq6GuFo+tUXv5a+AoCYhah5DtXugbg8HngzwG9ZFivl4DDGUVmjc3mv35pH/CSf1pyrU91EDXGyeJi4p6zRS6H2Wv2xL4okKdH6RkWVeJx+s09 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 94ddb7af-5e0a-467a-ee9b-08d487658152 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BLUPR03MB245; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB245; 3:rXw0XSnnavqqeg7BPWmo18sSW+95zgCSSGOZGy39vMDeHGXXuqMh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vXoCauVEU/1zDbw7W07jXWGzdC6lSlww7yQd1sXH7ZRC9/wOefiL4Bw8VUk96hieXQX9ID95uys4VpLSFo2t80y5QX/HWRj0d+zpfr4Rct7X+boQ0pPT9oU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(788757137089); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13017025)(13015025)(8121501046)(5005006)(13023025)(13024025)(13018025)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123561025)(20161123556025)(20161123563025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123565025); SRVR:BLUPR03MB245; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR03MB245; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB245; 4:BPGx8UFiOZL4X5PKP4xuKUxsnFxHUSC5gsG4CNDQYZv?= =?us-ascii?Q?BYhuN8XchAs3F6bCIDR9Jd11+s20jy1F924hGgzr8/jebWA2NvRYGrg3TCXy?= =?us-ascii?Q?K2WTdNWQaMRYXWp0TWN1/zyJs9rNv8BLCpBX2g2r7zitxB6+GqwOHMPnga3Y?= =?us-ascii?Q?qUKQfNAVQ4K+zWxZAaVVoPjtQUKhDRPJ/9g7Cf/wCeFlLG58ZUeJTUtCUODK?= =?us-ascii?Q?5FPEpu9DCMoU+rfCReOYJmNybnymOQR344ms56LvEDIObI2+oY/y5fJvKJjI?= =?us-ascii?Q?JmNRJz4Qk+u+IRdCA8Av1ZrjkV0tJATUpEeUr1jjSfNI9bguet/e5yPoxUmX?= =?us-ascii?Q?H6n1eqyuOne216SSHEK5I0ROD5fo+D6uam3s01gfbdTBa2YQA2yUrx9yXnOq?= =?us-ascii?Q?A30Nb4k2NMafhWQvWCf2sXw8ULVyJ7+YxIObhqlvuaOcv/EuW0Xirtm6yWSd?= =?us-ascii?Q?mpe3KKXS+3xHBTlpWji7/u7JDnHUA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h52o78Op/8MbGiskum4s1MKSQI9QU3M0d1kGhhAfB252QXqZlZP28IBuw5rN?= =?us-ascii?Q?IgmFrYcLkiobRTejE=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB245; 6:Olu/gBIy7m+qVwkFBH2iOg1eGzb7Q7FdAL0JW2EIMoMIIxU3Dci42FWgZsiFf6hxRB7JECCsKoFw5Dt/grPyo7TgloHUsZSEYQ9aLsl/Tstq6ucfXosqZrxECywTlw7MQ38/+NYxqQHtO4Clu+rzRviNGOukUk+bBaZJ1Zpc012GDnvCMssJOt+kIAwPxUEjAs4003/M41tPy7dtqlzM+Mhrb93Flws7S+TVxncmSs19+kx/hYGtV5qLHu4fhHp6eYYO/pXprUUX5s5mW5OgLtjcJmJvyjL3G/f1vqDyHlu3MVRQwsmWq99Zw7v+m7H9uI3WJCEKxiHptqNX4RXCr8W9Q0bRzW8fFaKw6nqcNJm8DOkdeunLmpMZqc1NnxWGRPAMGQpH4S2zUqLJbaYaKogYiKzQrMiPLmc57tdbuQcjC8RQGDmjr28wT2ZeQp9B3JJ5fMkYskF500W9iPwT+mZNmaZY5IVTvDUiYhSfp5lMzztK2Nov5SPzJnNMf9b4yeTyxhWQA9sKISsmhqWnsA==; 5:qpbEeos26yBBQIIlap+9owZkzgI01hdhIHC/L2aNS5Z6iBxUNapOXBlwYhYWdhS99UqirZLYYV/EJur1LDdkw8RUVx7E7V6CVY+KS67ka//X4EJd0tpQ7utRQVIUWH+8MqtRUqNOqwoMrknoh8zZMWPSp6HI8uIyopqDkZNnE0R9rKz0qeZnFa0M30Wn3u/U; 24:nTdy/UuHI+E2O3fZXOLdadWpmtZ7Rq+1P8N2BdtvricJZ7DH9cUevGeNhFX6HmvLc68GdVX6gVsw6WDCSW9nJ2GpEbI5nStGDlYgj1sLPrk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB245; 7:XQrAunRntPckk83HOASQXoHVoMEPLRRueRQ3bdmKAXuto1b3qkqvjSZ1nraLS8DFiUxQi3Kccs42EPXgZNscywz5QzMnEulOlNYU89QcHK2O222v+iKCI+EdQtq5wzD5knPo7OpMCl+7VGhB3JkAXbRsgW6KSzzGEIA/Rptt4+dcvbkggYbxlXeSs/gJgqlqzH+Wp1Bt3MiakfRxrCCjbhW4bEnqVJGstT/dINY1TI4A16/ltb3hx81noXmvpbUL5rGI3fUNMRXwP92IRCWYS25Ij/TRGX5uFuDPSZudoysOyfVIIqviITLxRl0ZMyIyYx2mf00I2vXowZeMSl1DEA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2017 20:48:59.6133 (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: BLUPR03MB245 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170419_134922_358879_E427D80B X-CRM114-Status: UNSURE ( 8.03 ) 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: , Reply-To: roy.pledge@nxp.com Cc: Claudiu Manoil , Roy Pledge , madalin.bucur@nxp.com 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: Madalin Bucur Replace PPC specific set/clear_bits API with standard bit twiddling so driver is portalable outside PPC. Signed-off-by: Madalin Bucur Signed-off-by: Claudiu Manoil Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/bman.c | 2 +- drivers/soc/fsl/qbman/qman.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/soc/fsl/qbman/bman.c b/drivers/soc/fsl/qbman/bman.c index a3d6d7c..3acded1 100644 --- a/drivers/soc/fsl/qbman/bman.c +++ b/drivers/soc/fsl/qbman/bman.c @@ -607,7 +607,7 @@ int bman_p_irqsource_add(struct bman_portal *p, u32 bits) unsigned long irqflags; local_irq_save(irqflags); - set_bits(bits & BM_PIRQ_VISIBLE, &p->irq_sources); + p->irq_sources |= bits & BM_PIRQ_VISIBLE; bm_out(&p->p, BM_REG_IER, p->irq_sources); local_irq_restore(irqflags); return 0; diff --git a/drivers/soc/fsl/qbman/qman.c b/drivers/soc/fsl/qbman/qman.c index 3d891db..3f60289 100644 --- a/drivers/soc/fsl/qbman/qman.c +++ b/drivers/soc/fsl/qbman/qman.c @@ -909,12 +909,12 @@ static inline int qm_mc_result_timeout(struct qm_portal *portal, static inline void fq_set(struct qman_fq *fq, u32 mask) { - set_bits(mask, &fq->flags); + fq->flags |= mask; } static inline void fq_clear(struct qman_fq *fq, u32 mask) { - clear_bits(mask, &fq->flags); + fq->flags &= ~mask; } static inline int fq_isset(struct qman_fq *fq, u32 mask) @@ -1561,7 +1561,7 @@ void qman_p_irqsource_add(struct qman_portal *p, u32 bits) unsigned long irqflags; local_irq_save(irqflags); - set_bits(bits & QM_PIRQ_VISIBLE, &p->irq_sources); + p->irq_sources |= bits & QM_PIRQ_VISIBLE; qm_out(&p->p, QM_REG_IER, p->irq_sources); local_irq_restore(irqflags); } @@ -1584,7 +1584,7 @@ void qman_p_irqsource_remove(struct qman_portal *p, u32 bits) */ local_irq_save(irqflags); bits &= QM_PIRQ_VISIBLE; - clear_bits(bits, &p->irq_sources); + p->irq_sources &= ~bits; qm_out(&p->p, QM_REG_IER, p->irq_sources); ier = qm_in(&p->p, QM_REG_IER); /*