Re: [PATCH V2 2/2] of: remove /proc/device-tree

From: Grant Likely
Date: Thu Mar 21 2013 - 16:07:47 EST

On Thu, Mar 21, 2013 at 12:52 PM, Benjamin Herrenschmidt
<benh@xxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, 2013-03-21 at 11:24 +0000, Grant Likely wrote:
>> The same data is now available in sysfs, so we can remove the code
>> that exports it in /proc and replace it with a symlink to the sysfs
>> version.
>> Tested on versatile qemu model and mpc5200 eval board. More testing
>> would be appreciated.
> This should be delayed until we are 100% confident that the sysfs
> variant is totally backward compatible with anything that messes around
> with /proc/device-tree.

Yup, I agree with that.

> kexec comes to mind (all 4 variants of fs2dt.c (yuck !)), dtc, various
> powerpc-utils (bootloader configuration etc...), and more.
> We also need to test the new code with hotplug, I'll see if I can get
> somebody at IBM to give it a spin.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at