Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2137453ybg; Thu, 30 Jul 2020 11:13:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOms7va+ToEck8KkaZuBBntcMg3xIhTd1PuJAZ+LgnXJh4r+OeerjKqvU3akhvwvmoFwV5 X-Received: by 2002:a17:906:7104:: with SMTP id x4mr316313ejj.417.1596132824362; Thu, 30 Jul 2020 11:13:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596132824; cv=none; d=google.com; s=arc-20160816; b=urY3RCFplZeT5/UO6gQlnGttyblKD179W74dReG/igdzlWSGvjmPXCKy+GZVdz2jje CG2MAoAkDOIHKer+D0OKLMlG1vN0LdpSsyAJRinrlK5YQpqD3lqOwbiXb8C+kQuaZ2n0 io8H5slv0W7l71Yc9R/SGT7C/1zjxCwr5woa3ZojJDxhVz278BR1vUA/dgaGIailE8K+ /vS6vn1A3EJqMtepJlBYDQOw4GogkMnOUw4jRkzs/cUvjpWSUN56f8XN5RGvumcWgMKa /a7vjeqskOYkqmE+E75fkdQmgB0R2WCSGhF/xPXa/3xJ6UgQFg7tqFU+u74Z3r6wsbyT DKSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=yJTC9tdJwPLZ8XKjWGq9++9+N0X7BqXA0dHtAoYBz9A=; b=swkcvEoNEP8hamGGQxuYc6i93KRCUOd7tWkCmYT8Wb1Yo0YhQH1Y+f3IMgjvv5wDJA abfh2Nv63a+/RxjPeJEVmJGgcYS/qE95X9ALw2dw806UREoue1tgmmzcihAAMT+5dh88 0SiujAL7OsQmXKt6Z4UzKDyUjVeNt3oUpuw9ZMvC6oxHUPY4PfHuK+UIx608EzlKmmDc Hgkq7zl7rhxpDTOVAwDvk+p1uxowgnql44v+sfghbKnKjyklLPE26Bnq+9B1lxm3hjkN xMkrM9OhvGJFNzD5I0NnGAjs5RMzp2ASmaszxECsy2MKHn+KfQCzUXApgxFMsECmH7Ti v8Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@es-iitr-ac-in.20150623.gappssmtp.com header.s=20150623 header.b=UnWw23WT; 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=iitr.ac.in Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a16si3864131edn.576.2020.07.30.11.13.18; Thu, 30 Jul 2020 11:13:44 -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 header.i=@es-iitr-ac-in.20150623.gappssmtp.com header.s=20150623 header.b=UnWw23WT; 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=iitr.ac.in Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728489AbgG3SJ7 (ORCPT + 99 others); Thu, 30 Jul 2020 14:09:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727835AbgG3SJ7 (ORCPT ); Thu, 30 Jul 2020 14:09:59 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA34DC061574 for ; Thu, 30 Jul 2020 11:09:58 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id r4so4247874pls.2 for ; Thu, 30 Jul 2020 11:09:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=es-iitr-ac-in.20150623.gappssmtp.com; s=20150623; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=yJTC9tdJwPLZ8XKjWGq9++9+N0X7BqXA0dHtAoYBz9A=; b=UnWw23WTINjuXuXNdaist30khDs1c76D+z0KQ6m6AhcqH3uxHqK6lgZjSuWJv0sKZB ISppBq8MZDjG7NwpJvrVyTZAyCbuxv+WVOZwjfBnCD8oPjVeuRiGC/BCpfSioAViXnLU MpYyhsEcJEiFHC3eeB31X7rhndwhn7eiNYZH9q0ZyhNUA/fEUVceSRygOXbjA9zwAdo0 DNsh5v6JHb+u+zadCmSgzxMyE7LIxOBD29WMeBvW6T6H0BOtA8XiXMPP87UGnFHva4bS 1kuf2/03DYjqJSHHuM8v6+WuM0ncGcvH24PColr0vX5JF9RMfvhuyRx2b9SK9GLyCdzx qpGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yJTC9tdJwPLZ8XKjWGq9++9+N0X7BqXA0dHtAoYBz9A=; b=AChbqfdKxpkiNQM29749NkJ5OdTjjictB9qCvjEz5QFDhPSnlFlbDyQbnEv9s2KwGu o7N4NP1nts5p2NDhjxygih9uzuCi4UNYrxsgXCdPP5jomiUyZUG20nJJISde3Fx5CXpv 7YUk2xXNantvGI2cBIJkYSjyIayMQlDnghqwWLstE7kFM6aRW1q52bMxWGu6SkB4HJ77 KexssCIdSipkcUWSDu+ej6PZTDwxJnkv1Kgsf8LpStSKva5qzJ5w/kgSpGjYJilclHk1 kceVm7LLXLLb603EaTbXq2RJYsMeoDdbYSJgpnJgOAbphlpE7NSTh0dX9iYzPKEm+ICS Zpww== X-Gm-Message-State: AOAM530ITG8e2urvW3ULg+c9W1O3DFsTu4DpI8pvvUcONqBpaE7c6AiA C4wEwX3KP1fT8Tuqe0MJsdtmZw== X-Received: by 2002:a63:3c41:: with SMTP id i1mr79055pgn.349.1596132598057; Thu, 30 Jul 2020 11:09:58 -0700 (PDT) Received: from kaaira-HP-Pavilion-Notebook ([103.113.213.178]) by smtp.gmail.com with ESMTPSA id y6sm6166676pji.2.2020.07.30.11.09.53 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Jul 2020 11:09:57 -0700 (PDT) From: Kaaira Gupta X-Google-Original-From: Kaaira Gupta Date: Thu, 30 Jul 2020 23:39:49 +0530 To: Laurent Pinchart Cc: Kaaira Gupta , Helen Koike , Shuah Khan , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Kieran Bingham , Niklas =?iso-8859-1?Q?S=F6derlund?= Subject: Re: [PATCH v2 0/3] media: vimc: Allow multiple capture devices to use the same sensor Message-ID: <20200730180949.GA14700@kaaira-HP-Pavilion-Notebook> References: <20200724120213.17119-1-kgupta@es.iitr.ac.in> <20200730105112.GA7079@pendragon.ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200730105112.GA7079@pendragon.ideasonboard.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 30, 2020 at 01:51:12PM +0300, Laurent Pinchart wrote: Hi, > 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. Hm, I had a meeting with Kieren yesterday where he explained this to me. I wasn't aware of the distinction between authorship and a Signed-off tag, I thought signed-off implies authorship. Now that I know this, I will amend this in the next version I send. Thanks! > > 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