From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4B84C636D3 for ; Mon, 30 Jan 2023 23:49:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230308AbjA3XtC (ORCPT ); Mon, 30 Jan 2023 18:49:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230044AbjA3Xs5 (ORCPT ); Mon, 30 Jan 2023 18:48:57 -0500 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AC082CC42 for ; Mon, 30 Jan 2023 15:48:55 -0800 (PST) Received: by mail-io1-xd33.google.com with SMTP id k13so2497376iob.9 for ; Mon, 30 Jan 2023 15:48:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Sv9LM6FCsX+XLQLlczZJ3ogJ6u9sp27c4JRuQ8D9oio=; b=SN109vrWZf9cxs6KFGl4MAL63j0Sl4/U5xFRXrWW8hFN+MDbBNYUHS6JsHQKPh7tMu k4uCwm241mGFmPLuj2uZfBQUZBN35tdzdp9nirS8ZOpiGdXpN0PUcm/QOaIqg9oZqeFP 7EBjChBZzZVqmdRgWmVcyJSdMTCqTqAuz9tbU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Sv9LM6FCsX+XLQLlczZJ3ogJ6u9sp27c4JRuQ8D9oio=; b=2Fxg2aQ6QPGpyLyTyYZ7qcC/IzoT/6tSnPuTqj1ilL1GSKB1i6N8xDtFibB02fhUve OG2gjmj9E7HLjdGwDOIFEa+qh3sjnVjLX0AJRKa7/ID0XJzV5kwlP0jKPOPEyV1MJtWk bzWdFLH1OnJ2xu2rv86NQhQuA/GTAshyIx2GkwK67amV6JkPLdeaC93vhUjJhd6sTBmi +NZ0Vslk0fZhvvgSI5LeNyUxfC7YEt5ScNFeUbTgVGQ8LHCVb34ZiKdOc8eojlTWD7jT KSL6ZxvJ9t7XMQ3DFhwmwPt4I4kWjbLEo9P9q7rQebo6bXr1xYI6r5KutURZR4OPu/Ch phKQ== X-Gm-Message-State: AO0yUKWcWexnnabMqL/nKfwrNdelpUac8Qb7AxZ5gIU0QEaNmAv2Hxke 1y/0PjSEBBwZ9T1l9S3JYakT0Q== X-Google-Smtp-Source: AK7set/3JVSpyoClMsRL6+JQvwoSOPsVcasMV+N0EMQk0vrkc2ryYm7TK2SH7HJjWKS8ryISa7yKXw== X-Received: by 2002:a6b:bb05:0:b0:716:8f6a:f480 with SMTP id l5-20020a6bbb05000000b007168f6af480mr1706523iof.0.1675122534791; Mon, 30 Jan 2023 15:48:54 -0800 (PST) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id u23-20020a02aa97000000b0039d71c46577sm5308375jai.21.2023.01.30.15.48.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Jan 2023 15:48:54 -0800 (PST) Message-ID: Date: Mon, 30 Jan 2023 16:48:53 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 00/34] selftests: Fix incorrect kernel headers search path Content-Language: en-US To: Alexei Starovoitov Cc: Mathieu Desnoyers , Shuah Khan , "open list:KERNEL SELFTEST FRAMEWORK" , Ingo Molnar , LKML , bpf , Networking , ppc-dev , Shuah Khan References: <20230127135755.79929-1-mathieu.desnoyers@efficios.com> <560824bd-da2d-044c-4f71-578fc34a47cd@linuxfoundation.org> From: Shuah Khan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On 1/30/23 16:45, Alexei Starovoitov wrote: > On Mon, Jan 30, 2023 at 2:46 PM Shuah Khan wrote: >> >> On 1/27/23 06:57, Mathieu Desnoyers wrote: >>> Hi, >>> >>> This series fixes incorrect kernel header search path in kernel >>> selftests. >>> >>> Near the end of the series, a few changes are not tagged as "Fixes" >>> because the current behavior is to rely on the kernel sources uapi files >>> rather than on the installed kernel header files. Nevertheless, those >>> are updated for consistency. >>> >>> There are situations where "../../../../include/" was added to -I search >>> path, which is bogus for userspace tests and caused issues with types.h. >>> Those are removed. >>> >>> Thanks, >>> >>> Mathieu >>> >>> Mathieu Desnoyers (34): >> >> The below patches are now applied to linux-kselftest next for Linux 6.3-rc1 >> >>> selftests: arm64: Fix incorrect kernel headers search path >>> selftests: clone3: Fix incorrect kernel headers search path >>> selftests: core: Fix incorrect kernel headers search path >>> selftests: dma: Fix incorrect kernel headers search path >>> selftests: dmabuf-heaps: Fix incorrect kernel headers search path >>> selftests: drivers: Fix incorrect kernel headers search path >>> selftests: filesystems: Fix incorrect kernel headers search path >>> selftests: futex: Fix incorrect kernel headers search path >>> selftests: gpio: Fix incorrect kernel headers search path >>> selftests: ipc: Fix incorrect kernel headers search path >>> selftests: kcmp: Fix incorrect kernel headers search path >>> selftests: media_tests: Fix incorrect kernel headers search path >>> selftests: membarrier: Fix incorrect kernel headers search path >>> selftests: mount_setattr: Fix incorrect kernel headers search path >>> selftests: move_mount_set_group: Fix incorrect kernel headers search >>> path >>> selftests: perf_events: Fix incorrect kernel headers search path >>> selftests: pid_namespace: Fix incorrect kernel headers search path >>> selftests: pidfd: Fix incorrect kernel headers search path >>> selftests: ptp: Fix incorrect kernel headers search path >>> selftests: rseq: Fix incorrect kernel headers search path >>> selftests: sched: Fix incorrect kernel headers search path >>> selftests: seccomp: Fix incorrect kernel headers search path >>> selftests: sync: Fix incorrect kernel headers search path >>> selftests: user_events: Fix incorrect kernel headers search path >>> selftests: vm: Fix incorrect kernel headers search path >>> selftests: x86: Fix incorrect kernel headers search path >>> selftests: iommu: Use installed kernel headers search path >>> selftests: memfd: Use installed kernel headers search path >>> selftests: ptrace: Use installed kernel headers search path >>> selftests: tdx: Use installed kernel headers search path >>> >> >> These will be applied by maintainers to their trees. > > Not in this form. They break the build. Mathieu is sending you the patches in the format you requested in the thread on this patch. thanks, -- Shuah From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5D395C54EAA for ; Mon, 30 Jan 2023 23:49:52 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4P5Pzy5Lm8z3bZl for ; Tue, 31 Jan 2023 10:49:50 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=google header.b=SN109vrW; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linuxfoundation.org (client-ip=2607:f8b0:4864:20::d31; helo=mail-io1-xd31.google.com; envelope-from=skhan@linuxfoundation.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=google header.b=SN109vrW; dkim-atps=neutral Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4P5Pyy323Tz2yNm for ; Tue, 31 Jan 2023 10:48:58 +1100 (AEDT) Received: by mail-io1-xd31.google.com with SMTP id o1so1309883ioo.10 for ; Mon, 30 Jan 2023 15:48:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Sv9LM6FCsX+XLQLlczZJ3ogJ6u9sp27c4JRuQ8D9oio=; b=SN109vrWZf9cxs6KFGl4MAL63j0Sl4/U5xFRXrWW8hFN+MDbBNYUHS6JsHQKPh7tMu k4uCwm241mGFmPLuj2uZfBQUZBN35tdzdp9nirS8ZOpiGdXpN0PUcm/QOaIqg9oZqeFP 7EBjChBZzZVqmdRgWmVcyJSdMTCqTqAuz9tbU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Sv9LM6FCsX+XLQLlczZJ3ogJ6u9sp27c4JRuQ8D9oio=; b=dFEy/c+3fsSuJP5T7s7LI42F1DcYGxmjZr5/XJMhpJswLfAjvpJiessJqTqCG1wNAB Avj37Ay8MC9jmLnVGUq2IBuIDwuChZwJgc9wDGtjiwWwhJb6GL215l/ZQkZv0VTIFDHJ tf39I7pL2/3S7ehobRdjUyBuxMCgWPNGlBzm+L+jehIcmGVe4TnpptARG5+AjZk1Fqqu KOsgjw/9P669+WIbRbIyXAx9PrLHqoY5lajQ09p0Os+SXyR8/dGMFEcOvvNpGc4NOw1M Uoaa3GmyquNPUTo1kUpLYsfGcNaFUAjROR6+fi05Da0dO2auQ3xoCpmoqVo4wxe55ykE tZrw== X-Gm-Message-State: AO0yUKVDJlG7JOELDi3S0I8vQZpsbrS3yUhuCGrLLr17S9aRLzqJdp9C kZ6TWjcQuxUJvhmb75dNmFIKOw== X-Google-Smtp-Source: AK7set/3JVSpyoClMsRL6+JQvwoSOPsVcasMV+N0EMQk0vrkc2ryYm7TK2SH7HJjWKS8ryISa7yKXw== X-Received: by 2002:a6b:bb05:0:b0:716:8f6a:f480 with SMTP id l5-20020a6bbb05000000b007168f6af480mr1706523iof.0.1675122534791; Mon, 30 Jan 2023 15:48:54 -0800 (PST) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id u23-20020a02aa97000000b0039d71c46577sm5308375jai.21.2023.01.30.15.48.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Jan 2023 15:48:54 -0800 (PST) Message-ID: Date: Mon, 30 Jan 2023 16:48:53 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 00/34] selftests: Fix incorrect kernel headers search path Content-Language: en-US To: Alexei Starovoitov References: <20230127135755.79929-1-mathieu.desnoyers@efficios.com> <560824bd-da2d-044c-4f71-578fc34a47cd@linuxfoundation.org> From: Shuah Khan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Networking , ppc-dev , LKML , Ingo Molnar , Mathieu Desnoyers , "open list:KERNEL SELFTEST FRAMEWORK" , Shuah Khan , bpf , Shuah Khan Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On 1/30/23 16:45, Alexei Starovoitov wrote: > On Mon, Jan 30, 2023 at 2:46 PM Shuah Khan wrote: >> >> On 1/27/23 06:57, Mathieu Desnoyers wrote: >>> Hi, >>> >>> This series fixes incorrect kernel header search path in kernel >>> selftests. >>> >>> Near the end of the series, a few changes are not tagged as "Fixes" >>> because the current behavior is to rely on the kernel sources uapi files >>> rather than on the installed kernel header files. Nevertheless, those >>> are updated for consistency. >>> >>> There are situations where "../../../../include/" was added to -I search >>> path, which is bogus for userspace tests and caused issues with types.h. >>> Those are removed. >>> >>> Thanks, >>> >>> Mathieu >>> >>> Mathieu Desnoyers (34): >> >> The below patches are now applied to linux-kselftest next for Linux 6.3-rc1 >> >>> selftests: arm64: Fix incorrect kernel headers search path >>> selftests: clone3: Fix incorrect kernel headers search path >>> selftests: core: Fix incorrect kernel headers search path >>> selftests: dma: Fix incorrect kernel headers search path >>> selftests: dmabuf-heaps: Fix incorrect kernel headers search path >>> selftests: drivers: Fix incorrect kernel headers search path >>> selftests: filesystems: Fix incorrect kernel headers search path >>> selftests: futex: Fix incorrect kernel headers search path >>> selftests: gpio: Fix incorrect kernel headers search path >>> selftests: ipc: Fix incorrect kernel headers search path >>> selftests: kcmp: Fix incorrect kernel headers search path >>> selftests: media_tests: Fix incorrect kernel headers search path >>> selftests: membarrier: Fix incorrect kernel headers search path >>> selftests: mount_setattr: Fix incorrect kernel headers search path >>> selftests: move_mount_set_group: Fix incorrect kernel headers search >>> path >>> selftests: perf_events: Fix incorrect kernel headers search path >>> selftests: pid_namespace: Fix incorrect kernel headers search path >>> selftests: pidfd: Fix incorrect kernel headers search path >>> selftests: ptp: Fix incorrect kernel headers search path >>> selftests: rseq: Fix incorrect kernel headers search path >>> selftests: sched: Fix incorrect kernel headers search path >>> selftests: seccomp: Fix incorrect kernel headers search path >>> selftests: sync: Fix incorrect kernel headers search path >>> selftests: user_events: Fix incorrect kernel headers search path >>> selftests: vm: Fix incorrect kernel headers search path >>> selftests: x86: Fix incorrect kernel headers search path >>> selftests: iommu: Use installed kernel headers search path >>> selftests: memfd: Use installed kernel headers search path >>> selftests: ptrace: Use installed kernel headers search path >>> selftests: tdx: Use installed kernel headers search path >>> >> >> These will be applied by maintainers to their trees. > > Not in this form. They break the build. Mathieu is sending you the patches in the format you requested in the thread on this patch. thanks, -- Shuah