Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1827961ybg; Thu, 30 Jul 2020 03:52:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyub/80PHptvUM6F77o6zRy66ZvHPfe3hIB+oWYCWoClFSt4VeFR6QDl0joETNEuqpZMPmB X-Received: by 2002:a50:8305:: with SMTP id 5mr2111677edh.174.1596106350780; Thu, 30 Jul 2020 03:52:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596106350; cv=none; d=google.com; s=arc-20160816; b=UQziJI/h2qldSqRsNoR5Uvz6CwABrps4wmd1qpeSPFUXRTiqDX4NYMGXx560bdwuKu XGd2EHE3ljKR4yiuYRjQrhMiiQgnnwL2KvON0i5hxq5qmZ+YwgJr33BjPjwkEbwnhIZi rKVPPoQbSRrywf/Ld2a/2sZqm+57zUY2yAjOrkIyzDcgZXD9LbAoOu5TVjZtsoKPkXNd WyudFeaMOlX7fnv9gIoE3YPREA/CZeJYOji0kXrX8PLMNu7CpIzpCiZqiLpArvE5451z hRu5rfnuT3/Yau1UJq9YcyUtMMrLtKw5T90qG4O+sKTlkxQfFaNq802RbiRYNv/Uw6Zp OMNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=x5lEFep1P7rtr9j60VZBd3SQLZ+zDbQpUGx7qX6cSRE=; b=zzsoDbni6LSgXhCQC3eTMRt0SxFY6qcDDVqUbwbdJbXLAnsdtQ0zI6770n0HjGuOCg IQvB2iqdVGrihFi55G7Rx6JzZSBKBCuub0Pkc5qaSIQfKiWU7FjYLEBbuYJNU7wEl4Bs WiXEmhHJOsPwSQfL86ktMe8a6s8P0egciiUwiiTd2eG4JIDNx0cbJuIBvZOZF6O7rw0T HoxtRDl+W9blLImpT9d268s/M81QTSOhU2tJCgjH78epzbehkwo2CcsY9G9EavUaaiKF fm2t2vN5/mYRzot6/JpARuiQAnItCTYFWqTFJrAyaxF1vUi1MDnXlGIYOWkTs55N/xdL ZkPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=AemhoB+W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a12si2866261ejf.381.2020.07.30.03.52.08; Thu, 30 Jul 2020 03:52:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=AemhoB+W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728972AbgG3Kv3 (ORCPT + 99 others); Thu, 30 Jul 2020 06:51:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbgG3Kv2 (ORCPT ); Thu, 30 Jul 2020 06:51:28 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32956C061794; Thu, 30 Jul 2020 03:51:28 -0700 (PDT) Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 81F479B1; Thu, 30 Jul 2020 12:51:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1596106281; bh=n1m+bmGyUH/eEEu4Y5sQCh8enZ0QEwG8JGJeZO/CgWA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AemhoB+Wbm5z61TJjrRYLOIcv1wizPX3kIHNJXbo53DykqqR8ZsUJCXg8w2YJg5/R BoHqzZUngWXUOxzYtV8Z4H9SqGVDS5I3gOcZO6Rs77sF28+OhdZsp5gvR8wr+zz6QV CN9KoxyhYSoPyjqIcl/PsbrKIVxLuVVyy5m9yWJI= Date: Thu, 30 Jul 2020 13:51:12 +0300 From: Laurent Pinchart To: Kaaira Gupta Cc: Helen Koike , Shuah Khan , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Kieran Bingham , Niklas =?utf-8?Q?S=C3=B6derlund?= Subject: Re: [PATCH v2 0/3] media: vimc: Allow multiple capture devices to use the same sensor Message-ID: <20200730105112.GA7079@pendragon.ideasonboard.com> References: <20200724120213.17119-1-kgupta@es.iitr.ac.in> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200724120213.17119-1-kgupta@es.iitr.ac.in> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kaaira, Thank you for the patches. On Fri, Jul 24, 2020 at 05:32:10PM +0530, Kaaira Gupta wrote: > This is version 2 of the patch series posted by Niklas for allowing > multiple streams in VIMC. > The original series can be found here: > https://patchwork.kernel.org/cover/10948831/ > > This series adds support for two (or more) capture devices to be > connected to the same sensors and run simultaneously. Each capture device > can be started and stopped independent of each other. > > Patch 1/3 and 2/3 deals with solving the issues that arises once two > capture devices can be part of the same pipeline. While 3/3 allows for > two capture devices to be part of the same pipeline and thus allows for > simultaneously use. I think this is really nice work, as it will make the vimc driver even more useful for testing purposes. I however just noticed that the patches seem to have lost Niklas' authorship. Niklas posted v1 ([1]), and while there's absolutely no issue with taking over a patch series (especially when the original author is aware of that, and approves :-)), it's customary to keep the original authorship. Authorship, as recorded in the commit's "Author:" field (displayed by "git show" or "git log" for instance), is distinct from Signed-off-by. The original Signed-off-by line needs to be preserved to indicate the original author's commitment to the certificate of origin ([2]), but in itself that doesn't acknowledge original authorship of the code. I'm sure this is an oversight. Authorship can easily be changed with the --author option to "git commit --amend". $ git show -s commit 8be3a53e18e0e1a98f288f6c7f5e9da3adbe9c49 (HEAD -> tmp) Merge: fc10807db5ce 3c597282887f Author: Linus Torvalds Date: Wed Jun 24 17:39:30 2020 -0700 Merge tag 'erofs-for-5.8-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs Pull erofs fix from Gao Xiang: "Fix a regression which uses potential uninitialized high 32-bit value unexpectedly recently observed with specific compiler options" * tag 'erofs-for-5.8-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs: erofs: fix partially uninitialized misuse in z_erofs_onlinepage_fixup $ git commit --amend --author 'Laurent Pinchart ' [tmp 6a7191c2aee9] Merge tag 'erofs-for-5.8-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs Date: Wed Jun 24 17:39:30 2020 -0700 $ git show -s commit 6a7191c2aee9e4a2ba375f14c821bc9b4d7f881b (HEAD -> tmp) Merge: fc10807db5ce 3c597282887f Author: Laurent Pinchart Date: Wed Jun 24 17:39:30 2020 -0700 Merge tag 'erofs-for-5.8-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs Pull erofs fix from Gao Xiang: "Fix a regression which uses potential uninitialized high 32-bit value unexpectedly recently observed with specific compiler options" * tag 'erofs-for-5.8-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs: erofs: fix partially uninitialized misuse in z_erofs_onlinepage_fixup Not that I would try to take ownership of a commit authored by Linus, I doubt he would appreciate that :-) Authorship is normally preserved through git-format-patch, git-send-email and git-am: - git-format-patch sets the "From:" line to the patch's author - If the "From:" line is different than the mail sender, git-send-email replaces it with the sender's identity (as we don't want to forge e-mails with an incorrect sender). It then adds the original "From:" line *inside* the mail, just after the headers, right before the body of the commit message. - git-am sets the author to the "From:" line from the e-mail's body if it exists, and uses the "From:" line from the e-mail's header (the sender's identity) otherwise. If you use those tools authorship should get preserved automatically. Of course new patches that you would add to the series should have your authorship. I hope this helps clarifying the process, please let me know if you have any question. [1] https://lore.kernel.org/linux-media/20190518010744.15195-1-niklas.soderlund+renesas@ragnatech.se/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst#n431 > Changes since v1: > - All three patches rebased on latest media-tree. > Patch 3: > - Search for an entity with a non-NULL pipe instead of searching > for sensor. This terminates the search at output itself. > > Kaaira Gupta (3): > media: vimc: Add usage count to subdevices > media: vimc: Serialize vimc_streamer_s_stream() > media: vimc: Join pipeline if one already exists > > .../media/test-drivers/vimc/vimc-capture.c | 35 ++++++++++++++++++- > .../media/test-drivers/vimc/vimc-debayer.c | 8 +++++ > drivers/media/test-drivers/vimc/vimc-scaler.c | 8 +++++ > drivers/media/test-drivers/vimc/vimc-sensor.c | 9 ++++- > .../media/test-drivers/vimc/vimc-streamer.c | 23 +++++++----- > 5 files changed, 73 insertions(+), 10 deletions(-) -- Regards, Laurent Pinchart