Re: [PATCH v3] Adding selftest testdata dynamically into live tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thu, 24 Jul 2014 23:53:04 -0600, Grant Likely <grant.likely@xxxxxxxxxx> wrote:
> On Wed, 16 Jul 2014 23:09:39 -0700, Gaurav Minocha <gaurav.minocha.os@xxxxxxxxx> 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 <gaurav.minocha.os@xxxxxxxxx>
> 
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux