Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3619094rdg; Wed, 18 Oct 2023 00:12:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFX4btIw4MXi8/ngIUy9LwBBUPrP4efvmPs3UOF0XUzCOYF9wZk4JjxbQnIhYjHjIf6ycYn X-Received: by 2002:a05:6358:a1d:b0:14b:7ee9:fece with SMTP id 29-20020a0563580a1d00b0014b7ee9fecemr3347539rwa.7.1697613150497; Wed, 18 Oct 2023 00:12:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697613150; cv=none; d=google.com; s=arc-20160816; b=WyEc2AT3RhnfucYwf/jIbB1OogtIvHq2uIcpZ5iTpFWxsP/tKHMdT6uo5bd6xXaqGE PNjk/3dINuJrGwMJwhOxlav0fkCCApnV9ngeflnh4DxTVPufcA1QwhnYFrsYa1nIwRtG DoUQDAwJm9vDb1RrwzlwYzbz9oYMwedoNeRNmMPom3eaJBXChhhpqdgm3oVaPvXO6RNS ghcisNULKybb+Q4y81NKfBQyo1xOrY2vZhU/BlrRED6vC18IIfKYKacsICI+MYB4EvVV AlsMCM1pw3rgqrmk4FN4rfJMQnsYMKIxfYOofD9MYG13ULHhvP5i0hJk477nvetL3Ny1 yUgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=wlgDpuvCYHeHUIaVHoM6Lin7I/peguMB3cGetmJS9hA=; fh=xgQPTrgLZQHuZj3y2k2Oo1btQSWdIEXXpp2hdMBXZPA=; b=HyQhMzksEVJIspeTQCkL4EWx729L1tAbKU9VucCqcEXM+FCE0hHJzFUzmC4wWXcesB foJU8KY7iYJ8LaY1wZczE1jxliucD4aCG42FTsrYZPSfX08N+HqNc/HM7GvuChKMfS8B W9TLz1Xwa6Xj7H2jCemsCfsfSSslDAfTYi23uZD94iGloKV0WIP/mXM2+9m/dCtJfMu5 4idTH/GGVLR6HfH12BD4UXh+6jsXhr0XbqkSlwRjhLTpO0HKLLXiN/9upN+pU3lVBBHL S4G7DYziCzOnllxohFA1Fb0WAfTCsEFJUg6h+XiksExWetgBYWbbgLrI2rQtpysYNHNY M8ug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id i184-20020a6387c1000000b0056c2f508898si1393571pge.725.2023.10.18.00.12.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 00:12:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7B2AE802FBB9; Wed, 18 Oct 2023 00:12:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229840AbjJRHMX (ORCPT + 99 others); Wed, 18 Oct 2023 03:12:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229805AbjJRHMV (ORCPT ); Wed, 18 Oct 2023 03:12:21 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DE83B6; Wed, 18 Oct 2023 00:12:20 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09F33C433C8; Wed, 18 Oct 2023 07:12:16 +0000 (UTC) Message-ID: <61617735-c196-43e1-a4c6-539f348978e0@xs4all.nl> Date: Wed, 18 Oct 2023 09:12:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v10 0/8] Add StarFive Camera Subsystem driver Content-Language: en-US, nl To: Jack Zhu , Mauro Carvalho Chehab , Robert Foss , Todor Tomov , bryan.odonoghue@linaro.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Philipp Zabel , Laurent Pinchart Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-staging@lists.linux.dev, changhuang.liang@starfivetech.com References: <20231008085154.6757-1-jack.zhu@starfivetech.com> <98297bfc-ab81-4bb5-acc3-619fdf879276@xs4all.nl> From: Hans Verkuil In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 18 Oct 2023 00:12:29 -0700 (PDT) On 18/10/2023 05:11, Jack Zhu wrote: > > > On 2023/10/16 19:40, Hans Verkuil wrote: >> Hi Jack, >> >> On 08/10/2023 10:51, Jack Zhu wrote: >>> Hi, >>> >>> This series is the v10 series that attempts to support the Camera Subsystem >>> found on StarFive JH7110 SoC. >>> >>> This series is based on top of the master branch of media_stage repository, >>> which is tested with a v4l2-compliance compiled from the git repo >>> (git://linuxtv.org/v4l-utils.git). >> >> I get one smatch warning: >> >> drivers/staging/media/starfive/camss/stf-isp.c:122 isp_enum_mbus_code() warn: unsigned 'code->index' is never less than zero. >> > > Could you please tell me the code check command? This way I can use it to check > my next commit. See https://repo.or.cz/smatch.git/blob/HEAD:/Documentation/smatch.txt FYI: you can use the same build scripts that I use to verify patches. It is described here: https://lore.kernel.org/linux-media/18989016-6392-a77b-6cf7-1223c9161def@xs4all.nl/ See the README for detailed instructions. Regards, Hans > >> And I also notice that there is no TODO file: staging drivers should have a >> TODO file explaining what needs to be done to get them out of staging. >> > > OK, I'll add it to my next commit. I previously misunderstood that it was submitted > when moving out of staging. > >> I'm curious to know that as well :-) >> >> It looks like there is a lot of additional development that can be done, since >> most of the ISP parameters appear to be hardcoded. >> > > Part is the module initialization configuration. In the next stage, we will use > incremental development to implement 3A functions. >