Message ID | 20231207-rkisp-irq-fix-v3-0-358a2c871a3c@ideasonboard.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4618267vqy; Wed, 6 Dec 2023 23:58:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfp2drYYt7hUHD9lghEpWnmEtqm7btc/zthdJZwW4We7xtCJQEXhCVaARdLRx9PWSzrWDO X-Received: by 2002:a05:6a21:1ca6:b0:18f:c98d:335b with SMTP id sf38-20020a056a211ca600b0018fc98d335bmr1475469pzb.93.1701935902539; Wed, 06 Dec 2023 23:58:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701935902; cv=none; d=google.com; s=arc-20160816; b=eFX/5O7hcugTSeoz8tVJbm4LlypPihsEjoCtHDTKixH3OwvkMdd/IdJi9SJjkoc9Bs Fariv3WLYlZ+c3yXcxR1HWwE4ftZdnH/9A2yo/yAxOUCQLp135njaboJmMomTH/QhcZv sIjzRShvhT+eR6ZrUMm0yH0A7AGWIOnRSNZw8CDvyg3Fr7qpSVI891WmJ1iz5m8yQgve Q368KsDisv4EJlHVeksH3KI63eTUVsAN0YUz8G2BecBWzRZvuYSrN+GBDhOJcgdSOhm0 Ra0+qqHZaiVeFkJTkrBB5nPc0kzjBfgxXvCU93/VVjI1Ba6eeTFo2Cu+HfQZRH2UfvXu 753A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=XGBBufSy0sS344X9Rdq66I/gydpVSbMjjSc4zalJCb8=; fh=6fL1NhFCGI+wAVvsHH1pL+P1muGn2uwGLcwd3RTuFww=; b=hfVBXrcnoG4SQmJd8z8OXUWJfE3o1LjYVl4CKXvpw8bEeC4CPMm9UG76jpVd+HL++j tYhXYEuhp8HKGnxnr7fE9TufCY7PYh12Xi2QzKW89xjhiG06skFQN4QGKlXs7oWi2mM6 rZ2Lw5Hp3zbZE20I7OauAuo58tYTQH2g3h/tSlUbinjY7o3n59vlOq5Em7A2nxm1RVpX vx+uN8iQvje5WNVy80/BjD+F7XPorSWpfP7s6Nh5cb3wg6nBdHXnct62RzCdGK4pEcp4 S3hMB6jYLK1r/Ckon/AU3NS1YHwtwXVBhpV7lC+xzwncHXE5AdvyjZdi5CbZufsXs4a2 /H7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=vfStgC4e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id a3-20020a170902ecc300b001cfe02fa89esi735351plh.117.2023.12.06.23.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 23:58:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=vfStgC4e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5BD06814C68D; Wed, 6 Dec 2023 23:58:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229783AbjLGH6G (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Thu, 7 Dec 2023 02:58:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbjLGH6F (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 7 Dec 2023 02:58:05 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0168AD44; Wed, 6 Dec 2023 23:58:10 -0800 (PST) Received: from [127.0.1.1] (91-158-149-209.elisa-laajakaista.fi [91.158.149.209]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 834742E7; Thu, 7 Dec 2023 08:57:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1701935847; bh=Gz+d4XTPa6WxDzttGkhP1M41s02i069EomKAGKmGwe4=; h=From:Subject:Date:To:Cc:From; b=vfStgC4eK8Gm/J2obad28XiBPPFRClHPuJEeCUj9MNVNI/XUUXHj+8LYvq3SnOHSx xcaOfP3PXeAF55t0RIMm6EJwxf0azFXFwTWrFBsTTIUv8yH/9GGDWtUM8Kigjs74Oy ps9SYkwCS6Ov74wE8xU2Y9+9Np+IsuxDTN2u8mgI= From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Subject: [PATCH v3 0/4] media: rkisp1: Fix IRQ related issues Date: Thu, 07 Dec 2023 09:57:44 +0200 Message-Id: <20231207-rkisp-irq-fix-v3-0-358a2c871a3c@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAPl6cWUC/3XMSwrCMBSF4a2UjI3k2RZH7kMcpOmNvYhNTSQop Xv3tiMRHf4HzjezDAkhs0M1swQFM8aRQu8q5gc3XoBjT82UUFoqYXm6Yp44pjsP+OQglXatqxu tAqPPlIDmzTudqQfMj5heG1/kuv6TiuSCByOM9Y3pnLFH7MHlOHbRpX7v442tYFGfSP2NKEJqe svWAnQy/ECWZXkDch7T1PYAAAA= To: Dafna Hirschfeld <dafna@fastmail.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Heiko Stuebner <heiko@sntech.de>, Paul Elder <paul.elder@ideasonboard.com> Cc: Alexander Stein <alexander.stein@ew.tq-group.com>, kieran.bingham@ideasonboard.com, umang.jain@ideasonboard.com, aford173@gmail.com, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1787; i=tomi.valkeinen@ideasonboard.com; h=from:subject:message-id; bh=Gz+d4XTPa6WxDzttGkhP1M41s02i069EomKAGKmGwe4=; b=owEBbQKS/ZANAwAIAfo9qoy8lh71AcsmYgBlcXsKsVt/tvMkaFuFsuncMAQpquAtRHte5O1mO ixMa4XM2E6JAjMEAAEIAB0WIQTEOAw+ll79gQef86f6PaqMvJYe9QUCZXF7CgAKCRD6PaqMvJYe 9XF9D/9Tt8+wsi8FEADuVy85DDxhuIvFp9tbfxE3PN1Dl8NpmiR1YVCeWaKuG3t1V3/Aao2ZQi8 1MSDRL0240/kxelyG5BFG7Jyldqa3pg0CBFH85SCehE2rbabL/mY9g9lxHn4LRTOKR7jEpGkW76 iT9DokvMU7Hoc7Zm5KglAIbE9kIocoYhAMkYFX7NQHS9CRIME/tkpwFyKMqqHAAl1oGX4lXYDlA IHlgQYEfrjSvAaBAoI49839uezGFfbt9eA9TH7bOAthTFTTGExaSauTab+FIylry07IMVmpT+9p TRTzwgqnUbWep202LMnwvZbWPciR7/GV4kCHDC2djFXvkVSDrv9SPqQ4VYZGFa8dR2LqR2W88iU iat68gsB0+NXVPThRIhcGC2dPBwdDg3ORdVVMgwo3m2Jtzt4GV2i/IWq4AkyKbYR6LdsO+KctGq qKhNUCgZ6aXxmDZUPdCULb05jax418q13ml415tx4sn48J2KQZJ09BbVUh8ul/8GFwFgi3WqXRd sYruHPrun81djESAtTwgM6/5pYrCwm8Kd/M+yArW3e5yjzKf+uE2WSwfg3EcWUJrvsvWGsZso13 DyclUhGPJgUxivOfduNaslKrH9ovSPZ89UGuJLwOWzvYYoP9+Y3qomYNkUco+iuhB69KWw79Kg5 e6Uqque49BymQkA== X-Developer-Key: i=tomi.valkeinen@ideasonboard.com; a=openpgp; fpr=C4380C3E965EFD81079FF3A7FA3DAA8CBC961EF5 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 06 Dec 2023 23:58:17 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784609140752252642 X-GMAIL-MSGID: 1784609140752252642 |
Series |
media: rkisp1: Fix IRQ related issues
|
|
Message
Tomi Valkeinen
Dec. 7, 2023, 7:57 a.m. UTC
These fix a few IRQ related issues I noticed when testing i.MX8MP. This
series, as of v3, is based on linux-media-stage, and does not include
i.MX8MP support, as that is not in upstream yet.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
---
Changes in v3:
- Rebase on linux-media-stage
- Drop i.MX8MP support (which is a one line change) so that this can be
based on upstream. I have still kept Adam's tested-by for
imx8mp-beacon, as dropping the i.MX8MP support doesn't really affect the
changes.
- Use ARRAY_SIZE() in patch 3
- Link to v2: https://lore.kernel.org/r/20231206-rkisp-irq-fix-v2-0-6ba4185eeb1f@ideasonboard.com
Changes in v2:
- New patch: "media: rkisp1: Drop IRQF_SHARED"
- Update "media: rkisp1: Fix IRQ handler return values" according to
Laurent's comment.
- Drop "media: rkisp1: Fix IRQ handling due to shared interrupts"
- Update description for "media: rkisp1: Fix IRQ disable race issue"
- Link to v1: https://lore.kernel.org/r/20231205-rkisp-irq-fix-v1-0-f4045c74ba45@ideasonboard.com
---
Tomi Valkeinen (4):
media: rkisp1: Drop IRQF_SHARED
media: rkisp1: Fix IRQ handler return values
media: rkisp1: Store IRQ lines
media: rkisp1: Fix IRQ disable race issue
.../media/platform/rockchip/rkisp1/rkisp1-common.h | 11 ++++++-
.../media/platform/rockchip/rkisp1/rkisp1-csi.c | 14 ++++++++-
.../media/platform/rockchip/rkisp1/rkisp1-dev.c | 35 ++++++++++++++++------
.../media/platform/rockchip/rkisp1/rkisp1-isp.c | 20 +++++++++++--
4 files changed, 66 insertions(+), 14 deletions(-)
---
base-commit: 8016943b5947cd485078e23899945c51e818aa63
change-id: 20231205-rkisp-irq-fix-e123a8a6732f
Best regards,