Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751423AbdIONHX (ORCPT ); Fri, 15 Sep 2017 09:07:23 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:48708 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751184AbdIONHV (ORCPT ); Fri, 15 Sep 2017 09:07:21 -0400 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com v8FD793q026523 X-Nifty-SrcIP: [209.85.161.169] X-Google-Smtp-Source: ADKCNb76ag18LwioMzWbevhEV17r0hJ+bagMKH7OOvd4Yf23ehrquZMgbsEEsNYp4JgYT7SZZtnQAMvBTXSIQk6uz6k= MIME-Version: 1.0 In-Reply-To: References: <20170914090747.p2jdrjjqoylvbrbb@dhcp22.suse.cz> From: Masahiro Yamada Date: Fri, 15 Sep 2017 22:06:28 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: microblaze fails to to compile with allmodconfig To: Michal Simek Cc: Geert Uytterhoeven , Michal Hocko , LKML , Nicolas Dichtel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2474 Lines: 95 Hi Michal, 2017-09-15 21:17 GMT+09:00 Michal Simek : > Hi Michal and Geert, +Nicolas and Masahiro > > On 14.9.2017 11:19, Geert Uytterhoeven wrote: >> Hi Michal, >> >> On Thu, Sep 14, 2017 at 11:07 AM, Michal Hocko wrote: >>> I've started seeing the following compilation failures with microblaze >>> with the current linux-next (next-20170913). I have no idea when this >>> has been introduced but microblaze clearly doesn't have arch specific >>> kvm_para.h. >>> >>> In file included from ./include/linux/kvm_para.h:4:0, >>> from kernel/watchdog.c:29: >>> ./include/uapi/linux/kvm_para.h:32:26: fatal error: asm/kvm_para.h: No such file or directory >>> #include >>> ^ >>> compilation terminated. >>> make[1]: *** [kernel/watchdog.o] Error 1 >>> make[1]: *** Waiting for unfinished jobs.... >>> >>> allyesconfig and allnoconfig compile just fine. Maybe allmodconfig needs >>> an update? > > > Thanks for reporting this. > >> >> arch/microblaze/include/uapi/asm/Kbuild needs a line >> >> generic-y += kvm_para.h >> >> ? Yes. I think it is the right thing to do. > tile/arm/alpha/frv/nm10300/hexagon/sparc/score have > #include > > ppc and x86 contain implementation. > > s390 and mips are just empty files > > Issue was likely introduced by: > "uapi: export all headers under uapi directories" > (commit fcc8487d477a3452a1d0ccbdd4c5e0e1e3cb8bed) > > Where header-y += kvm_para.h was removed. No. Nicolas's commit is innocent. I think the bad commit is this: commit 83f0124ad81e87b74c2f461b1794e57ab5e7fea0 Author: Tobias Klauser Date: Fri May 19 13:45:16 2017 +0200 microblaze: remove asm-generic wrapper headers Some of microblaze's asm and uapi header are merely including their asm-generic counterpart. Thus, the arch specific headers can be removed and the asm-generic header can be used directly via generic-y. The headers removed from uapi don't need to be added to generic-y in the uapi Kbuild in order to get exported, as they are already listed in mandatory-y. Also order the generic-y list alphabetically. Signed-off-by: Tobias Klauser Signed-off-by: Michal Simek It removed arch/microblaze/include/uapi/asm/kvm_para.h but, missed to add "generic-y += kvm_para.h" -- Best Regards Masahiro Yamada