Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3799932rdb; Thu, 14 Sep 2023 03:06:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3iVhniHJyIAN383DUjkcVn4G2B2qs4nCkIczSRVQhmWDx060FLzDm6FAAQwaAg4w1mGFG X-Received: by 2002:a9d:6c01:0:b0:6b7:1d93:72e0 with SMTP id f1-20020a9d6c01000000b006b71d9372e0mr5624340otq.32.1694685969144; Thu, 14 Sep 2023 03:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694685969; cv=none; d=google.com; s=arc-20160816; b=Td/yTCF+QWpXhygMfZuFT2Wy4O0pB//HtWlnF2Zxdxoy+bjHXdP02z5TGg5xsF0673 GEVuqKgwJeZmO2ltkU0iY9JP0v/rfAFG7nnCUnJyxzDhp35lEZYWycP1woOuTPXr5f/F Isj3c6BRu9H4P6ewNearqJnDZTxvQ6hHLV6b1XiEE3S+2QVhYh0Jb053XgOrwPoBKda6 OdhZwKTHIUwHIFYT/fFahRay7iQqz7K+g6xYSJOU3uhfDbC4nJoyUm020Sgukhwjls/Q KYRPTU5wXq5RkbPFHrO6fwb648JA89M/rtfPDoC5S5t0LJpUkqOdjvSa/rKpYMLJqwM4 Tg3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=S/eVX5liLVZ+FAbsnLitXSmIh9PpRZGD9ZxeAHrm3ts=; fh=HH2cxKf2qq7xqxmUkeVCVHKZhNOAo0To9Do9+MIfxfU=; b=xKVVNChPZoRTWuKv1AnvgtqUV2KLPaAFcQT4c8bCt1SakrmbAyEsP3qpYEdOHdVLXl tZ7/tj9896g88GST3lmyLfTNXNHaXpKlhkRirKS7brwWFp2gGHIpUi6bpoUEKTd20Fmn kJ+mY0D71nk11JImQjBHcaN6cJqgd143EX1YLK4ftSxVMUlZFc2NWcz8TW6C1kZ6mHHU qdRb3mmN+2fc3QiJ1lsWmqpyqgHP1TcISp/4R5Uu5GiDU+482TCrH3Hcw2xLuJ5BUGJL Wht2/el+JBUBXb1ewCySRuy1qeoGCxZeU96R5vOVbkHd2Iga2d2kUOziy8QNcGzu2kHU ezeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nyNyQVEB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id n125-20020a632783000000b0056a36ac322fsi1202000pgn.514.2023.09.14.03.06.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 03:06:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nyNyQVEB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id BC340801BEBC; Thu, 14 Sep 2023 02:58:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237638AbjINJ6k (ORCPT + 99 others); Thu, 14 Sep 2023 05:58:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233151AbjINJ6j (ORCPT ); Thu, 14 Sep 2023 05:58:39 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1539C83; Thu, 14 Sep 2023 02:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694685515; x=1726221515; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=hnQVigd3wbWNyLREzYmFSMr7jEjmzPyKWb+jRnxEQXM=; b=nyNyQVEBoYgcUQgDKHYxlI6pbY96dHygPrxiFur2v/u6TGVnJ+uBDfUC WPU7mrHGU13uZ7QJMdCvZ+2H8sPMRS12m9rdJMVhl8vhtv6fegbOd6sue BZ7uP9sUbStPZLTs0y2zkTmnR0YHE86ZngQF3dcDpJKLYCrLsH3l9eP7e iBmwqsB489aGxXr7rp8l0yBlKdCJeDTJNKjIIAgoYftdd9RjDn8zLWn0M PDhIuUOKhZi/kk7bEnrpbfAP+t/SFxqwJcudksYa/gPbMXvfGioU89jwq hqvqKxbyVjE3YeWDg28Tg5c2pfxyIQLX8StAKcW5FlxRMh7pcn4x2uNCI g==; X-IronPort-AV: E=McAfee;i="6600,9927,10832"; a="381592735" X-IronPort-AV: E=Sophos;i="6.02,145,1688454000"; d="scan'208";a="381592735" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2023 02:58:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10832"; a="721188878" X-IronPort-AV: E=Sophos;i="6.02,145,1688454000"; d="scan'208";a="721188878" Received: from skolhe-mobl1.ger.corp.intel.com ([10.252.36.254]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2023 02:58:31 -0700 Date: Thu, 14 Sep 2023 12:58:26 +0300 (EEST) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: Reinette Chatre cc: Shuah Khan , Shuah Khan , linux-kselftest@vger.kernel.org, =?ISO-8859-15?Q?Maciej_Wiecz=F3r-Retman?= , LKML , Shaopeng Tan , stable@vger.kernel.org Subject: Re: [PATCH 2/5] selftests/resctrl: Remove duplicate feature check from CMT test In-Reply-To: Message-ID: <82c78269-324-5f49-e33f-55364d94c8cf@linux.intel.com> References: <20230911111930.16088-1-ilpo.jarvinen@linux.intel.com> <20230911111930.16088-3-ilpo.jarvinen@linux.intel.com> <40ba8890-32d1-e440-29fd-b8f8db69acc5@intel.com> <80695068-4a6-b8e9-107f-8d29ab3543be@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-162618733-1694685514=:1814" 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 (groat.vger.email [0.0.0.0]); Thu, 14 Sep 2023 02:58:50 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-162618733-1694685514=:1814 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Wed, 13 Sep 2023, Reinette Chatre wrote: > On 9/13/2023 4:11 AM, Ilpo Järvinen wrote: > > On Tue, 12 Sep 2023, Reinette Chatre wrote: > >> On 9/11/2023 4:19 AM, Ilpo Järvinen wrote: > >>> The test runner run_cmt_test() in resctrl_tests.c checks for CMT > >>> feature and does not run cmt_resctrl_val() if CMT is not supported. > >>> Then cmt_resctrl_val() also check is CMT is supported. > >>> > >>> Remove the duplicated feature check for CMT from cmt_resctrl_val(). > >>> > >>> Signed-off-by: Ilpo Järvinen > >>> Cc: > >> > >> This does not look like stable material to me. > > > > I know but when constructing this series I had 2 options: > > > > Either convert also this when changing validate_resctrl_feature_request() > > or remove this call entirely. > > > > Given it's duplicate of the other CMT check, I chose to just remove it > > (which I'd do anyway). As patch 4/5 requires 3/5 which in turn requires > > this, this has to go stable if 4/5 goes too. > > > > Understood. This makes it a dependency of an actual fix, which is addressed > in 4/5's sign-off area. This notation is new to me but it is not clear to me > that the dependency should also be tagged as stable material (without a > fixes tag). Since it is not an actual fix by itself yet is sent to @stable > I think it may cause confusion. Is just listing it as a dependency of the > actual fix not sufficient (as you already do in 4/5)? Perhaps as compromise > this patch can also get a note to the stable team. Something like: > > Cc: # dependency of "selftests/resctrl: Fix feature checks" > > I am not sure though - I would like to avoid confusion and not burden > the stable team. If this is a flow you have used before successfully I'd > defer to your experience. I came across that dependency format when Greg KH replied to somebody how to deal with the cases where there isn't yet a commit id (the cases mentioned in Documentation/process/stable-kernel-rules.rst assumes there is already a commit id). Unfortunately it's long time ago so I cannot easily find the link. Documentation/process/stable-kernel-rules.rst doesn't state that the stable address should be only used for the patches with Fixes. In general, I believe this doesn't matter much because whether something is Cc'ed or not to stable@vger.kernel.org doesn't seems to impact the decision if a patch goes into stable or not (even if even some maintainers seem to pretend leaving it out makes a difference so I tend to play along and smile myself how incorrect that assumption is :-)). -- i. --8323329-162618733-1694685514=:1814--