Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4178563rdb; Mon, 11 Dec 2023 11:01:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEsglWbiaidoZpkR/rUyD9zuYEUaNH42RrSczRxol/4ASJQ5PeJpJ2YeR4dH6VoXfx9iEdE X-Received: by 2002:a17:90a:ee89:b0:286:9784:5185 with SMTP id i9-20020a17090aee8900b0028697845185mr2492825pjz.11.1702321289303; Mon, 11 Dec 2023 11:01:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702321289; cv=pass; d=google.com; s=arc-20160816; b=avagjj4l/i1Sk34vJyu5E/FXL4n4eZd/NRa6ZhfooVjybyd7XAyKq3vseMlauB4NoW Ycs6wwkJGIiTMLrbnWel6fOHTcDIqZOyiJQN7ibTHUMA0GdVUSeU5aEyb/5agXj9QWW9 gSofDd4F3PfF6glC5tU3E8YbkUOPKrcCj2aJBk9q8pNmA+8gIv0H+8+1p/l7WWyul8ZG BMy/bsdRQakDE8Hjljn0HcJxpNFpWuxs0YadpK0B3WbkvlH9J2mc1v1Jx0voDLYGQaX5 5HbfAuqOCeaG15Yakb2gGMJVMEct2RKPJhXlxpyV2MAF8ktih+0vuE4iBU3/H60ERdJY pf0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=quix6r8g+blM8v6i7ap1h5Znw2DiJAOohGlfoy1NGcs=; fh=DlPbTilm0RvbYx54+j4rOu6jL8ysS4CIdZKNKuxTi6o=; b=FJMQhx3NzSsgZ//X8e48qFSuSY8oGdIQrq+DsjptfLeI92Bp4A/qk50C4OLaHDHJA3 RAL+LGabOK+N1KhCX4ylyvIxxVbkJIlze+zAh+ceEyUMvn1o43aFRNWsYNFNT4xNftbA dofwwkenzP9FBkQAc+/vh713BJ+eCtr7cvdFihunxKuWMm7Tje+HJCYniqnhrOS6PpPY a300uyHKo7ti3f84iCAlbXlCb5fIz0dFSfRch4Xt22pZZjyQY4kFToPb/6I+WeiijG8j FKdOgSU23RGByYzpSYNHTFaBYkfEDvPbGgQ1XSRelbcZtm18PDP/imaN64B1OsaYMBph p3CQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=hHMet1mf; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id t6-20020a170902b20600b001cdf0388455si6419881plr.111.2023.12.11.11.01.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 11:01:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=hHMet1mf; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B06D780AEB1C; Mon, 11 Dec 2023 11:01:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344328AbjLKTBE (ORCPT + 99 others); Mon, 11 Dec 2023 14:01:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbjLKTBD (ORCPT ); Mon, 11 Dec 2023 14:01:03 -0500 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2079.outbound.protection.outlook.com [40.107.243.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E34A9B; Mon, 11 Dec 2023 11:01:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JDLWIU2PlQhmLbUtQH3Jwm+9KzNCrJgM2W3LpS2+Csi9ETqJqsIa2XbIqMv7OauVt+BPNnBNTYgAM3e/u+s4/IiEirK0FcPte+x6AWw8PDCy5KJGpLYi/H86n/ADuSIpndZvznD1pyn425YaGJgIEJnTOuvgHCuN48icwp6zVt6GVmqnz2ZtZDoo4V/wco2bL3R8re43HE5PftI9u3mvKkv1YCFcIElYK5WeoyWBmwg0f7CEZ53QI+XzBCE918L6+6BEE+PBBPmiFUBnQC5X+lfjJfWdMIR6iG0nyZKgEo/HicRVTbp7ZP/+X0CHozuB3Ukf8BGUHeinRHKIxaQkzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=quix6r8g+blM8v6i7ap1h5Znw2DiJAOohGlfoy1NGcs=; b=JAZ2++0URyQ8206iDKLU1OTYMDKA0GtVhN/ETahTPY6EkhRhCZJ/b28jReSyYp2vq7KJYv7HAwH6MYAoSEG8blEcYRYTKe8juw9hxSyA4v4SyWcrim70JAhg20u12DACKtgQC8GUVdhUScxQpM/vp2m6whIMEAge7IozPbFa08akztBQvr5P1vKEsPG1MrsiRXuC4CXZOQfTS6r9NebsHJA4nJfdPHKrMIjLvu06zmyfPEhexXFOI8Rap+Gw9c6Ugww0gPlow/Df3ZUfxp1fOk8F8nrdY7EtogJWUXhnfcDV5774+Q2TViZEsb9ZeHnHI8n0+cQhWSgE5ovFAH6eSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=quix6r8g+blM8v6i7ap1h5Znw2DiJAOohGlfoy1NGcs=; b=hHMet1mffviqJeRUxD84m4l3COdbjjkmDlUU73ZO+QRrslp3zoSGh7OiL55P4Qf35RaL9abhVa0GnLiuFRBzGRihqP1kmKPRcdcjkFLDVvxKbfvkjtxSpmqq+w8Rara7jjS/DOhmVYhUkrjnJIa+FH9LP+rCmEtsx2CxctdQXdOr1iR6FBmvGZ86O5ZpjcFPmerJ/id35HCox2dGryi3+NAfQfLGT2t4MbsL1UwSknPI6w9MZTX89pb3RY2G3ksz1TXSUjN5TRBbYhTpj8IqzeWyM0xco7cY2VkZJ8VyazRz76Z2X1dSTi8ma0G9TRaiLkTnsDUS8sqCOtkEn3y8/g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) by SA3PR12MB9108.namprd12.prod.outlook.com (2603:10b6:806:37d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32; Mon, 11 Dec 2023 19:01:06 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::6b9f:df87:1ee2:88ca]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::6b9f:df87:1ee2:88ca%6]) with mapi id 15.20.7068.033; Mon, 11 Dec 2023 19:01:06 +0000 Message-ID: Date: Mon, 11 Dec 2023 11:00:39 -0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Revert "selftests: error out if kernel header files are not yet built" Content-Language: en-US To: Muhammad Usama Anjum , Andrew Morton Cc: David Hildenbrand , Peter Xu , Shuah Khan , Nathan Chancellor , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, LKML , Anders Roxell , Jonathan Corbet , Peter Zijlstra References: <20231209020144.244759-1-jhubbard@nvidia.com> <0b35fcbd-ce8c-4c12-9725-01f18ade9fc0@collabora.com> From: John Hubbard In-Reply-To: <0b35fcbd-ce8c-4c12-9725-01f18ade9fc0@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BYAPR05CA0030.namprd05.prod.outlook.com (2603:10b6:a03:c0::43) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR12MB4130:EE_|SA3PR12MB9108:EE_ X-MS-Office365-Filtering-Correlation-Id: 8849cc45-5c89-45f6-f62b-08dbfa7b8745 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: A+tkpqQb0ZzMcHqgWBqBY2LkVL6KNxoylOwzGVEoNQaMERM7bPye9ZVHc6TEKTPp4CWUZ8hkknkM/xMjKE7D3b1zjbQch+rFb1TC2ajitiCukL1re3bmSDN2ndOz3ve4i1GINIEo5qOeDlGY1CpVLMikNl/Q8NhIKBJUvP64XEttem8tONycn9AwRj79p51JeMD5XSy4buDAPstMh3FXpDqxBMpOrhb97gnHfhGUt87XCiHjrdDPYJEhMAz6dZC7eRERvN1wRTZxCTcRDBNObhmAzt4/0dMzpn3Fm6VrEOrMKLX6LqqUkXdvlMyWIdElg78q6Ax5y0z/uR1ptCu3YahvuP6NpUyJc8iOKLuN1yuXW0DDe5CzZENTA3npwU/w8iO/5mSTA2zGehkj15/FxIu+5AQjmMjIkx0C0+2tlti5GUX77ooH0Ku3xdYLjwyxXAx5/GiA+QxV0/ToeQEDwHfKJnqH/gpve0a4CuRTvkykSxZi+L8vIkEc8BFQnxLrIb4nNg/vntRXNx1mG+r1Hi60E0h3B5OOw677mp1HbaP7yCSUrzFWI8OsjyvPzMHUdBoE+C5xw5uBefRsLYFcDeM6nbqKpFpNzuiv33LbTL40SV/kTUOT0CPgahhwR2fSTmnoqNB7ywAcYpBKaG3mA4QOuS3U96obZe/a4cPSURaBgm2ALmlWc6MJHA4eYvvlnJjO203sqEb8JSUCaZWnCBmCbKNXMIdBHYr5Wl/RaKY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4130.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(136003)(346002)(39860400002)(396003)(376002)(230922051799003)(230173577357003)(230273577357003)(64100799003)(451199024)(186009)(1800799012)(31686004)(41300700001)(38100700002)(2906002)(7416002)(5660300002)(316002)(4326008)(8936002)(8676002)(54906003)(66946007)(66476007)(66556008)(2616005)(31696002)(110136005)(86362001)(36756003)(966005)(6512007)(6666004)(478600001)(83380400001)(6506007)(6486002)(53546011)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WkdKN1lZZzJKUHVDeGxxcEJsWkxUdFRhV2lGWVhXT1dBVlpYVzV4QlAxRGhs?= =?utf-8?B?TGJqc3NuVEN3UGxRWUxzck02K3lDUXU3V0l2T3g3K3FSaTdEaEdma2xldlNF?= =?utf-8?B?WUplWUdaQm50ZU4wS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NeFZVbEl6NUFu?= =?utf-8?B?ZGk5NzVUTjUzblVNRHJlQnhZeXpGUnNHVVk0ek5WUy9VaHpRdGlQNDZHVTV2?= =?utf-8?B?QjJZUXJmTmZPOGd4Qnl4Wnl6elI2QUthTFI4TEZDK3E3aTgxN1dERVQzREtT?= =?utf-8?B?WFhsdk9LUUs2R0VLV3FWQW9qS0tUdFNWQi9JYzBBQTh5TGZUUGt5YW1wYjM0?= =?utf-8?B?b0xHYTh4Um9VYU1sSkhDYmcxODhPS2hzTjUxeGZUY29sSHduOTRHb2JTWEY1?= =?utf-8?B?b0E9PQ==?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8849cc45-5c89-45f6-f62b-08dbfa7b8745 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2023 19:01:06.1981 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nQJt8YV0Dn/VoPotJ4BlX+c2jdhQtIbCGTwlbIvdJRfqesi4WCy3U9eG5CwDqPkl/HHerQH8JBK/bg3o4l0axw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB9108 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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 (howler.vger.email [0.0.0.0]); Mon, 11 Dec 2023 11:01:26 -0800 (PST) On 12/11/23 03:00, Muhammad Usama Anjum wrote: > On 12/9/23 7:01 AM, John Hubbard wrote: >> This reverts commit 9fc96c7c19df ("selftests: error out if kernel header >> files are not yet built"). > I don't think whole of this commit needs to be reverted. Lets leave the > warning message as it is and just remove the condition to abort the > compilation. > Hi Muhammad! If we do decide that "make headers" or something like it is required, then yes, this patch should be changed from a revert, to a "warn instead of failing out" patch. First, though, I'd like us to choose a design direction. The patch as written is intended to put us on a design that does not require "make headers" before building the selftests, because that approach would work for all the cases I've seen so far. If we want something else, then David Hildenbrand has listed several ideas, and I've added a 4th one to the list, in [1]. [1] https://lore.kernel.org/3eadd79c-c02a-495f-92c0-0315046ef59f@nvidia.com thanks, -- John Hubbard NVIDIA