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

From: Grant Likely
Date: Wed Mar 20 2013 - 12:41:20 EST

On Wed, Mar 20, 2013 at 4:24 PM, Daniel Mack <daniel@xxxxxxxxxx> wrote:
> On Wed, Mar 20, 2013 at 4:19 PM, Rob Herring <robherring2@xxxxxxxxx> wrote:
>> On 03/20/2013 09:51 AM, 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.
>> I would suggest testing with lshw in particular. That's the only
>> /proc/device-tree user I've come across.
> kexec is another one. Not to mention various vendor scripts that aren't
> necessarily public.
> Don't such things also fall under the "we do not break userspace
> compatibility - ever" rule?

Correct. I've got no intention of applying this without testing the
major users first.

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