Message ID | 1489176904-16297-1-git-send-email-roy.pledge@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 E029060414 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 10 Mar 2017 20:16:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D934A28774 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 10 Mar 2017 20:16:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CACA228797; Fri, 10 Mar 2017 20:16:34 +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 3C7FA28774 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 10 Mar 2017 20:16:34 +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:Message-ID:Date: Subject:To:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=s6OU+Df4AO+56Keuc4gp1+RisvbrT3oJP1GtyY4m0J0=; b=eCraJYMsWKsS9T LS3mPw2kZhIoQfwncMif1+AmzBU0MuDj6SGFKZAB+K42vb5nmnuElFX3Ze+6n3IdHjOkj12k2AAk1 pABeJwP3WKgnFEBz7MhpbPkUlgMNGNNk7erz3wCS4DBRd8Gr3kYlS2uHt0Vx6w/iV6Wo8kv8E5daz 2sWmFybC+uVUVTfMXMb2FhA//BIGtAGAAJwasEmhrWB2QELpWp5SGG1JXBoFy1LMOrOIKhOMGpuCM WJ4Ip0Zx/xU1ZA+MatDsRqKng27O0cuoMU5vkyEDz7XS1uSpbN4iH3R7D16CeJEw0j278t4j2DRX+ Tv4AtBF+fysz2Tj+mc6g==; 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 1cmQxf-0004ro-A4; Fri, 10 Mar 2017 20:16:27 +0000 Received: from mail-by2nam03on0050.outbound.protection.outlook.com ([104.47.42.50] helo=NAM03-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cmQwl-0004h0-F5 for linux-arm-kernel@lists.infradead.org; Fri, 10 Mar 2017 20:15:34 +0000 Received: from CY1PR03CA0039.namprd03.prod.outlook.com (10.174.128.49) by CY1PR0301MB0731.namprd03.prod.outlook.com (10.160.159.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.961.17; Fri, 10 Mar 2017 20:15:08 +0000 Received: from BL2FFO11OLC010.protection.gbl (2a01:111:f400:7c09::157) by CY1PR03CA0039.outlook.office365.com (2603:10b6:600::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.961.17 via Frontend Transport; Fri, 10 Mar 2017 20:15:08 +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 BL2FFO11OLC010.mail.protection.outlook.com (10.173.160.154) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.947.7 via Frontend Transport; Fri, 10 Mar 2017 20:15:07 +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 v2AKF52T030274; Fri, 10 Mar 2017 13:15:05 -0700 From: Roy Pledge <roy.pledge@nxp.com> To: <linux-arm-kernel@lists.infradead.org>, <oss@buserror.net>, <linuxppc-dev@lists.ozlabs.org>, <linux-kernel@vger.kernel.org> Subject: [RESEND PATCH] soc/qbman: Disable IRQs for deferred QBMan work Date: Fri, 10 Mar 2017 15:15:04 -0500 Message-ID: <1489176904-16297-1-git-send-email-roy.pledge@nxp.com> X-Mailer: git-send-email 1.7.9.5 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131336505083562032; (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)(39860400002)(39840400002)(39400400002)(39450400003)(39380400002)(39410400002)(39850400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(86362001)(2201001)(104016004)(43066003)(5660300001)(38730400002)(50226002)(36756003)(8656002)(5003940100001)(4326008)(8676002)(50466002)(8936002)(33646002)(81166006)(85426001)(47776003)(54906002)(48376002)(356003)(4720700003)(3450700001)(105606002)(53936002)(305945005)(50986999)(189998001)(2906002)(106466001)(77096006)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0731; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC010; 1:QAYVr8Xeue24UPRkpHCepz1kCUcDUfru4jmpWvfUghN8OMegy3pe+otKV2npGd80BM21kEphjB4vscU/yaFIucbh+mnIItcBUHzTRpmayw9tzKkLz2DTSdvR30TcAKvg7NX1fuuA0VRwuTjfBzFw1bESwCHANOwA1FiOxc1/Qam/+yvkNjCvwHj6AOaDX76ef5hK+F9KGA4TXMuxJR3UJKY+NiQOF0MuanEqHXUaEUKGyerMbSbTN4MY44hW2NSw6yxePmqMnMh7RiNR7dcwpRMCJqZUUSk/Tjz1tzFfl8WdZGfpJLFxhL5OUdOSoToEhX2W2zh1O34RoIUPVkdKj6iHwG7ezOnmv/ZZAaNwq2ahe+Qe/n/j4NDOZ5CBCrRvA4LIjJGwouzSa9tOX9Z1Gf36KNwh4/Yy1pWmKpOQ1hJrjIbJiLMC0rPf9INoTxN66NMJQfxliOQdCF7l5DYQ27qvb55pYyRVJUwWE05ypK6s/0hQCRBEtOQTIk+FVUTTJ0Jhi9ssnc8p0hPorEhWnzqhGL3HT4apJrXF4JJ/O7wUR9bqq5yTtfYMg+EJva2rdnfl+iTKjUdxCUTykN6Wxh41ZZKQfWUcjMKh/x7xQ8B/vfm286JN9lTNlPp98UiOK6Oyfkwrthwp8XJWQ73DYHE9c6yrCaBUq+mF7HpfkilvF4ByD7+uvGTGFSinbLz+mjlfUAf/mBuTe6uNT25H+A== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: c51839c4-ba99-4156-9beb-08d467f225ed X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0301MB0731; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0731; 3:U0wghmCCsThouOKptvh6iyQutH7+Inxq7/tM1y2GDg4JNOMaDUzE6blplMmc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vVV4kzHyWAZvzbVtn+TwqP3tsxS+iA== X-Microsoft-Antispam-PRVS: <CY1PR0301MB0731EBC54441DABB105F410986200@CY1PR0301MB0731.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(5005006)(13024025)(13018025)(13017025)(8121501046)(13015025)(13023025)(3002001)(10201501046)(6055026)(6096035)(20161123563025)(20161123561025)(20161123565025)(20161123559025)(20161123556025); SRVR:CY1PR0301MB0731; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0731; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0731; 4:2613e5I/vm5ACsGo5d05RO2m5g6k96GFC26ezPeTNpSD9/jx3y15HnHOaKyZ/t1lkS35CSF7PINmfJPmzhyjR9TI/abBB8wjDSaMVqXr+DIrdFuvrW/hC96OnWQe2DhvV5KPtKyT46SEeUgmzYQoUiQLgZIB2LAIYtglbVvN4IploqvKzcPalBwJ9OVfZtoi4ZH0hDPfu6+wV8hbZFpZkquN+MyU08qZJ0s5Pek0aJXFs0Rmua9UoCwtXrKaDlOUgzxP21Zy5QjUKtP/fcYxprtG+XDesuY2bMsolT9IVroBVIiqh9tCds9Z4IzvEEW8ZlORahYtXB0qQL4c0D4+u9qUil27CAF6adN8MGQXDjpUEAneOh+7pfpcGY2J7zPo/nrJUkwFHnwTWeXbQBgpGuex0Vdw5NWrIx8VTtxKUdlOQFLgijnxcw/rioxyLSnx2OcNEaLbLz/lnWAlfE6PsmNc+NMaLBDQc0YbITmqWEy2ovfYbe9ZFRw7gu0HAGNz6R6mjUQJOpZGJDAcxC2iJ3dT3nr8MB7Q5uHkxQ+BpfWtQ9NC+tTIpiQd9CZhDK3msp43tsCgfU25i8wkmKNu9bKkO/zj/8XXVcOyBeQyMKTkiyc5mtUc0bB0euk6ud5K6c6P8+6bm9FNLBrXiRyJP+mVhADH6WApKFP1EnSp3+OYmtGXx9R9HlJ0nZtlxcw15ABY95nqyijfDoxYUBH3/XHet8um595HCd+X6grrrUV7b1MY58QDFV5W3NpdZ8Hg X-Forefront-PRVS: 02426D11FE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0731; 23:Yw9spUqYH1MfAyzAObsDC6FJR88IXEhF2jfH9Lu?= =?us-ascii?Q?VBeYh3q3Ru1Nf7e1rY5keZxZfJUeDDM8LSB8ZDZnwKLe166WCVXbbJQ4SRNG?= =?us-ascii?Q?lnzM/4IbEyhYEO/TqvzB8fnMk8NS8CNVtejPuGZ4e6PoZHUhJmpZxMsuGHzX?= =?us-ascii?Q?QzrzxBq+ZXSZ+sttA21BPMiFtgyB6174ATeOKav7/isPeOkTv1i/Le+Yu/vR?= =?us-ascii?Q?vkdCNlZdwIqLZWzyBIFlUrcp8nULYR8WVi5tn/p8mWJM7+t5bSE10ShY2gsF?= =?us-ascii?Q?kV8nSEWL2SHI/emWnIyQgS5gOyAMq09x5c3EHgmucXRln+GtPUsTIrhripHn?= =?us-ascii?Q?mkSI2PHby+vOubaeIOKwLcEqP8KydBsRRAc27EybuuLv9orH/ERtywBXOpel?= =?us-ascii?Q?Y88HTwex6fmzF0dNr8FLs/WXecu2Tx6b55j0CMuvMPsgl7CkPGEfzq2GAHB+?= =?us-ascii?Q?c4WEKShxnqV43UrLTfqptOy0JekjizBxcVPRcFG3fHGoH+ZIZYp9rdG6xqq/?= =?us-ascii?Q?dqSk5cL+5lwCKR/bfNLzgWCE4ijrsAXQG0CKG2OMioEVlY5bajcBWE5m6AgP?= =?us-ascii?Q?uu7/ba2VY6x9C2gUOyncLS2KG8Vg8TRyf/rrq3dfl3H89zuUwNjYDfR+pEXs?= =?us-ascii?Q?jA30maEeKXjiK+0SrFU2F/m7r9FdeW0TymI78YH1yH/ju/VXFJ2eKniIrKdU?= =?us-ascii?Q?aaHWP5DEjCTck0l7C7GxJdnsrIQtwO3pOyqSCG738QFSxU24b3alDZVSIe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ALHn+vVIyCYI/9Ou0gLuGSJIf55zbGPgTCCeNvLd7lnqrYDWbeJrdxiH43OVAxgKZPNcVcWmD0nsVGYw46/rwjQcY/CpU/Vmis+ly6Ca9lvVYZXKKhDyoTkDLm0s/SyZ2nte+Ty5s3dllk6O+fGVM35ItLbr/QT4kBjPtFPPpZpt; 24:4bElQly8trBsxW6QgkI6IeliloapmhrAuXY9bet6LfwXHyR/a/6rzn75HzIoR7t8B13GUGVwEt6u8slC/UyPCACbOTECYizdJGHhAf7QaUQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0731; 7:3VfVBVBJTEa85qU8M+pu8dJIbrBKlAsEkZel7w/+uzJdkUOBvqs5EnILP+sEi5Go48cukErwqf5iI10JMYWnJTdspLxMqZtjHK2PLYwP6aDB8Pl5uJAC2SFphefN4sm7OPnSHx5wKpbhT7NMtTH7f/EV1h/6GLQa6t+UwHExOkQBqBm7EJqZXwhmKvT7mcn7N/CLu0DjAwoqQO5JmtyE5fanC5rnFmEpbwsS2ftAJdBxtyEcyjpNMv0HE9FK8IavbNYGwAsinadMaunMOJHmyWoT8JM2IRkHHrpATBClWvW6d9v7MiL/XKVd4agUK+YSUmGo6eW55BizlZkM+/WeLA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2017 20:15:07.9818 (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: CY1PR0301MB0731 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170310_121531_542870_81E35915 X-CRM114-Status: UNSURE ( 6.91 ) 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Reply-To: roy.pledge@nxp.com Cc: roy.pledge@nxp.com, claudiu.manoil@nxp.com, madalin.bucur@nxp.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/soc/fsl/qbman/qman.c b/drivers/soc/fsl/qbman/qman.c index d67b8e1..f1a242a 100644 --- a/drivers/soc/fsl/qbman/qman.c +++ b/drivers/soc/fsl/qbman/qman.c @@ -1382,6 +1382,7 @@ static void qm_congestion_task(struct work_struct *work) if (!qm_mc_result_timeout(&p->p, &mcr)) { spin_unlock(&p->cgr_lock); dev_crit(p->config->dev, "QUERYCONGESTION timeout\n"); + qman_p_irqsource_add(p, QM_PIRQ_CSCI); return; } /* mask out the ones I'm not interested in */ @@ -1396,6 +1397,7 @@ static void qm_congestion_task(struct work_struct *work) if (cgr->cb && qman_cgrs_get(&c, cgr->cgrid)) cgr->cb(p, cgr, qman_cgrs_get(&rr, cgr->cgrid)); spin_unlock(&p->cgr_lock); + qman_p_irqsource_add(p, QM_PIRQ_CSCI); } static void qm_mr_process_task(struct work_struct *work) @@ -1455,12 +1457,14 @@ static void qm_mr_process_task(struct work_struct *work) } qm_mr_cci_consume(&p->p, num); + qman_p_irqsource_add(p, QM_PIRQ_MRI); preempt_enable(); } static u32 __poll_portal_slow(struct qman_portal *p, u32 is) { if (is & QM_PIRQ_CSCI) { + qman_p_irqsource_remove(p, QM_PIRQ_CSCI); queue_work_on(smp_processor_id(), qm_portal_wq, &p->congestion_work); } @@ -1472,6 +1476,7 @@ static u32 __poll_portal_slow(struct qman_portal *p, u32 is) } if (is & QM_PIRQ_MRI) { + qman_p_irqsource_remove(p, QM_PIRQ_MRI); queue_work_on(smp_processor_id(), qm_portal_wq, &p->mr_work); }
Work for Congestion State Notifications (CSCN) and Message Ring (MR) handling is handled via the workqueue mechanism. This requires the driver to disable those IRQs before scheduling the work and re-enabling it once the work is completed so that the interrupt doesn't continually fire. Signed-off-by: Roy Pledge <roy.pledge@nxp.com> --- drivers/soc/fsl/qbman/qman.c | 5 +++++ 1 file changed, 5 insertions(+)