On Thu, 24 Jul 2014 23:53:04 -0600, Grant Likely <[email protected]> wrote: > On Wed, 16 Jul 2014 23:09:39 -0700, Gaurav Minocha > <[email protected]> wrote: > > This patch attaches selftest's device tree data (required by > > /drivers/of/selftest.c) > > dynamically into live device tree. First, it links selftest device tree > > data into the > > kernel image and then iterates over all the nodes and attaches them into > > the live tree. > > Once the testcases are complete, it removes the data attached. > > > > This patch will remove the manual process of addition and removal of > > selftest device > > tree data into the machine's dts file. Also, it can be build as a loadable > > kernel > > module by setting the config symbol OF_SELFTEST=m. > > > > Tested successfully with current selftest's testcases. > > > > Signed-off-by: Gaurav Minocha <[email protected]> > > Merged, thanks. I've run tested on QEMU PowerPC pseries and ARM > Versatile Express models. One of the testcases fails on powerpc, but > that is a problem with the testcase itself, and not with this code.
I have however removed the ability to build it as a module for now. There are other patches in my tree that conflict and I didn't want to deal with the merge conflict. I'll get you to re-add the module feature on top of the new tree when I push it out. g. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
