Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp788042imm; Fri, 28 Sep 2018 06:53:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV618i5upiBxDoSuBHdaaxDDkge7NHJ/++FMpkqCzvcWRago/K2zWhC35VaqMUR0m4PzwBI/d X-Received: by 2002:a63:2c01:: with SMTP id s1-v6mr14906202pgs.367.1538142809168; Fri, 28 Sep 2018 06:53:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538142809; cv=none; d=google.com; s=arc-20160816; b=A9Qe1a0GOzZdZVELGeoxjaZ9SOOV1E9gOALlC3+6LKTpAqF1GGToqeZWUt3qzhmm0c pnbQngn/NTz7+wi6PYXEWSA4kNyXE8qh/BGGNiGlKT47lNXHGfNfdlDf837EPczrfnXw TeThCDWBwTmTDnor3MfrNKvyhRPLzS2ajiE82xKqPhgE8s16xDuIuh59lKaELWFgnzWu SD2opRWpvRqOx0Jyb/btB5n2yw3l/++SE1m0R2xDPwxj0S0Yb+cmtRXNMGs+1zsuIxti DPwsf5TqFCMf4DgOIsayHoHovRJiP4evq14sNhuDtBLBqyDV+FzBPmYo90pDAGuVCI/2 2o7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=TWvbph975opdlBXJ1XoaNRCKovvOz6HtaOxP1zlJd2g=; b=P+zpGQjcq1T5QiNQFE31VMpt/tnY1kU4I/IW9hozu+5LINud99gmkiX1TQijL8yMlt /b8hXfNBmcGpq4RtxAKjsCe0X19DdaZNTJyHFCdQ+MtHjfC7wJUtg3BOEqNl4AttGsqJ gI77fXR5fbd6PccvgDSKPx5ckBWG+/coDywj1/ZEBEs+Fha/2e6sKjkdNYUElskMXE7Z sc3Hes16C+6HjB51TDaevGYoAm+ZvHnlpC23NLLfz+7LAqI4z1EeDZK+HGnSThHRmgXc M7Rk5W94rDvR9YtgbGDg5sb8vJyuBP/hDrZH9Plrtfp0vjWAcI0geiIqKQXiBsaG98nO chYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 20-v6si1923314pgk.190.2018.09.28.06.53.13; Fri, 28 Sep 2018 06:53:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729308AbeI1UQz (ORCPT + 99 others); Fri, 28 Sep 2018 16:16:55 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:42787 "EHLO mailout.easymail.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbeI1UQz (ORCPT ); Fri, 28 Sep 2018 16:16:55 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 7923B40F47; Fri, 28 Sep 2018 13:53:00 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bkfXeLTEicM4; Fri, 28 Sep 2018 13:53:00 +0000 (UTC) Received: from [192.168.1.87] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 1B09E40CBE; Fri, 28 Sep 2018 13:52:34 +0000 (UTC) Subject: Re: [PATCH v6] selftests: add headers_install to lib.mk To: Michael Ellerman , Anders Roxell , yamada.masahiro@socionext.com, michal.lkml@markovi.net, bamv2005@gmail.com, brgl@bgdev.pl, pbonzini@redhat.com, akpm@linux-foundation.org, rppt@linux.vnet.ibm.com, aarcange@redhat.com Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Shuah Khan References: <20180809080402.24469-1-anders.roxell@linaro.org> <20180904104721.27535-1-anders.roxell@linaro.org> <87y3bmte9l.fsf@concordia.ellerman.id.au> From: Shuah Khan Message-ID: <4473d2b6-a760-1a48-68e7-9f90023b57b5@kernel.org> Date: Fri, 28 Sep 2018 07:52:26 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <87y3bmte9l.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/27/2018 10:52 PM, Michael Ellerman wrote: > [ + linuxppc-dev ] > > Anders Roxell writes: >> If the kernel headers aren't installed we can't build all the tests. >> Add a new make target rule 'khdr' in the file lib.mk to generate the >> kernel headers and that gets include for every test-dir Makefile that >> includes lib.mk If the testdir in turn have its own sub-dirs the >> top_srcdir needs to be set to the linux-rootdir to be able to generate >> the kernel headers. >> >> Signed-off-by: Anders Roxell >> Reviewed-by: Fathi Boudra >> --- >> >> I sent this (v5) a month ago and wondered if it got lost. Resending >> unchanged. >> >> Cheers, >> Anders >> >> Makefile | 14 +------------- >> scripts/subarch.include | 13 +++++++++++++ >> tools/testing/selftests/android/Makefile | 2 +- >> tools/testing/selftests/android/ion/Makefile | 2 ++ >> tools/testing/selftests/futex/functional/Makefile | 1 + >> tools/testing/selftests/gpio/Makefile | 7 ++----- >> tools/testing/selftests/kvm/Makefile | 7 ++----- >> tools/testing/selftests/lib.mk | 12 ++++++++++++ >> tools/testing/selftests/net/Makefile | 1 + >> .../selftests/networking/timestamping/Makefile | 1 + >> tools/testing/selftests/vm/Makefile | 4 ---- >> 11 files changed, 36 insertions(+), 28 deletions(-) >> create mode 100644 scripts/subarch.include > > This broke all the powerpc selftests :( Sorry for thr breakage. > > Why did it go in at rc5? > This patch has been in linux-next for a sometime before I decided to send this. My original intent was to send this for rc2, and my schedule was messed up with traveling. Since I didn't hear any issues from linux-next soaking, I made a call on sending this in for rc5. On second thought I should have waited until 4.20. Sorry about that. thanks, -- Shuah