Re: Is this a known build issue on s390x for v5.1-rc7?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2019-05-02 at 16:48 -0400, Jonathan Toppins wrote:
> $ git log --oneline -1
> 37624b58542f (HEAD, tag: v5.1-rc7, stable/master, rdma/master,
> acpi/master) Linux 5.1-rc7
> 
> $ make ARCH=s390 CROSS_COMPILE=s390x-linux-gnu-
> KCONFIG_CONFIG=../kernel-4.18.0-s390x.config all
>   CALL    scripts/checksyscalls.sh
>   CALL    scripts/atomic/check-atomics.sh
>   CHK     include/generated/compile.h
>   LD [M]  drivers/infiniband/core/ib_core.o
>   LD [M]  drivers/infiniband/core/ib_cm.o
>   LD [M]  drivers/infiniband/core/iw_cm.o
>   LD [M]  drivers/infiniband/core/rdma_cm.o
>   CC [M]  drivers/infiniband/core/uverbs_main.o
> In file included from ./arch/s390/include/asm/page.h:180:0,
>                  from ./arch/s390/include/asm/thread_info.h:26,
>                  from ./include/linux/thread_info.h:38,
>                  from ./arch/s390/include/asm/preempt.h:6,
>                  from ./include/linux/preempt.h:78,
>                  from ./include/linux/spinlock.h:51,
>                  from ./include/linux/seqlock.h:36,
>                  from ./include/linux/time.h:6,
>                  from ./include/linux/stat.h:19,
>                  from ./include/linux/module.h:10,
>                  from drivers/infiniband/core/uverbs_main.c:37:
> drivers/infiniband/core/uverbs_main.c: In function ‘rdma_umap_fault’:
> drivers/infiniband/core/uverbs_main.c:898:28: error: ‘struct vm_fault’
> has no member named ‘vm_start’
>    vmf->page = ZERO_PAGE(vmf->vm_start);
>                             ^
> ./include/asm-generic/memory_model.h:54:40: note: in definition of macro
> ‘__pfn_to_page’
>  #define __pfn_to_page(pfn) (vmemmap + (pfn))
>                                         ^
> ./arch/s390/include/asm/page.h:162:29: note: in expansion of macro ‘__pa’
>  #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT)
>                              ^
> ./arch/s390/include/asm/page.h:166:41: note: in expansion of macro
> ‘virt_to_pfn’
>  #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr))
>                                          ^
> ./arch/s390/include/asm/pgtable.h:60:3: note: in expansion of macro
> ‘virt_to_page’
>   (virt_to_page((void *)(empty_zero_page + \
>    ^
> drivers/infiniband/core/uverbs_main.c:898:15: note: in expansion of
> macro ‘ZERO_PAGE’
>    vmf->page = ZERO_PAGE(vmf->vm_start);
>                ^
> make[4]: *** [drivers/infiniband/core/uverbs_main.o] Error 1
> make[3]: *** [drivers/infiniband/core] Error 2
> make[2]: *** [drivers/infiniband] Error 2
> make[1]: *** [drivers] Error 2
> make: *** [sub-make] Error 2

Yes, there's a fix in Linus' tree for it.

-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux