On Mon, 2015-08-03 at 11:58 +0200, Andreas Beckmann wrote: > On 2015-08-03 02:21, Luca Boccassi wrote: > > I already addressed 2 problems and committed to the SVN repo (patch > > nv-linux.h and enable dma_ops for arm in > > conftest.h, but the final problem is that the armhf kernel ships with > > CONFIG_XEN enabled [1], without CONFIG_PARAVIRT, > > and this is not supported. > > Sounds like a question for the kernel maintainers ... > > > what about ignoring CONFIG_XEN on armhf in nv-linux.h: > > -#if defined(CONFIG_XEN) && !defined(CONFIG_PARAVIRT) > +#if defined(CONFIG_XEN) && !defined(CONFIG_PARAVIRT) && > !defined(CONFIG_whatever_indicates_armhf)
Works on 4.0 and 4.1, but not on 3.16 due to this error: FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'xen_start_info' /usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.modpost:90: recipe for target '__modpost' failed This goes away when I hack away CONFIG_XEN from the headers auto.conf. I do not see anything else that we could disable in nv-linux.h or that we are missing in conftest.h. Any clue where that comes from? Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part