Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp432573rdf; Fri, 3 Nov 2023 05:17:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHWeRN7leNURcfxiEUboIul8FOfKQIP4lZ7yePAJx7YOSTnLqDPXiO3Zc0epAxd/D/dYkxP X-Received: by 2002:a17:906:28c3:b0:9db:9c5e:a9c5 with SMTP id p3-20020a17090628c300b009db9c5ea9c5mr3177995ejd.33.1699013865884; Fri, 03 Nov 2023 05:17:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699013865; cv=none; d=google.com; s=arc-20160816; b=MLkDinIibDEDYEV6ofY4llKVn92GfZElXzKhS71g2itEbhJX/ryCHDTJENi8w9y7Rc w0L/Ef4PoQF1dym1CMiR3F7oW60WoiT3RhCy7My4Am7fuFs4cqNV0TAayHjXYR1HGltE yGMCRBpUpRHN8XlwlxVTeUqmdcn6PrD/0pvaNkIbIjbDIxsul/IO6wE9HWFwtroCMSys ZczdceHMHXwI1/K52N2WGiOLeaO7TkWe5Rt9PAZbSRV1ya0uEWtaGXWsXdQo14I4l4vX SVn1P3dqiqFlI9Y3lTgK3mhZ8QvQoiX9JrstQBr5AsMaCbYEFg4qHqJYXpORu8/yg2AR E3NA== 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=NwSa0s/USIN07+9So8CURfAeXqMYxed0LGoxTxzaWIs=; fh=p+sgTQ4YgPjxYN08QXcA6pyL7ojDiH9eoy2pgKiuFzc=; b=uWId19mRsebQ0EdaxTHKYBvjtVe7HFJPFOzcXcnix4bz9QtEmcB9wdYd/m26FtiAlO pa+50c57z1VlY3/6ZXHF1H61nKRx0BVTzCROJCuMm5RO1l15zuzHWkYZSFkcvwFIw/Pp 6ol2uLuWibTI1cfIwF3vXeVIIlnRO0YCraJOfwNR05uOfW7tgu+2AaEXY4YxC4Gekbrg MCPuR5aZBhIk3AFi+g6VfX6hqjMAryAHQYe9rI8+8lBbedazDuDAB5FwqOeBrgwK/el4 F3odtR6YVibvzRAhL3TprPnudI4fPFJBTxli/sAl1dG8tA2gW7/PCbr9z4kd1Nq5uOsM PFaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=BchoTeSy; 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 Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id jy24-20020a170907763800b009dd3f2b456asi405369ejc.101.2023.11.03.05.17.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 05:17:45 -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=@infradead.org header.s=casper.20170209 header.b=BchoTeSy; 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id C5ADC8236267; Fri, 3 Nov 2023 05:17:39 -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 S1346766AbjKCMRW (ORCPT + 99 others); Fri, 3 Nov 2023 08:17:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346442AbjKCMRV (ORCPT ); Fri, 3 Nov 2023 08:17:21 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03B12CE; Fri, 3 Nov 2023 05:17:15 -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=NwSa0s/USIN07+9So8CURfAeXqMYxed0LGoxTxzaWIs=; b=BchoTeSyaSsw5YVFa0b7Ex3dB2 ju2JfCId7dUuJE49APsnTneSoVKSrhL53EotUSuwvei7yXOReaWDMIhubsDi+lBog4vQAJJndh8DN +LAv7TWkcksMmHOMwcz9ucJgK1ioB2mA1Gh5pD7Y//cyET7H8VkMorvC/LBcxVfCX7/7NEQY96nij tTkMuEULNfhWoyNLGPiZdoMOO7Q96Io/nxiuqgkFhB/F9mf/MAaKLQujHM3sHaHvAw0UhyraxcjrC igy/vrquBieQzo4jS+1sevMuzzV7wSTAzquZAPk5f7/ef+olx4YXjWSzjmJAnhDVi4p6nbfd9nXVV z2h7jgCQ==; 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 1qyt6a-005IuG-3S; Fri, 03 Nov 2023 12:16:52 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 727F2300202; Fri, 3 Nov 2023 13:16:52 +0100 (CET) Date: Fri, 3 Nov 2023 13:16:52 +0100 From: Peter Zijlstra To: John Hubbard , Linus Torvalds Cc: Andrew Morton , David Hildenbrand , 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: <20231103121652.GA6217@noisy.programming.kicks-ass.net> References: <20230606071637.267103-1-jhubbard@nvidia.com> <20230606071637.267103-12-jhubbard@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230606071637.267103-12-jhubbard@nvidia.com> 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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 03 Nov 2023 05:17:40 -0700 (PDT) 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.