Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4059411rwd; Sat, 3 Jun 2023 19:13:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ489DavOcdhR7dn2t5bZJXLo3QXgq61Hv7QkWOlnEEBQopnRfVWF7EBjD7lQfxvSHPmwtrl X-Received: by 2002:a17:903:1cc:b0:1b0:2658:db20 with SMTP id e12-20020a17090301cc00b001b02658db20mr4168606plh.53.1685844802885; Sat, 03 Jun 2023 19:13:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685844802; cv=pass; d=google.com; s=arc-20160816; b=eymqIiPc+qYJhVP3rGdalvW4T/Lnsa8yNBryrEKEZr5H9Hg18tDaJ+P+JJVV1Unxn3 Q3o50BoGXSgR6LZD0+PusyPDhdwV/bnRHAQiVkGpAM6ZeV0cfWyvpVQQLJqQ3Ew7HCga y/LciGYyMENqLP/Yq8akYwWgm5mv3MKMeBWIC9x/jJV+ybUUjc0QIOLKBuH0qP/yvmke icMrFZqdFHMq0sb5wH4VBhi3QYar8DTzLc0O6mwcG7w5FhT2AtPMU1OvoSddCsIIVUA+ b9BKzHvDOSrdMCqIz6yYT4iOyrA/vs9oAiyzQyMD82Wj48Tp+xYO1hRYUzMglZWcjnvY mibQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=uvv+s8qBLJz2k4c+kDEAOagrqhFac5jQQKnaAxYvobE=; b=o1OjKOuqYHZ+9f0eEX02HDQsk4bjvnWpQb2BQNegGsTNve7CKn4ABk+Ar2/jXibJ9w 08OOxuUJPwidCNbvQhEyGcWA3hjZe6loNvipAVZY46FgA3CVPgKzVxNVdokQ3GmzlA7x mlLUcGLzgvS0oUjGlZ8lET4RWbg6rZ4G0UZ83xkL9qBc07FKxpnVCE0PmNwDsDNRohoy WDWHTdrGidT3b0USkBw7Is2lKbdAFGJapozuNkJJBfT08ywN/G97baNHH/qrVDn8B42A PwSPSMI+skQRI5QJZkYD2eB80Jw2pNDzgy4wbPw0KZAlQSDBvwBpRGNOamw74GswmyJf T0Bw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=J1ByB9LD; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w23-20020a170902a71700b001b01242b3fdsi3179064plq.652.2023.06.03.19.12.35; Sat, 03 Jun 2023 19:13:22 -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=@Nvidia.com header.s=selector2 header.b=J1ByB9LD; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229884AbjFDBiF (ORCPT + 99 others); Sat, 3 Jun 2023 21:38:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbjFDBiD (ORCPT ); Sat, 3 Jun 2023 21:38:03 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2086.outbound.protection.outlook.com [40.107.223.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87E771A7; Sat, 3 Jun 2023 18:38:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AjbRVKv5W9IkKeLJzQH2wybdmJuk+aVROpgQabY+tCkiRsSmldYp7dOrIJODlD9DNJgVZZDxT+RQ8yKm247xt8kPiDke8ub3diF5BDrynoiRwaE5PQZBoChQT8/w5dlkbTRjxaA6am5SCvMsr79oz5E8xJ9om6rAgMPwluAXfgcpQthVGLH7zUb+2xh7oW+UifQkdt/QXIGFx8EAs5E+Yiqh5tndii9mvDvXWp+jSV6x6ph8cOIiBoVE/zR2rNYcDhh19nd1ZSKgqzOiGdYwVDOVi4lvHzKz5FOV0Hky2SGzD4ACCu/LoyLO+RQzTxNr87fmlcCuNmMkOehkcVUOqg== 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=uvv+s8qBLJz2k4c+kDEAOagrqhFac5jQQKnaAxYvobE=; b=YO/6sPTXWA/u026609Ie+vLLD4ChrhtgK7+yNCQ6ppDPymJTRk81x+3lbEWD/U+JRZ2NHPOlYwIAfyWBRYziGVCa/36CKDiM6ENN/v4zwHauDF9qgClf3nPR4GwAmyQAj1bLg4bWbunEqqTAZLoZYXy0Nz73FFD6XVaJhTMSvYih4E2RW0t2WRap7BF1L5arMI4kFG/guIi6tjVvu46weJbF93/WS9RRe7FpApn368sipjU1f+J71t8Y4a4VLin5OqIcVE4uAaOWhjJ4iditLGySlk3uMlDGL0Q3qWgWaNSzfl8W8V58r8wHjl8T+py8GP7GRXL18CqwKU8oZLZBgw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) smtp.rcpttodomain=linux-foundation.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=uvv+s8qBLJz2k4c+kDEAOagrqhFac5jQQKnaAxYvobE=; b=J1ByB9LDD5fWLdFFd4YJ6SLsw/n3JgTfegy6+8LSpAX8FRHR0YT1arCC3o5/4nFCqp+f2F+jm/PsrKMvj8BRUbZuroDEpFgVxcsZrZ5/W2aJVOM2XbFgTizIeQhOyhz6jU02nm8C2FavThYLnhQ3Xg6Yp3VJ0fWfCK7hBRLeHCsLgqgT5IWqjvplwwnGyVpRDHWof428pZ9RkmSZHAeITPHgk+phfZPcqtkMyVG/p0/jj7HnxIXLkNFjfmC3lxU9WSqQX+IvJjAj4+YkwfAsFLWybtfja0O7e6cYxRXdxNf36I9KAnU3VOfiUIYp+T6CvVXZMeqWl7syFY+wGc73kA== Received: from SA1P222CA0104.NAMP222.PROD.OUTLOOK.COM (2603:10b6:806:3c5::14) by SJ0PR12MB6808.namprd12.prod.outlook.com (2603:10b6:a03:47a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.28; Sun, 4 Jun 2023 01:36:57 +0000 Received: from SN1PEPF000252A2.namprd05.prod.outlook.com (2603:10b6:806:3c5:cafe::92) by SA1P222CA0104.outlook.office365.com (2603:10b6:806:3c5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.31 via Frontend Transport; Sun, 4 Jun 2023 01:36:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by SN1PEPF000252A2.mail.protection.outlook.com (10.167.242.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.13 via Frontend Transport; Sun, 4 Jun 2023 01:36:56 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Sat, 3 Jun 2023 18:36:44 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Sat, 3 Jun 2023 18:36:43 -0700 Received: from sandstorm.nvidia.com (10.127.8.14) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Sat, 3 Jun 2023 18:36:43 -0700 From: John Hubbard To: Andrew Morton CC: David Hildenbrand , Peter Xu , "Shuah Khan" , Nathan Chancellor , , , LKML , John Hubbard , "Muhammad Usama Anjum" , Jonathan Corbet , Subject: [PATCH 0/1] selftests: error out if kernel header files are not yet built Date: Sat, 3 Jun 2023 18:36:36 -0700 Message-ID: <20230604013637.203330-1-jhubbard@nvidia.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF000252A2:EE_|SJ0PR12MB6808:EE_ X-MS-Office365-Filtering-Correlation-Id: e1866bd4-a5c4-44bf-f2af-08db649c2efb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c9GUBV2tW2jDkBtc9+/NRQ0YTp+rhXpgJQarArjN/BYHHV7cTzDS6hsO3cNqzid32tCbz3OGPiYEjJOBB9+fVulCS7+KT7Yp97FvwFMpaY9tkpgAla8jX7HJkYirZ7jJkmqthFUavM80ZFsB+TCGgiugqjV9u+T9Klxn8exUAB4k4mSdWL3CZL7QBESUMKn49lFGXs0HP87pJAv+wsjWq+Eg5qWV7MqjFTgfGTlYwgCslxgf2VIGQYRMQR904GoZYNLzywbZ8J3K177dCuhzYNl8A3qG/jcrJLTOa6aE+zBqzNrw2uLsx+CH14VcQSq22xzwPbJM13a8NTZHTH05UJ1AIM3r17qUSKgS1ujZGL/DtNTLsz1NCiRcDY8xqBFdjTE2Rn3QIXKt0m6Az14SBeQvR26MRQSdPJJ53giVChjXe4atzdQYIUwoQPuux3L0pdFFnrRZC0mfQ/o+FuLvECwyUa4t2afOHbb6amC21yl8nZ7aPAPj7ymkm56BPa5QT19qzhONkEYXpDgl7DWf0z/XCPaRBQPZfZezxfknXBHGypLijRnmcRmVnBL2c8VOWf4eDABL0ncdnGgwoTPcAcd6PiPaChunp00kxN/YdpezgsiZYdUQDHA82qO1ZiYM3n/JwBEuPpHkuPAgqCMJm0dscn926GC5w3jvuUiV+P+i+bHFeiAyOYIFFMR+u144JUFBbyEIddSjtugTBbkERDUcILIBtm285J2MYefQfu21AQ+NTpLrrCrx9zkI+aiwRXw41Pxu+nlFXhYno4Q8Bw== X-Forefront-Antispam-Report: CIP:216.228.118.232;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge1.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(396003)(346002)(136003)(39860400002)(376002)(451199021)(40470700004)(46966006)(36840700001)(7416002)(8936002)(5660300002)(8676002)(2906002)(316002)(41300700001)(4744005)(4326008)(70206006)(70586007)(6916009)(966005)(54906003)(6666004)(7696005)(426003)(26005)(1076003)(336012)(186003)(36756003)(2616005)(83380400001)(47076005)(36860700001)(7636003)(356005)(478600001)(40460700003)(82310400005)(82740400003)(40480700001)(86362001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2023 01:36:56.7746 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e1866bd4-a5c4-44bf-f2af-08db649c2efb X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF000252A2.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6808 X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi, This is somewhat related to the 11-patch series that I just posted [1], but I hadn't originally planned to go this far with it. But since David Hildenbrand asked if we could warn in this case [2], here it is. It turns out that automatically doing the "make headers" correctly is much harder than just warning, so I stopped at that point. It works well, though. [1] https://lore.kernel.org/all/20230603021558.95299-1-jhubbard@nvidia.com/ [2] https://lore.kernel.org/all/a4fbc191-9acb-5db8-a375-96c0c1ba3fcd@redhat.com/ thanks, John Hubbard Cc: David Hildenbrand Cc: Peter Xu Cc: Muhammad Usama Anjum Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org John Hubbard (1): selftests: error out if kernel header files are not yet built tools/testing/selftests/lib.mk | 36 +++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) base-commit: e5282a7d8f6b604f2bb6a06457734b8cf1e2f8f2 -- 2.40.1