[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5408.1539650158@turing-police.cc.vt.edu>
Date: Mon, 15 Oct 2018 20:35:58 -0400
From: valdis.kletnieks@...edu
To: frowand.list@...il.com
Cc: Rob Herring <robh+dt@...nel.org>, pantelis.antoniou@...sulko.com,
Pantelis Antoniou <panto@...oniou-consulting.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
geert@...ux-m68k.org, Alan Tull <atull@...nel.org>
Subject: Re: [PATCH v2] of: overlay: user space synchronization
On Mon, 15 Oct 2018 17:27:01 -0700, frowand.list@...il.com said:
> From: Frank Rowand <frank.rowand@...y.com>
>
> 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 file, /sys/firmware/devicetree/tree_version, to allow
> user space to determine if the live devicetree has remained unchanged
> while a series of one or more accesses of /proc/device-tree/ occur.
>
> The use of both dynamic devicetree modifications and overlay apply and
> removal are not supported during the same boot cycle. Thus non-overlay
> dynamic modifications are not reflected in the value of tree_version.
Is there an easy way from userspace to detect "yes/no dynamic modifications
have been done since boot"?
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists