Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1732843

Re: microblaze fails to to compile with allmodconfig

From Michal Simek <monstr@monstr.eu>
Newsgroups linux.kernel
Subject Re: microblaze fails to to compile with allmodconfig
Date 2017-09-15 14:20 +0200
Message-ID <upXLc-2Fe-5@gated-at.bofh.it> (permalink)
References <upyjM-357-17@gated-at.bofh.it> <upytt-38x-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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 <mhocko@kernel.org> 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 <asm/kvm_para.h>
>>                           ^
>> 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
> 
> ?

tile/arm/alpha/frv/nm10300/hexagon/sparc/score have
#include <asm-generic/kvm_para.h>

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.

Masahiro/Nicolas: Any issue with this proposed fix?

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs


Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

microblaze fails to to compile with allmodconfig Michal Hocko <mhocko@kernel.org> - 2017-09-14 11:10 +0200
  Re: microblaze fails to to compile with allmodconfig Geert Uytterhoeven <geert@linux-m68k.org> - 2017-09-14 11:20 +0200
    Re: microblaze fails to to compile with allmodconfig Michal Simek <monstr@monstr.eu> - 2017-09-15 14:20 +0200
      Re: microblaze fails to to compile with allmodconfig Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-09-15 15:10 +0200

csiph-web