Mailinglist Archive: opensuse-kernel (75 mails)

< Previous Next >
[opensuse-kernel] Xen broken for ARM on master
  • From: Guillaume Gardet <guillaume.gardet@xxxxxxx>
  • Date: Thu, 13 Mar 2014 11:50:08 +0100
  • Message-id: <53218D60.7020502@free.fr>
Hi,

Xen is broken on all ARM configs on master branch.

On ARM, when you enable xen (CONFIG_PARAVIRT_XEN=y), this lead to a compilation
problem:
********************************************************************************
[ 3509s] CC arch/arm/kernel/asm-offsets.s
[ 3510s] In file included from
/home/abuild/rpmbuild/BUILD/kernel-default-3.14.rc6/linux-3.14-rc6/arch/arm/include/asm/io.h:31:0,
[ 3510s] from
/home/abuild/rpmbuild/BUILD/kernel-default-3.14.rc6/linux-3.14-rc6/include/linux/scatterlist.h:10,
[ 3510s] from
/home/abuild/rpmbuild/BUILD/kernel-default-3.14.rc6/linux-3.14-rc6/include/linux/dma-mapping.h:9,
[ 3510s] from
/home/abuild/rpmbuild/BUILD/kernel-default-3.14.rc6/linux-3.14-rc6/arch/arm/kernel/asm-offsets.c:15:
[ 3510s]
/home/abuild/rpmbuild/BUILD/kernel-default-3.14.rc6/linux-3.14-rc6/arch/arm/include/asm/dma-mapping.h:
In function 'get_dma_ops':
[ 3510s]
/home/abuild/rpmbuild/BUILD/kernel-default-3.14.rc6/linux-3.14-rc6/include/xen/xen.h:29:38:
error: dereferencing pointer to incomplete type
[ 3510s] xen_start_info && xen_start_info->flags & SIF_INITDOMAIN)
********************************************************************************

Maybe because of this patch:
http://lists.xen.org/archives/html/xen-devel/2013-07/msg01833.html

Then, in "include/xen/interface/xen.h" file, "struct start_info" is not defined
since XEN_HAVE_PV_GUEST_ENTRY is only defined for x86.


I tried vanilla 3.14-rc6 and there is no problem. So, the problem is in
openSUSE xen patches.

Note that in arch/arm/{Kconfig,Makefile}, vanilla kernel uses CONFIG_XEN
whereas openSUSE has CONFIG_PARAVIRT_XEN instead.


I will send a patch to disable Xen on ARM for now until this problem is solved.


Guillaume

--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-kernel+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages