Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp449481rdf; Fri, 3 Nov 2023 05:46:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENIryUl1DkA/vJiTVv+vDGzkQfhNU51FV6Zx36SSMplPwXgfc5XRxGfsHrfApbd6ATqJij X-Received: by 2002:a17:902:ea0a:b0:1cc:56b3:efcb with SMTP id s10-20020a170902ea0a00b001cc56b3efcbmr13912290plg.1.1699015607179; Fri, 03 Nov 2023 05:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699015607; cv=none; d=google.com; s=arc-20160816; b=N4U2CLM3zKFVWOImZqstOPvxoBhCyHtwrsqzEgYE6tVk5XtNaLY5KWNHovJGZ0KBky uKY1QO1e8xKl0WBF7OOOUMKqdgVx5UYX5mMWrjBaPxHckpTnFSUdQqytsJSa53BbtB+Y fgrLDyj5LnfG4BzNTQRAyVwxpWdY4ngPQG8eR2P3PKJSEZoy8cFnxFNfUgOJe1bOrPOR N+utbJUgX/fycWJoWYSuj/0UlftUmJZ61fuh8S5wdYlSSHheVlSE+gP/LbkieMr4VLYM cvkYNAXZocGNuV7H/VBKHL1ZRm4Bf0TR/e8XOamQwmnT0taxni/R1rl1IqLMEft0Svm7 UgMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8TMcEyG3RiD7RECaqRdhYHspaIsImlZ9FwqzKP0l02s=; fh=g9EYw59ciboWxQ8yeMRRWaenjCbP20EMP7AQVDZCOOM=; b=IYSmxv5NGAgoDcm8r74D1Oq54UfhceIuZVvL/n1Snn3RGOTFAFn7aZcZYkri9zZIl5 yLEW/eFZkT6V23I6LUu6nh2OE8j18RuU93phVVia/O8TfFT0bnCFZSXqqY1miE4hFTPK DIhuM6u79mhzq9sB6ftEFmSt3GeMd9WAVB2wSMaHmOJAHdy/APtBfOawV7ZcWlAyhX7a oLe7kvsrR2SVApXa+bWa82rfABGdTfCdgG6bZ9JoGL+Ugw1tr9Oj9y9GxvqQj40gGQUD ipVXU5QuloQJx7H2j5oiNPpYM8m+CIKhawaXhJbwS2aRiBTRV5NY/gnahYooXj8rjwxH KTfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=qk6oIoXE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id i9-20020a17090332c900b001ca335f71bbsi1491651plr.140.2023.11.03.05.46.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 05:46:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=qk6oIoXE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 3D40482990D6; Fri, 3 Nov 2023 05:46:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230104AbjKCMq2 (ORCPT + 99 others); Fri, 3 Nov 2023 08:46:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjKCMq1 (ORCPT ); Fri, 3 Nov 2023 08:46:27 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E385D123; Fri, 3 Nov 2023 05:46:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=8TMcEyG3RiD7RECaqRdhYHspaIsImlZ9FwqzKP0l02s=; b=qk6oIoXEFgEVm8AON0Ukab/6vv ShSen0t+/dOGOL0ERyspoiGDTmFT6inioEId0OvPa4RGxfEb+Lsw9Hyb/NgkKG5HHHuE3PK2V66nN AplQjJvaElTsFMiIq+52qMkdpIdg/emYsRctcIUZncQ118bmb9RSA7DSmTLWrq5dq+5pKh894llEx 9kpKQo7UVJDoMRlm0OhvPuVkHsAfEGqpveBs2GNIGSrDuHZMhga9Cnf1wgVplDKJA2V1HL/hFAmTh mdv74d3ddFOGo37LrlBPLsxDb1WW4H8zwDOCU4XQjiG7KepTotk67cIJrIl2UbZcRocs/N6JSHN6/ zosR8S4A==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qytYs-005R6w-AA; Fri, 03 Nov 2023 12:46:07 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id A2E9530027B; Fri, 3 Nov 2023 13:46:06 +0100 (CET) Date: Fri, 3 Nov 2023 13:46:06 +0100 From: Peter Zijlstra To: David Hildenbrand Cc: John Hubbard , Linus Torvalds , Andrew Morton , Peter Xu , Shuah Khan , Nathan Chancellor , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, LKML , Muhammad Usama Anjum , Jonathan Corbet , linux-doc@vger.kernel.org Subject: Re: [PATCH v3 11/11] selftests: error out if kernel header files are not yet built Message-ID: <20231103124606.GB8262@noisy.programming.kicks-ass.net> References: <20230606071637.267103-1-jhubbard@nvidia.com> <20230606071637.267103-12-jhubbard@nvidia.com> <20231103121652.GA6217@noisy.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 03 Nov 2023 05:46:42 -0700 (PDT) On Fri, Nov 03, 2023 at 01:22:54PM +0100, David Hildenbrand wrote: > On 03.11.23 13:16, Peter Zijlstra wrote: > > On Tue, Jun 06, 2023 at 12:16:37AM -0700, John Hubbard wrote: > > > As per a discussion with Muhammad Usama Anjum [1], the following is how > > > one is supposed to build selftests: > > > > > > make headers && make -C tools/testing/selftests/mm > > > > > > Change the selftest build system's lib.mk to fail out with a helpful > > > message if that prerequisite "make headers" has not been done yet. > > > > > > > NAK NAK NAK > > > > This now means I can no longer run selftests, I thank you very much! :-/ > > > > root@spr:/usr/src/linux-2.6# make O=defconfig-build/ -j64 > > make[1]: Entering directory '/usr/src/linux-2.6/defconfig-build' > > *** > > *** The source tree is not clean, please run 'make mrproper' > > *** in /usr/src/linux-2.6 > > > > > > I've always done: > > > > cd tools/testing/selftests/x86; make > > > > and that has always worked > > > > Now I can't bloody well build *any* selftest or risk not being able to > > do builds. > > This change landed in 6.5, no? And 6.6 was just released. Just curious why > you notice that now. Dunno, last time I edited the selftests and needed to recompile was a few weeks ago.