Re: [PATCH 4/4] kunit: tool: Disable broken options for --alltests

From: Jason Gunthorpe
Date: Fri Feb 18 2022 - 10:02:08 EST


On Fri, Feb 18, 2022 at 03:57:27PM +0800, David Gow wrote:
> There are a number of Kconfig options which break compilation under UML with
> allyesconfig. As kunit_tool's --alltests option is based on allyesconfig and
> UML, we need to update the list of broken options to make --alltests build
> again.
>
> Note that, while this does build again, it still segfaults on startup,
> so more work remains to be done.
>
> They are:
> - CONFIG_VFIO_PCI: Needs ioport_map/ioport_unmap.
> - CONFIG_INFINIBAND_RDMAVT: Needs cpuinfo_x86 and __copy_user_nocache

It doesn't make sense to patch qib and then turn this option off, it
is required to build qib.

Jason