Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1386357rdb; Tue, 30 Jan 2024 17:58:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHgHKL/g5T+V8dUEpye/4RyP4p7F2WDy1HPLrUBNsk0pPDhcp4lqDyQ10GtMvrFaYkaCayN X-Received: by 2002:a17:902:8ecc:b0:1d8:da2c:1014 with SMTP id x12-20020a1709028ecc00b001d8da2c1014mr410216plo.9.1706666280420; Tue, 30 Jan 2024 17:58:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706666280; cv=pass; d=google.com; s=arc-20160816; b=zAmZyia1WipQjpO4gQ7d/1zJMt5gHoCv33LHR5uBTYC5z/LCfeQwWw3fIGsNcPEZLv Vie7P9S6YK4H9gkNndqUTnyMQe2A5IFsByVOHc+MsT/HXAQrPxREWz4q9VwWBqBoZE/k y8TWA/QQF5lEYecjWheLrqFATw9wZ6lBsoAD0M7i79JLj+8PY34LexwoIx23wKYXzKwr eUrHHeCoDfHBD7y46LwHrROIAfXsoEYoAcjeuUW++CGPSbFwhGIzFp5Gvj98+C1V72Y3 006sRBcXh5osya5yxBdyD1lO1KLbk6WjHTNFg3hwlDrrlcpDDmI+ZOAKndGPVIien4v9 7e8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=PDJrkcG2CT1pTx1lzAyR1RFyYOrW3rBi1JlT58e+AQc=; fh=mjRfQIPysLMgddINbwJFRJN1tuWrWz94wvyFILe8n/s=; b=FLwWsf8T2QkHpxA0oHMk2vYAQLjPzJKOnIUtXvlAuAUVvKyODktwBOYhD7skhcnmIJ mpeC2EV2dBKUsraZsOIz/zgou42mqEm6FbFA0zFEsCdtKwuSHq4kJ7vniOpd5AUgNj9f nFx0rsUsXLqh96zaH+yCsbm4wwqGxa7YwVtXc7poRP53C+8tWr5ZZMHZ+u1h3UAf2stG 1l5p9783D8Kc1ECoVaCx8+RPQ0f1WBJddf1PsMKBujDVrjrXr6vyVGpQ/feh0IKoMiwE LxY6yJ2i8hePtMhA02URCvc3bfgEeBH0/f1FXzsDVOZ+qwceRg3IdsAy2Kb6zuJOYRlF FU6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PZLo3fTi; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-45616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45616-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCXjtgEXaKkPMzz/t0JqZkzFlCJJgUetuiwN7cGGTE8FY9lnfW+C6x9bsXEStsALFnQxxcCkRORWXCnIbrhMyvTAXPWiXTWqyPl2i89olg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id je21-20020a170903265500b001d752bafbf9si5403004plb.449.2024.01.30.17.57.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 17:58:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PZLo3fTi; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-45616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45616-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 2648BB22F9D for ; Wed, 31 Jan 2024 01:57:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 605C7E574; Wed, 31 Jan 2024 01:57:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="PZLo3fTi" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A4CDE546 for ; Wed, 31 Jan 2024 01:57:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706666268; cv=none; b=TInU1fJJG1WvvUBpRd7NkQZPRFZHqwX4yTM1abmisJ+6xKVDbMFC/5QQPyk0o7BifvtveCI9aQOJHlnkR1qxYHNB7TgwXDyijHjtWSrDLTkqPVWQHyL8DHhHYzdeLvbTrhfisic40HkQH9ObqrjjmcuFYfBBdrA85NVqlmtWZeY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706666268; c=relaxed/simple; bh=5HKFmGW8B2tLWa6jC99azibL8F5QWLwDeqyZ9vcYUFE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EgdlaksB0RKlOt5NNdW+YjC4LnRNryibQWNt7W+SDDGW2wVRS7NxAtnAP000DSrY85gUjqjQE/Lhat/JidX0DYe0WYDCVyCHZPQDMIld+RNcexwNv2FbK4o7urgSJnwnVBmnKAeWDrlf1oIbungDev/9/T9p2s4ouVNnowPJTsg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PZLo3fTi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91C51C433F1; Wed, 31 Jan 2024 01:57:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706666267; bh=5HKFmGW8B2tLWa6jC99azibL8F5QWLwDeqyZ9vcYUFE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PZLo3fTinCp4E1KYeJsgUWUP729IoEmeDKl9lv6H1UyBD49SiMNrggnDkwUMKJ1Ut PiQ2IljkWkJk6drH0QI9ArmTLYkW4kuXB+veDRFCA/l3fnAjajrrz2yf3/s9mGfuAy IJM0SQua1egmQjeQJTdZq8llYBvFWLGVfr9cxO+A= Date: Tue, 30 Jan 2024 20:57:44 -0500 From: Konstantin Ryabitsev To: Randy Dunlap Cc: Tony Luck , x86@kernel.org, Reinette Chatre , linux-kernel@vger.kernel.org Subject: Re: commit tag order vs. "b4 am" Message-ID: <20240130-solid-seahorse-from-camelot-e0ecdb@lemur> References: <118a560d-9e5f-4bc4-b0d2-ee0b3d6a5120@infradead.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <118a560d-9e5f-4bc4-b0d2-ee0b3d6a5120@infradead.org> On Tue, Jan 30, 2024 at 04:47:26PM -0800, Randy Dunlap wrote: > > Reinette noticed that v14 of my resctrl/SNC patch series[1] did not adhere > > to the tag order proscribed in Documentation/process/maintainer-tip.rst > > Specifically my "Signed-off-by:" was now the last tag, instead of > > appearing before the "Reviewed-by:" and "Tested-by" tags as it had in > > v13. > > > > A little digging showed that my tag had been moved to the end by "b4 am" > > when I used it to pick up some additonal tags. > > > > An e-mail discussion with Konstantin ensued to determine if this was > > a bug. Konstantin said: > > > > This is the intended behaviour, because b4 follows the chain-of-custody > > procedure. If we encounter a Signed-off-by trailer matching the identity of > > the user preparing the series, we move it to the bottom to indicate that the > > chain-of-custody boundary has moved to include the code review trailers > > received after the initial submission. > > > > https://lore.kernel.org/tools/20221031165842.vxr4kp6h7qnkc53l@meerkat.local/ > > > > Basically, the "Signed-off-by" trailer is special because it indicates that > > everything above it is the responsibility of the person doing the sign-off. If > > we kept your Signed-off-by in the original spot, then it wouldn't be clear who > > collected and applied the trailers. > > I can't find "chain of custody" anywhere in Documentation/process/, nor a > specification or example of this ordering. > > Where did this b4 requirement come from? Many discussions at the Maintainer Summit and on the tools/users lists. E.g.: https://lore.kernel.org/tools/20221031165842.vxr4kp6h7qnkc53l@meerkat.local/ The chain of custody approach is the only one that makes sense because it allows keeping track of who applied which trailers. I know that most people don't think about it twice, but it matters from the perspective of process. If we need to put it into the official documentation, I'm happy to submit the patch. -K