RE: [PATCH v3 3/4] bus: fsl-mc: add root dprc rescan attribute
From: Ioana Ciornei
Date: Fri Mar 23 2018 - 12:01:09 EST
> On Fri, Mar 23, 2018 at 10:38:57AM -0500, Ioana Ciornei wrote:
> > Introduce the rescan attribute as a device attribute to synchronize
> > the fsl-mc bus objects and the MC firmware.
> >
> > To rescan the root dprc only, e.g.
> > echo 1 > /sys/bus/fsl-mc/devices/dprc.1/rescan
> >
> > Signed-off-by: Ioana Ciornei <ioana.ciornei@xxxxxxx>
> > ---
> > Changes in v2:
> > - added proper documentation in /Documentation/ABI/
> > - updated the MAINTAINERS file
> > Changes in v3:
> > - no change
> >
> > Documentation/ABI/stable/sysfs-bus-fsl-mc | 6 ++++++
> > MAINTAINERS | 1 +
> > drivers/bus/fsl-mc/dprc-driver.c | 4 ++--
> > drivers/bus/fsl-mc/fsl-mc-bus.c | 28 ++++++++++++++++++++++++++++
> > drivers/bus/fsl-mc/fsl-mc-private.h | 3 +++
> > 5 files changed, 40 insertions(+), 2 deletions(-) create mode 100644
> > Documentation/ABI/stable/sysfs-bus-fsl-mc
> >
> > diff --git a/Documentation/ABI/stable/sysfs-bus-fsl-mc
> > b/Documentation/ABI/stable/sysfs-bus-fsl-mc
> > new file mode 100644
> > index 0000000..e530e8c
> > --- /dev/null
> > +++ b/Documentation/ABI/stable/sysfs-bus-fsl-mc
> > @@ -0,0 +1,6 @@
> > +What: /sys/bus/fsl-mc/devices/dprc.*/rescan
> > +Date: March. 2018
>
> "."?
>
> > +KernelVersion: 4.16
>
> 4.17 :)
Sorry for this. Will fix.
>
> > +Contact: Ioana Ciornei <ioana.ciornei@xxxxxxx>
> > +Description: Root dprc rescan attribute
>
> What does this do? A bit more description please.
Will update the description in the next version for both attributes.
>
> thanks,
>
> greg k-h