Re: [RFC v3 06/19] arch: um: enable running kunit from User Mode Linux

From: Luis Chamberlain
Date: Thu Nov 29 2018 - 22:39:04 EST


On Wed, Nov 28, 2018 at 03:26:03PM -0600, Rob Herring wrote:
> On Wed, Nov 28, 2018 at 1:37 PM Brendan Higgins
> <brendanhiggins@xxxxxxxxxx> wrote:
> >
> > Make minimum number of changes outside of the KUnit directories for
> > KUnit to build and run using UML.
>
> There's nothing in this patch limiting this to UML.

Not that one, but the abort thing segv thing is, eventually.
To support other architectures we'd need to make a wrapper to that
hack which Brendan added, and then allow each os to implement
its own call, and add an asm-generic helper.

Are you volunteering to add the x86 hook?

Luis