Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1343983rwe; Thu, 1 Sep 2022 17:19:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR51DRzdBV5ZIenOCr3l9YIh/RVFvxUloCi56F23Mdc6PGQBV4MuRcgSHwVewI0EoEmwmwy4 X-Received: by 2002:a65:6d89:0:b0:421:94bc:cb89 with SMTP id bc9-20020a656d89000000b0042194bccb89mr27946879pgb.129.1662077959015; Thu, 01 Sep 2022 17:19:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662077959; cv=none; d=google.com; s=arc-20160816; b=uF8OCxNG5C0eiy9aqLlfjzmcmFnDgFvMPs5ye13gwePdPErATX4ncmGY8p1YupGm3O PP0SqL3fudlEYV/xanptT510X86sKzWXZylnOWTUEZKLlJ2kIcb9Z6KwGaQsqsqBLHLw MGIfKLgdehgoZ4Tcfchjjt3A8YoAhbr+/eNWjDZY4z4zGBirSX+Sj/yneR+KFaZv2hpv +O9p3p7Bwl3zMnm1zLR+gvzpW3aAoNwGaSOr8wXztmryWRa5KfhQ58prmYP5U9YWr3iE sfbhs6tQ31cUuafvJQ0z/7IZJAyVlmDruxT8nXuDRaZR9Bf+KFvamgZueXwRVDU6bBli TQlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=X6a683iDz7ML2b6gQJ7MXVC/aDeAhx+QotiRauAFCC8=; b=rAk3A+DSZDlGI1O3a9gpznNApGQY+EVhv/pYBMxkeHeriqxPMv5dtyYauvn9xAhwPD 5TD+HiS/kQMt+VNgRgoUZNwGfeR0ruf0BoN9DwWRgtw1+IZ8m9iOBglQceNSEYrvDB1V j2ZxPy+44MN7d8DfUcZBTDoylyxnMyLrPWpb07mDo8lxpLOLMpkXpnDZowbrsYui8fBh IhMiZCBrghASvSwsykMuoTbDCkTujV3jdLkROOKIsLtdwwrwIBSJKiFVIzHiwNmoAH3z YQLNFnAf5SXbSMbhVZhuToTBSIMT8RquB7S4jwkdlCorcQbBqfkxbwTVT54xyX3ByJOA nUwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=XRcSB6A8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z14-20020a63b90e000000b0041bd0985ea9si289231pge.671.2022.09.01.17.19.08; Thu, 01 Sep 2022 17:19:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=XRcSB6A8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232631AbiIAXoo (ORCPT + 99 others); Thu, 1 Sep 2022 19:44:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231936AbiIAXol (ORCPT ); Thu, 1 Sep 2022 19:44:41 -0400 Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F83B6B8DB for ; Thu, 1 Sep 2022 16:44:40 -0700 (PDT) Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-11f0fa892aeso1071964fac.7 for ; Thu, 01 Sep 2022 16:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=X6a683iDz7ML2b6gQJ7MXVC/aDeAhx+QotiRauAFCC8=; b=XRcSB6A82/S7Wk7JvByhg9pXVGFOf/DvkMz8BsAF2qPDnq1QPyOQ7dh6nN6VMzNKtV Ec8dt6UAqTCWRTNTqnkMs8heo459+ZGQnNDKIDSrixZH9O5u6E/1siRYsnUWaSboaITU 2CtHIWhkY+8UyHDyzZ+4mINr7CuCgffnhvCM8WjSx4ZiZeEdqxJPlRmou1saRKeYP7RA QL+dAnoAsuov9hhRe1UlA5ah3q5jGjQKJIMIbsGLVNDwkH2njhR1+Ly9tSJEUM/0vLCN tI1kS7POSxAf4QgBYcPgdySWvhbCHJBMnHu+yuMvA3j8JePMWZyT1DMiH5aPs8NOqE64 vnnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=X6a683iDz7ML2b6gQJ7MXVC/aDeAhx+QotiRauAFCC8=; b=lq29oPVgNJXcM2F38toEE5b9IL5v8df0R7RgdslB8ZkHJJLiXbeLY4SPsHV9lHrPY2 +sKGrjwBj1Fm7LJweAnKnwRTRZ4WvUnotKLcVbY3jMx6NShznuLKmS8jFaqqRVVZ8tN7 lRCeMB987xPoaFwKsZ/b26q7Hg6MJTWjX4alRZdZdoFNOp03J9O7XV0BqEVmOF15zLp1 clFFeASBcdYVp2Cz4eEqFDC407sZp+t2ND2pEPx3Nl1BJIfWB5J4ju9Sfl1rTQnUjTU/ Bkg6FIXnALniGIKHtba1v7DDU7LlfTToGZ4u851xDx9jbgIl3EdKoV/m8wAfSp/QWIJL zhmA== X-Gm-Message-State: ACgBeo2+L+MuACNEtyrsXVra489nFra69WE+LySvMTqyurxe5zGSQ0q8 yrXZd70sqoVCD32VwSAaWV4zovtBF7TWEU0FPy/6 X-Received: by 2002:aca:3010:0:b0:343:91b:7f7 with SMTP id w16-20020aca3010000000b00343091b07f7mr733254oiw.51.1662075879854; Thu, 01 Sep 2022 16:44:39 -0700 (PDT) MIME-Version: 1.0 References: <20220824041933.822838-1-joefradley@google.com> In-Reply-To: From: Joe Fradley Date: Thu, 1 Sep 2022 16:44:29 -0700 Message-ID: Subject: Re: [PATCH v2] tools: Add new "test" taint to kernel-chktaint To: Shuah Khan Cc: David Gow , Brendan Higgins , "open list:KERNEL SELFTEST FRAMEWORK" , KUnit Development , Jonathan Corbet , kernel-team@android.com, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 On Thu, Sep 1, 2022 at 11:57 AM Shuah Khan wrote: > > On 8/23/22 22:41, David Gow wrote: > > On Wed, Aug 24, 2022 at 12:19 PM Joe Fradley wrote: > >> > >> Commit c272612cb4a2 ("kunit: Taint the kernel when KUnit tests are run") > >> added a new taint flag for when in-kernel tests run. This commit adds > >> recognition of this new flag in kernel-chktaint. > >> > > What happens without this change? It isn't clear what this change is > fixing. Without this change the correct reason will not be displayed if the kernel is tainted because of a test. > > >> Reviewed-by: David Gow > >> Signed-off-by: Joe Fradley > >> --- > >> Changes in v2: > >> - based off of kselftest/kunit branch > >> - Added David's Reviewed-by tag > >> > > > > This still looks good to me. > > > > Unless anyone objects, I guess we'll take this through the KUnit > > branch (which, after all, is where the taint was originally added). > > I've added it to the list for 6.1, but it technically could be > > considered a fix for 6.0 as well. > > > > I can definitely take this for Linux 6.0 with additional information > on the problems seen without this change. Great, thank you very much. > > thanks, > -- Shuah >