Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1371594imm; Tue, 2 Oct 2018 07:14:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV62scVuObgAPOg8hjHwMaUdd5T096inTXPQN4+/tk3eF4kpgyH4hNvOu9cWjm7GOcFnNiIGI X-Received: by 2002:a17:902:8a4:: with SMTP id 33-v6mr16950069pll.65.1538489650524; Tue, 02 Oct 2018 07:14:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538489650; cv=none; d=google.com; s=arc-20160816; b=UsFkGRB/uuRe1yDcihvM3Sw1IJQOPXmIT1C6vmd8juMGZJFAYzQFm6vXCN1cazF9V7 YEn4oUlmtS2fS84jaWNKbDbTfnr3PFgTLwoxuYvQ1MuFC5vzeO/z9rbDSWxaF6WWjenh lHGyKp43zeZSTcTiHeQS/8yKXm+VkosO9Ph/D4EoLq4OJaafK+Vo1q99N54aG4Choxg0 n/IVy4vDAuLqD8dV0bL+AlSxst7lqbhw2KWT7eJ/Du1LVk5JEIh/PuQFi4zy/2yppPbO Zzp9FKosyu6czGKHaT8RYrY3yxEHkqWft2NzP1pbpJWmFIJBD6CrM7Cwv0HhUy1F3ttl wRBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=vauZ7Cgn65G5amPj/H/7WGz8w+NElQ4Nb3eI+2Be85k=; b=vNbUeQ0LjeDq6uTwx3epPFCKPQFp23wKWAIUUwhLvMFyOSFksXqbGcXlUY4h7HoW6G qHS4ausJ08tDpwGGa2KwkmYro9id3As/HoNiZcgycTnfmGMjsOsD93QjFpGVcfAPozbk h9RQGU5u5mJb7pb/pSmKAK6jexuJo52/oESu2XhxORGFc6SKTl5KjoogyXzW+IeG6enD ZJL8eEzRjJ3buCRV5Wq+dwcSUJKWIu7l/C5XZtMRmUSTzJus6isSjAWcxIYoiKE6CCQe RE63L4zNDGMG9EZ5wY2aiznuZnvKWOvf8Sc/+3HoXF3r8190sHdLUseIvECDfoUXp9Ac mIpQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7-v6si29147pln.125.2018.10.02.07.13.55; Tue, 02 Oct 2018 07:14:10 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728759AbeJBU4g (ORCPT + 99 others); Tue, 2 Oct 2018 16:56:36 -0400 Received: from ozlabs.org ([203.11.71.1]:54611 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727532AbeJBU4f (ORCPT ); Tue, 2 Oct 2018 16:56:35 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 42Ph1y36Bmz9t15; Wed, 3 Oct 2018 00:12:54 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Shuah Khan , 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 Subject: Re: [PATCH v6] selftests: add headers_install to lib.mk In-Reply-To: <4473d2b6-a760-1a48-68e7-9f90023b57b5@kernel.org> References: <20180809080402.24469-1-anders.roxell@linaro.org> <20180904104721.27535-1-anders.roxell@linaro.org> <87y3bmte9l.fsf@concordia.ellerman.id.au> <4473d2b6-a760-1a48-68e7-9f90023b57b5@kernel.org> Date: Wed, 03 Oct 2018 00:12:51 +1000 Message-ID: <8736tol9ng.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Shuah Khan writes: > 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. OK. And I didn't notice the breakage in linux-next because _I_ was travelling :) > On second thought I should have waited until 4.20. Sorry about that. Yeah that would have been better, no worries. cheers