Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1668630pxb; Wed, 9 Feb 2022 01:42:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJw4OCXlmZEFURi74lmQCbcS2itmtfVNbTlrlz/ov2oDPkI0k3Z35aaoYL9tScWobKCEkgKR X-Received: by 2002:a63:f942:: with SMTP id q2mr1220775pgk.573.1644399763939; Wed, 09 Feb 2022 01:42:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644399763; cv=none; d=google.com; s=arc-20160816; b=JjQ3ObUh92go05l26FXefksbi4FSGDcpMZoHwHS02gdjoNt3hHUv3IJWYGrL5Wv1s+ B0nCWMurGRjjO3XHc3WkDJbCuFmBFMJJ5pPIU3qcPQ+0W1mc7Fuu3+g6o6ONvIJCxlvi fFYDCku2g1fhJZ07Gpa2GaKEh7mOaJm5qB6o7RspneF9xGzsx5S16DXD0okdtbtJ/+tt Ld8PUASmgS59Q2hs0KLPizt9rlvwmwDnmpQx3dOxlS6Ka+TD968cV0gtA/vpd864JZ+G xwtw8pbgdaYxiVlzSET1zCbAjoRTuskKhHgPpFdrtkZTCfi3mY+20/6rgyCv8zD8uBLx Q1Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=GR4yvSt4uQ+YFhNbD4fRaCObmP7kL/x3g2s6EkaKb2E=; b=gPvY4TYzPwUbbMkwxd61Rh5LdN9UawRrmh0Zw94nW4lj/ZI4ZLBnVHeHggsbmG76Y8 fgNnBDqJeD5AH1EGKB4Sm5t/S4sdr5CtdNXEe1Lkh8SVrMhlT4vpEJVFriGoKJInLQKZ 6HSyJm9amseFnB8lLI5sgBD+xT4iuIz1FafGTTUFcNiRV6wXLEp/NS7Ej0tZTWTikFF5 wysGNHbw8mHuFgXGcSXXHXl+NGL+W9M5KXE3qY+LGbuHCfcAn/VUrLF1eZjN7dMl1T2c bQd/XYIX5HqkroD4RiveLHufri7VkF8tZqEe0GjWZ3jyGX2KHbAHEMglOmQGiLfscomB Uz2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=SSy4G3WC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l7si14085005plt.163.2022.02.09.01.42.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 01:42:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=SSy4G3WC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 61C0CE06FB24; Wed, 9 Feb 2022 01:05:34 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240679AbiBGVbt (ORCPT + 99 others); Mon, 7 Feb 2022 16:31:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230521AbiBGVbs (ORCPT ); Mon, 7 Feb 2022 16:31:48 -0500 Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8F93C06173B for ; Mon, 7 Feb 2022 13:31:47 -0800 (PST) Received: by mail-il1-x130.google.com with SMTP id d3so12254034ilr.10 for ; Mon, 07 Feb 2022 13:31:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=GR4yvSt4uQ+YFhNbD4fRaCObmP7kL/x3g2s6EkaKb2E=; b=SSy4G3WCV/9s4w/RXrOrMxQoCQGmDZ0pNskFdbfUIJ3hsbqGR0KaoM5ZGVoyJ22TrH ljbtBpk7HETNzk4/H0Z1eP5iPRujAVhmA5IbWkERnfjYyjLXmHrKndjdLFSbXrHbxfSa 791oRBtIVlLEE2+/CgRJAAkG4KZlXyBEsitFs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GR4yvSt4uQ+YFhNbD4fRaCObmP7kL/x3g2s6EkaKb2E=; b=m4hVGGd6R2saAx7qwOg/ZhJseFhRy5dBlkYeU1BCZ0J2ZBvJNJ7TXJpcMKvTvZgBiX LJbxxkW7R0SVOwlcDnzY1x/VQYoy/y4h1jvxZ95wc7uIaUog4PRLZ9XkFjS2U4svkAs1 NyogFQfjSRsFyi4SZ6t/38Wq5HKS1H4ZKHxAHj7P8UwRFf3nJDeI652bu8GVf8R5PIb+ DKyq7sFbIeoExPx97iKguUweOhsf/0AkbgkvrjunhfhB2v36eQrRF3sCmMclX9YafOlL UfjKBaLUuznu4JP5mPKcx2ulOdYsie8xmgcKbUvoN0LRAEr1+hgO+O3zLDcvGa+THUrP 40rg== X-Gm-Message-State: AOAM533wTUu3rdAuvWMT6VYYuko7JUKHBAgU6gjJV0XC6qlj1BZtmb/8 CRQBLASKUkCno+cPcgGDgI/nFg== X-Received: by 2002:a05:6e02:1545:: with SMTP id j5mr713020ilu.318.1644269507088; Mon, 07 Feb 2022 13:31:47 -0800 (PST) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id g11sm6438631iom.45.2022.02.07.13.31.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Feb 2022 13:31:46 -0800 (PST) Subject: Re: [PATCH] selftests: futex: set DEFAULT_INSTALL_HDR_PATH To: Muhammad Usama Anjum , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , =?UTF-8?Q?Andr=c3=a9_Almeida?= , Shuah Khan , Shuah Khan Cc: kernel@collabora.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org References: <20220119103332.2887370-1-usama.anjum@collabora.com> <3a4878b9-f175-f16f-a901-efc33b2bf89f@linuxfoundation.org> <24d02704-e590-63d0-4d8a-c76578249bea@collabora.com> From: Shuah Khan Message-ID: <1464f5e1-d79b-b440-9a15-c0ed61599e1b@linuxfoundation.org> Date: Mon, 7 Feb 2022 14:31:46 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <24d02704-e590-63d0-4d8a-c76578249bea@collabora.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_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 On 2/7/22 1:50 PM, Muhammad Usama Anjum wrote: > On 2/7/22 11:40 PM, Shuah Khan wrote: >> On 1/19/22 3:33 AM, Muhammad Usama Anjum wrote: >>> If only futex selftest is compiled, uapi header files are copied to the >>> selftests/futex/functional directory. This copy isn't needed. Set the >>> DEFAULT_INSTALL_HDR_PATH variable to 1 to use the default header install >>> path only. This removes extra copy of header file. >>> >>> Signed-off-by: Muhammad Usama Anjum >>> --- >>>   tools/testing/selftests/futex/functional/Makefile | 1 + >>>   1 file changed, 1 insertion(+) >>> >>> diff --git a/tools/testing/selftests/futex/functional/Makefile >>> b/tools/testing/selftests/futex/functional/Makefile >>> index 5cc38de9d8ea..9a8c3700d773 100644 >>> --- a/tools/testing/selftests/futex/functional/Makefile >>> +++ b/tools/testing/selftests/futex/functional/Makefile >>> @@ -24,6 +24,7 @@ TEST_PROGS := run.sh >>>     top_srcdir = ../../../../.. >>>   KSFT_KHDR_INSTALL := 1 >>> +DEFAULT_INSTALL_HDR_PATH := 1 >>>   include ../../lib.mk >>>     $(TEST_GEN_FILES): $(HEADERS) >>> >> >> This will be a good cleanup. However, please make there is no dependencies >> in the futex test sub-dirs on being able to find the headers under futex >> > I've tried the following variations. The build is fine. > > cd tools/testing/selftests/futex/functional > make > > cd tools/testing/selftests/futex/ > make > > make -C tools/testing/selftests/ > >> I vaguely remember leaving this in place for reason. >> > This must have been fixed in previous changes made to the build system. > Thanks for checking. I will apply this in for Linux 5.18-rc1 thanks, -- Shuah