Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2631813rdb; Fri, 8 Dec 2023 14:10:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IEupf2bJykXqvWBX7V5TEDuEgt5uVxdSFBIZIo85oSwFpshaC+5MO+A/Ux42lSxS72b7Szd X-Received: by 2002:a05:6a00:d77:b0:6ce:2732:28f with SMTP id n55-20020a056a000d7700b006ce2732028fmr605201pfv.62.1702073457270; Fri, 08 Dec 2023 14:10:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702073457; cv=none; d=google.com; s=arc-20160816; b=ySlhKoOHzyxSvWM0OV6RsLqf5Zl4Pww8Xii9Fz8VZs0ZxaP+fj3VYjtvlJ1pYJisYs Y2jkZMQx+xa6P+Sw8jsi2J35g27gVetbeKBfE7uxPOnz5Yt49E1F1z8hmVdCNv0HWuz9 M8UmEVRbktbB4uxNMWG87GZtg8tVeAFearwi49r7bbpb6cApnYQj1hrwzRTf580jBL8X D6Vxi2ISPuKFM7mIIvIqXVZ7IM49wlX4NuDfofm2eVCsR0rMuGzOO67InOv72zI5D+SR HdVIbgY3NZuzo9/fMv+TTjYMWVLOAO4QN8LguBi6wxvhN4+Lb9ZGAYAiQvw0Gp2uuc5t L9Ow== 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=/0Qz43yXWHKRpnVXenO5RhbNzM7+gVncZQ63SMwE3i4=; fh=Rgto6pcDX+w4VLERIJopSh6xfpuDyDyWemVcEqZOj84=; b=BY7XpuiQyyCWZ6B5SrDFgcFpi4MTwFugtGxU+KJLxPFFU3zs4s+TJtq5J7bcZeArup 13Sr9hZ7920f5igMUIN+fi5fr8qe/HTlVxzjCN932F/f1op/Ot/IEy1WqXAfaE2ztQKf z56ZKs0wY7VYnnNqohmyPCijtfkw6HyKdCSrf1EWznvYfLBGgth4wPu30xEejrYO7zkE D6cbptvPp3xgGzv+BU3IoPEfpBWT4JOiFae+PmlEUiWi/y8CDQ8ydrSQb7oOEGu2pN9K v28WDWgItKADhxFUpDseC0qdc7Q1N5NagTIfoW1yw7wYtHTr5liJxISiAyEKzQOqKH9w bVlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=FGvjnfZ7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id s24-20020a63f058000000b005c6cc61ff0csi2120738pgj.152.2023.12.08.14.10.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 14:10:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=FGvjnfZ7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id D247B80447F4; Fri, 8 Dec 2023 14:10:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574888AbjLHWKX (ORCPT + 99 others); Fri, 8 Dec 2023 17:10:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1574886AbjLHWKV (ORCPT ); Fri, 8 Dec 2023 17:10:21 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 892B0171D; Fri, 8 Dec 2023 14:10:27 -0800 (PST) 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=/0Qz43yXWHKRpnVXenO5RhbNzM7+gVncZQ63SMwE3i4=; b=FGvjnfZ7+Por6qLX7oGRUbZTeQ I0DhdI59LFdS83KUNARfpVoB+NROGqZhSY3HVXg+Y+Rk5vz82vI++nvPojoocbk1Y5foyoi2CsFFk m1nr7LWznGR+iTy0g+3uD3GMwKRciZ16K8R+/iSMbk0x3FBdU8o0NKH9PEzPl/p6/cYh/t3O1PLcg d0Y2znNuzkjlkSqx4MBusJPC3X/nUn0pWmcJUTUhUtNlsA5TTkEr3qrLJfq/m3D06BD5xtJ0XoZXY nXrMxljNFpzAr10nWbH7zGfxOeNK8ax6cLAgGb1tx4fTva0JyTouSkV9HlNDWd/Ggq+3yHez0eDnS 7yuK3HfA==; 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 1rBj2u-006fJt-EM; Fri, 08 Dec 2023 22:10:08 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 76E993003F0; Fri, 8 Dec 2023 23:10:07 +0100 (CET) Date: Fri, 8 Dec 2023 23:10:07 +0100 From: Peter Zijlstra To: John Hubbard Cc: David Hildenbrand , 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: <20231208221007.GO28727@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> <20231208151401.GG28727@noisy.programming.kicks-ass.net> <990feea2-c7a8-4cd9-8a6a-bc4bc1c2ffab@redhat.com> 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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 08 Dec 2023 14:10:40 -0800 (PST) On Fri, Dec 08, 2023 at 12:29:37PM -0800, John Hubbard wrote: > I don't have a strong opinion about how this should be done, and in > fact I believed at the time that I was bringing the system into > compliance with what everyone wanted here. :) > > There seem to be two conflicting visions: > > a) The way it was (much) earlier: use ifdefs and defines to get by > without the latest kernel headers, or > > b) Requiring recent kernel headers to build the various selftests. > > Shuah, Peter, others: can we choose a direction please? Either > way will work, and I personally don't care which one we choose. So as David already argued, the current thing does not in fact help with b. You just have to install once and the error goes away, then carry that tree for a year and you're running old crap again. My biggest beef with the whole thing is that I simply do not want to use 'make headers', it doesn't work for me. I have a ton of output directories and I don't care to build tools into the output dirs, in fact some of them flat out refuse to work that way (bpf comes to mind).