Re: [PATCH v3] of: overlay: user space synchronization

2018-11-02 Thread Frank Rowand
Hi Rob, First, the point of this patch was to provide a way for userspace (program, command line interface, whatever -- that is orthogonal) to ensure that its view of the devicetree via /proc/device-tree/ is consistent since an overlay apply or remove can alter the devicetree. For in-kernel use,

Re: [PATCH v3] of: overlay: user space synchronization

2018-11-02 Thread Frank Rowand
Hi Rob, First, the point of this patch was to provide a way for userspace (program, command line interface, whatever -- that is orthogonal) to ensure that its view of the devicetree via /proc/device-tree/ is consistent since an overlay apply or remove can alter the devicetree. For in-kernel use,

Re: [PATCH v3] of: overlay: user space synchronization

2018-10-22 Thread Frank Rowand
On 10/19/18 9:06 AM, Rob Herring wrote: > On Thu, Oct 18, 2018 at 7:06 PM Frank Rowand wrote: >> >> On 10/18/18 12:32, Rob Herring wrote: >>> On Tue, Oct 16, 2018 at 05:34:26PM -0700, frowand.l...@gmail.com wrote: From: Frank Rowand When an overlay is applied or removed, the live

Re: [PATCH v3] of: overlay: user space synchronization

2018-10-22 Thread Frank Rowand
On 10/19/18 9:06 AM, Rob Herring wrote: > On Thu, Oct 18, 2018 at 7:06 PM Frank Rowand wrote: >> >> On 10/18/18 12:32, Rob Herring wrote: >>> On Tue, Oct 16, 2018 at 05:34:26PM -0700, frowand.l...@gmail.com wrote: From: Frank Rowand When an overlay is applied or removed, the live

Re: [PATCH v3] of: overlay: user space synchronization

2018-10-19 Thread Rob Herring
On Thu, Oct 18, 2018 at 7:06 PM Frank Rowand wrote: > > On 10/18/18 12:32, Rob Herring wrote: > > On Tue, Oct 16, 2018 at 05:34:26PM -0700, frowand.l...@gmail.com wrote: > >> From: Frank Rowand > >> > >> When an overlay is applied or removed, the live devicetree visible in > >>

Re: [PATCH v3] of: overlay: user space synchronization

2018-10-19 Thread Rob Herring
On Thu, Oct 18, 2018 at 7:06 PM Frank Rowand wrote: > > On 10/18/18 12:32, Rob Herring wrote: > > On Tue, Oct 16, 2018 at 05:34:26PM -0700, frowand.l...@gmail.com wrote: > >> From: Frank Rowand > >> > >> When an overlay is applied or removed, the live devicetree visible in > >>

Re: [PATCH v3] of: overlay: user space synchronization

2018-10-19 Thread Geert Uytterhoeven
Hi Frank, On Fri, Oct 19, 2018 at 2:06 AM Frank Rowand wrote: > On 10/18/18 12:32, Rob Herring wrote: > > On Tue, Oct 16, 2018 at 05:34:26PM -0700, frowand.l...@gmail.com wrote: > >> Provide a sysfs file, /sys/firmware/devicetree/tree_version, to allow > >> user space to determine if the live

Re: [PATCH v3] of: overlay: user space synchronization

2018-10-19 Thread Geert Uytterhoeven
Hi Frank, On Fri, Oct 19, 2018 at 2:06 AM Frank Rowand wrote: > On 10/18/18 12:32, Rob Herring wrote: > > On Tue, Oct 16, 2018 at 05:34:26PM -0700, frowand.l...@gmail.com wrote: > >> Provide a sysfs file, /sys/firmware/devicetree/tree_version, to allow > >> user space to determine if the live

Re: [PATCH v3] of: overlay: user space synchronization

2018-10-18 Thread Frank Rowand
On 10/18/18 12:32, Rob Herring wrote: > On Tue, Oct 16, 2018 at 05:34:26PM -0700, frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> When an overlay is applied or removed, the live devicetree visible in >> /proc/device-tree/, aka /sys/firmware/devicetree/base/, reflects the >> changes.

Re: [PATCH v3] of: overlay: user space synchronization

2018-10-18 Thread Frank Rowand
On 10/18/18 12:32, Rob Herring wrote: > On Tue, Oct 16, 2018 at 05:34:26PM -0700, frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> When an overlay is applied or removed, the live devicetree visible in >> /proc/device-tree/, aka /sys/firmware/devicetree/base/, reflects the >> changes.

Re: [PATCH v3] of: overlay: user space synchronization

2018-10-18 Thread Rob Herring
On Tue, Oct 16, 2018 at 05:34:26PM -0700, frowand.l...@gmail.com wrote: > From: Frank Rowand > > When an overlay is applied or removed, the live devicetree visible in > /proc/device-tree/, aka /sys/firmware/devicetree/base/, reflects the > changes. There is no method for user space to determine

Re: [PATCH v3] of: overlay: user space synchronization

2018-10-18 Thread Rob Herring
On Tue, Oct 16, 2018 at 05:34:26PM -0700, frowand.l...@gmail.com wrote: > From: Frank Rowand > > When an overlay is applied or removed, the live devicetree visible in > /proc/device-tree/, aka /sys/firmware/devicetree/base/, reflects the > changes. There is no method for user space to determine

[PATCH v3] of: overlay: user space synchronization

2018-10-16 Thread frowand . list
From: Frank Rowand When an overlay is applied or removed, the live devicetree visible in /proc/device-tree/, aka /sys/firmware/devicetree/base/, reflects the changes. There is no method for user space to determine whether the live devicetree was modified by overlay actions. Provide a sysfs

[PATCH v3] of: overlay: user space synchronization

2018-10-16 Thread frowand . list
From: Frank Rowand When an overlay is applied or removed, the live devicetree visible in /proc/device-tree/, aka /sys/firmware/devicetree/base/, reflects the changes. There is no method for user space to determine whether the live devicetree was modified by overlay actions. Provide a sysfs