From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F33CC61DB3 for ; Fri, 13 Jan 2023 11:59:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232965AbjAML7a convert rfc822-to-8bit (ORCPT ); Fri, 13 Jan 2023 06:59:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241543AbjAML6n (ORCPT ); Fri, 13 Jan 2023 06:58:43 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A64917A228 for ; Fri, 13 Jan 2023 03:52:27 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pGIbh-0001Kn-U5; Fri, 13 Jan 2023 12:52:25 +0100 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pGIbh-005ktj-5d; Fri, 13 Jan 2023 12:52:25 +0100 Received: from pza by lupine with local (Exim 4.94.2) (envelope-from ) id 1pGIbf-0006F5-V1; Fri, 13 Jan 2023 12:52:23 +0100 Message-ID: Subject: Re: [PATCH v2 15/16] media: imx-pxp: Use non-threaded IRQ From: Philipp Zabel To: Michael Tretter , linux-media@vger.kernel.org, devicetree@vger.kernel.org, Laurent Pinchart Cc: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Alexander Stein , kernel@pengutronix.de, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org Date: Fri, 13 Jan 2023 12:52:23 +0100 In-Reply-To: <20230112-imx-pxp-v2-15-e2281da1db55@pengutronix.de> References: <20230112-imx-pxp-v2-0-e2281da1db55@pengutronix.de> <20230112-imx-pxp-v2-15-e2281da1db55@pengutronix.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.38.3-1+deb11u1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: devicetree@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Fr, 2023-01-13 at 10:54 +0100, Michael Tretter wrote: > From: Laurent Pinchart > > There's no need to use threaded IRQs with the PXP, as the interrupt > handler doesn't need to sleep and doesn't perform any time-consuming > operation. Switch to regular IRQ handler. > > This fixes lockups of the PXP noticed on i.MX7, where the PXP would stop > generating interrupts after a variable number of frames (from a few > dozens to a few hundreds). The root cause is however unknown. > > Signed-off-by: Laurent Pinchart > Reviewed-by: Michael Tretter > Signed-off-by: Michael Tretter Reviewed-by: Philipp Zabel regards Philipp From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 07BF7C54EBE for ; Fri, 13 Jan 2023 11:59:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:Cc:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=axUiXohjhbH8pyHaXCCHOgzsyxiZJSkm9C0D9hVdNdw=; b=ELq+I2c47birhE pmWA+9mngpRHUVZ5j2sbzOQ72+vsBM3aQ0Dn2IfwOmFBXp4+mRdxlexsHRvpUPbhS0uYtnQnfNrXV kXrsfiduAi2CtxvmAmUqw49/fLP84/YnZP4zhfUBJSno1s9sVWBrpjTBGxzvRVWrh9E0MBhXf1stM nrjYVS2jJppR/dZimym1hVPfaB3GbUh2Kl6v8BzFr/hePQymQEPkHNgLgtq4gejj32aTJFCylyY/d myIT3eD+MlGRFRDv5ibcsKJuNlHBzM4h+Zsx4IhokB07r3A7RnD1JI1caziquX0aX4JiZb4YgCCuA TM9ioL7dnVVI5jf+EYdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGIhL-002Ogj-Ua; Fri, 13 Jan 2023 11:58:16 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGIby-002MGf-G7 for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 11:52:43 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pGIbh-0001Kn-U5; Fri, 13 Jan 2023 12:52:25 +0100 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pGIbh-005ktj-5d; Fri, 13 Jan 2023 12:52:25 +0100 Received: from pza by lupine with local (Exim 4.94.2) (envelope-from ) id 1pGIbf-0006F5-V1; Fri, 13 Jan 2023 12:52:23 +0100 Message-ID: Subject: Re: [PATCH v2 15/16] media: imx-pxp: Use non-threaded IRQ From: Philipp Zabel To: Michael Tretter , linux-media@vger.kernel.org, devicetree@vger.kernel.org, Laurent Pinchart Cc: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Alexander Stein , kernel@pengutronix.de, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org Date: Fri, 13 Jan 2023 12:52:23 +0100 In-Reply-To: <20230112-imx-pxp-v2-15-e2281da1db55@pengutronix.de> References: <20230112-imx-pxp-v2-0-e2281da1db55@pengutronix.de> <20230112-imx-pxp-v2-15-e2281da1db55@pengutronix.de> User-Agent: Evolution 3.38.3-1+deb11u1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230113_035242_547666_178F5AA7 X-CRM114-Status: GOOD ( 10.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fr, 2023-01-13 at 10:54 +0100, Michael Tretter wrote: > From: Laurent Pinchart > > There's no need to use threaded IRQs with the PXP, as the interrupt > handler doesn't need to sleep and doesn't perform any time-consuming > operation. Switch to regular IRQ handler. > > This fixes lockups of the PXP noticed on i.MX7, where the PXP would stop > generating interrupts after a variable number of frames (from a few > dozens to a few hundreds). The root cause is however unknown. > > Signed-off-by: Laurent Pinchart > Reviewed-by: Michael Tretter > Signed-off-by: Michael Tretter Reviewed-by: Philipp Zabel regards Philipp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel