Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp912569rdb; Wed, 6 Dec 2023 03:44:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IH4Wcvv2vJCwNtkRXMH+2zNcEyZNed13eWs3Np/IIMUH2/Sw8yEg3UHSeOOHz/mt5JMD4CH X-Received: by 2002:a05:6358:7f0a:b0:170:21c1:c23f with SMTP id p10-20020a0563587f0a00b0017021c1c23fmr1144766rwn.32.1701863046995; Wed, 06 Dec 2023 03:44:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701863046; cv=none; d=google.com; s=arc-20160816; b=rXzD7L9NJMlydfCvCji0kpANCoiF5gEph4U2pBf+vvYRYWD/Iu56rg3vZ8evW87+kE kuCMGR2MAGYIiVScrrIjUFMFqB+Cb81WN+w3BDPOIxX8nwzTGdjasqxuw2XMffH0tIC0 ku6Gz+UZxt8b9UTXbMYfYwJ36M9ykbEMw3Jf+x4HJV0rLIP5ArMkr86pihyT6eV1Q9el LCQMyDYJ7GBaKEhYTqP1CN6n3VkNSEyytCRbJLz9ddn+52AN118nszuTMVXM8s3IeAg8 qccCrEJ+EhKgGuAf5mHp5v7kuAL6HZCMuj66D0La0hdVvh1IcEDU17gbk+NvADx/uGKh ciPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=FskP6Tcyso/BvrhInHyE19EqzBIb+M3DVcP4qDTnmbo=; fh=JgAlsAqiOrWHGJqQRxxZNoq5f6m/xZrHuhGrDUBUzO0=; b=SwEWZwOx5qs1g5JMSeXVcRwaJmHLG3RmxP+Hj8P9dIS5RornVj09FtfPtRakgvo1Hd 61SeXiwV9pA/DjN/UAB+5N66VjPqYIaw9wMn1sB6aPDE3yslN9xXNezzIYfSYa11hLE3 SYy1ttAcVAr74EFAZYiWKqAzQAiXycALr9XvadCgC1i3QXyTCnK+Maw4pHMgd6ngKIo2 hKofTGhkcZHbt5jIo0t6gDR+q7b3mALb1Cj71gttnTnk8vgG4iv81RnLynR8bbL/niAm ETztyoP7hrM4A7WT4jqqB6pptA3Yn74oDA7dTvQwln0B29p5LStZ48e/Pq6CDh0aI4yv yuiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iLicdjpJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id r74-20020a632b4d000000b0056949ba3f3fsi11663051pgr.253.2023.12.06.03.44.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 03:44:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iLicdjpJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 2B94281904FB; Wed, 6 Dec 2023 03:44:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377747AbjLFLnu (ORCPT + 99 others); Wed, 6 Dec 2023 06:43:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377700AbjLFLns (ORCPT ); Wed, 6 Dec 2023 06:43:48 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C9BD8F; Wed, 6 Dec 2023 03:43:55 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-28647f4ebd9so4541349a91.3; Wed, 06 Dec 2023 03:43:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701863035; x=1702467835; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FskP6Tcyso/BvrhInHyE19EqzBIb+M3DVcP4qDTnmbo=; b=iLicdjpJ5HiyJf2hF5Xy6vEH8zmSvxLwIKgQLE2f6lWOMm/Q/JPpO6UKMF3b691qbb V/mKVe3P2c2aG8IW11WF6nsLr8kntGC/SNWf09aCZhXmHhOPRWv5+OWI19M3XZDKwxWl Ajo05plEI6we6dpfaAPEX2+HunN2RSyhHwV0siyeSJE4kCFFHslAH1DG1cKFtmEeIEc1 tnRnDjC+95JWrGWRkAJTEjrOZhPYh4CCAdj3vcdrs/a7ql6HFUhmuDibvQd0nbZEEP/n E//QlvlTnujWUDgGXe2BL0gNX8wiuA7wX9IWFM//4OQGboPh8ZEBQSha+zIGMbCcjJQz SBSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701863035; x=1702467835; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FskP6Tcyso/BvrhInHyE19EqzBIb+M3DVcP4qDTnmbo=; b=A6CxAmhOdp/QM7dKx5BOCTwbS+WAmR/63tw+2OYnrTr/9gpoBWwRyfI1raa8uIjyiO EeletBw3zbUeAemCzeYOUSqShyMc1X2fRffNQ7ew0xoJ+veCCzxDMAIy/Epn+/y0gFio LiaKmQw1V2mzVb0O258noKxcFeKeMN8BgsdfF2pQ8Q+KartM1O1PnihkFq5TujqkmaVk keWVXiscz9oY7QU7Elf8PKAdvtEe2Cc1mkY8HVxRSoph9cpWJ+H5iVocNslJTYnwHebb hd4mPHuOcnEHCm6GraWNH6d+mCkXM7wMe4CO9+snuvk0ZqWDIHLwMy1a/TtHKGN5WLTv 5FfQ== X-Gm-Message-State: AOJu0YzUgOJccm9tepxDyn4EbD49QPCaIXR07yW6g0XzWEMIo7MjzkDp dsbz/o0bt8HGDXKFS/vcAxOmt9awuuCSEzECr40= X-Received: by 2002:a17:90a:18f:b0:286:6cc1:5fb3 with SMTP id 15-20020a17090a018f00b002866cc15fb3mr554714pjc.54.1701863034627; Wed, 06 Dec 2023 03:43:54 -0800 (PST) MIME-Version: 1.0 References: <20231206-rkisp-irq-fix-v2-0-6ba4185eeb1f@ideasonboard.com> In-Reply-To: <20231206-rkisp-irq-fix-v2-0-6ba4185eeb1f@ideasonboard.com> From: Adam Ford Date: Wed, 6 Dec 2023 05:43:43 -0600 Message-ID: Subject: Re: [PATCH v2 0/4] media: rkisp1: Fix IRQ related issues To: Tomi Valkeinen Cc: Dafna Hirschfeld , Laurent Pinchart , Mauro Carvalho Chehab , Heiko Stuebner , Paul Elder , Alexander Stein , kieran.bingham@ideasonboard.com, umang.jain@ideasonboard.com, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 06 Dec 2023 03:44:04 -0800 (PST) On Wed, Dec 6, 2023 at 4:12=E2=80=AFAM Tomi Valkeinen wrote: > > These fix a few IRQ related issues I noticed when testing i.MX8MP. These > are based on Paul's recently sent "[PATCH v4 00/11] media: rkisp1: Add > support for i.MX8MP" series, but could also be rebased on top of > mainline if needed. > I applied the whole series on top of your DMA patch and the series from Paul porting the rkisp1 to the imx8mp and ran the camera for 15 minutes streaming to my monitor. I didn't see any glitches or video distortion at 640x480. For the series... Tested-by: Adam Ford #imx8mp-beacon > Signed-off-by: Tomi Valkeinen > --- > 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-f4045= c74ba45@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 | 37 ++++++++++++++++= ------ > .../media/platform/rockchip/rkisp1/rkisp1-isp.c | 20 ++++++++++-- > 4 files changed, 67 insertions(+), 15 deletions(-) > --- > base-commit: dd19f89b915c203d49e3b23ca02446d4fb05d955 > change-id: 20231205-rkisp-irq-fix-e123a8a6732f > > Best regards, > -- > Tomi Valkeinen >