From: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
To: Pantelis Antoniou
<pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
Cc: Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Frank Rowand
<frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Matt Porter <mporter-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>,
Koen Kooi
<koen-QLwJDigV5abLmq1fohREcCpxlwaOVQ5f@public.gmane.org>,
Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v6 1/4] of: overlay: kobjectify overlay objects
Date: Wed, 21 Oct 2015 08:22:36 -0700 [thread overview]
Message-ID: <20151021152236.GA20589@kroah.com> (raw)
In-Reply-To: <302128B9-A82A-477D-A158-3283DE30F43A-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
On Wed, Oct 21, 2015 at 04:28:33PM +0300, Pantelis Antoniou wrote:
> Hi Greg,
>
> > On Oct 21, 2015, at 00:03 , Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
> >
> > On Tue, Oct 20, 2015 at 10:13:14PM +0300, Pantelis Antoniou wrote:
> >> We are going to need the overlays to appear on sysfs with runtime
> >> global properties (like master enable) so turn them into kobjects.
> >
> > Why kobjects and not 'struct device’?
> >
>
> Cause it’s overkill.
>
> There is no hardware/abstract device connection between an overlay and a device as what’s being used right now in driver core.
>
> kobjs are enough to present them in the filesystem hierarchy.
>
> > Why even have them in sysfs at all? You need more information here as
> > to why you want to do this.
> >
>
> They have to be in sysfs so that people can have information about the overlays applied in the system, i.e. where their targets are and whether removal is possible. That’s what’s possible for now; in the future we might present the full contents of the overlay there, and what changes to the live tree were made.
Ok, then say that in the changelog to explain what you are doing here :)
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Cc: Rob Herring <robherring2@gmail.com>,
Frank Rowand <frowand.list@gmail.com>,
Matt Porter <mporter@konsulko.com>,
Koen Kooi <koen@dominion.thruhere.net>,
Guenter Roeck <linux@roeck-us.net>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-api@vger.kernel.org
Subject: Re: [PATCH v6 1/4] of: overlay: kobjectify overlay objects
Date: Wed, 21 Oct 2015 08:22:36 -0700 [thread overview]
Message-ID: <20151021152236.GA20589@kroah.com> (raw)
In-Reply-To: <302128B9-A82A-477D-A158-3283DE30F43A@konsulko.com>
On Wed, Oct 21, 2015 at 04:28:33PM +0300, Pantelis Antoniou wrote:
> Hi Greg,
>
> > On Oct 21, 2015, at 00:03 , Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
> >
> > On Tue, Oct 20, 2015 at 10:13:14PM +0300, Pantelis Antoniou wrote:
> >> We are going to need the overlays to appear on sysfs with runtime
> >> global properties (like master enable) so turn them into kobjects.
> >
> > Why kobjects and not 'struct device’?
> >
>
> Cause it’s overkill.
>
> There is no hardware/abstract device connection between an overlay and a device as what’s being used right now in driver core.
>
> kobjs are enough to present them in the filesystem hierarchy.
>
> > Why even have them in sysfs at all? You need more information here as
> > to why you want to do this.
> >
>
> They have to be in sysfs so that people can have information about the overlays applied in the system, i.e. where their targets are and whether removal is possible. That’s what’s possible for now; in the future we might present the full contents of the overlay there, and what changes to the live tree were made.
Ok, then say that in the changelog to explain what you are doing here :)
next prev parent reply other threads:[~2015-10-21 15:22 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-20 19:13 [PATCH v6 0/4] of: overlay: kobject & sysfs'ation Pantelis Antoniou
2015-10-20 19:13 ` [PATCH v6 1/4] of: overlay: kobjectify overlay objects Pantelis Antoniou
[not found] ` <1445368397-8732-2-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-20 21:03 ` Greg Kroah-Hartman
2015-10-20 21:03 ` Greg Kroah-Hartman
[not found] ` <20151020210349.GA28724-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-10-21 13:28 ` Pantelis Antoniou
2015-10-21 13:28 ` Pantelis Antoniou
[not found] ` <302128B9-A82A-477D-A158-3283DE30F43A-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-21 15:22 ` Greg Kroah-Hartman [this message]
2015-10-21 15:22 ` Greg Kroah-Hartman
2015-10-20 19:13 ` [PATCH v6 2/4] of: overlay: global sysfs enable attribute Pantelis Antoniou
2015-10-20 21:06 ` Greg Kroah-Hartman
[not found] ` <20151020210609.GB28724-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-10-20 21:50 ` Rob Herring
2015-10-20 21:50 ` Rob Herring
[not found] ` <CAL_JsqLxvO4ke79rbBvq2ybPDeXdFtL+_Y4G9uFbz19eeSp3vg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-21 8:47 ` Pantelis Antoniou
2015-10-21 8:47 ` Pantelis Antoniou
2015-10-20 19:13 ` [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes Pantelis Antoniou
[not found] ` <1445368397-8732-4-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-20 21:04 ` Rob Herring
2015-10-20 21:04 ` Rob Herring
2015-10-20 21:11 ` Pantelis Antoniou
2015-10-20 21:54 ` Rob Herring
2015-10-21 19:37 ` Pantelis Antoniou
2015-10-21 21:52 ` Rob Herring
[not found] ` <CAL_JsqJse8wyRRAf2dbVBYQ9QtxD6JL02kd8zGuFxK3gnY_0rQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-22 16:15 ` Pantelis Antoniou
2015-10-22 16:15 ` Pantelis Antoniou
[not found] ` <FA84C326-4CE3-4695-9F04-4AEF7A897BE7-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-11-05 19:52 ` Rob Herring
2015-11-05 19:52 ` Rob Herring
[not found] ` <CAL_JsqL8+4HCrSFQf5oi1PdE0mQveL9OFPFPfVGT+xm-JeMO2g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-11-05 20:17 ` Pantelis Antoniou
2015-11-05 20:17 ` Pantelis Antoniou
2015-10-20 21:08 ` Greg Kroah-Hartman
2015-10-20 21:08 ` Greg Kroah-Hartman
[not found] ` <20151020210806.GC28724-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-10-20 21:15 ` Pantelis Antoniou
2015-10-20 21:15 ` Pantelis Antoniou
[not found] ` <D2471EF1-6837-41CC-8205-FE7D8573ACC3-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-20 23:25 ` Greg Kroah-Hartman
2015-10-20 23:25 ` Greg Kroah-Hartman
2015-10-20 19:13 ` [PATCH v6 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays Pantelis Antoniou
2015-10-20 20:56 ` Rob Herring
[not found] ` <CAL_JsqJ1nPp17bnp5b59i7Huov8f-qOByRG2dW6XBj5-4_fvSw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-20 21:02 ` Pantelis Antoniou
2015-10-20 21:02 ` Pantelis Antoniou
[not found] ` <235F6C23-4962-4114-BCB2-4279E775E23E-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-20 22:00 ` Rob Herring
2015-10-20 22:00 ` Rob Herring
[not found] ` <1445368397-8732-1-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-20 21:06 ` [PATCH v6 0/4] of: overlay: kobject & sysfs'ation Rob Herring
2015-10-20 21:06 ` Rob Herring
[not found] ` <CAL_JsqKzwUeZp=pBcxh=4kBhY-6EQDozBweiACUYW1L=1gC4SQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-20 21:11 ` Pantelis Antoniou
2015-10-20 21:11 ` Pantelis Antoniou
2015-10-20 21:52 ` Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151021152236.GA20589@kroah.com \
--to=gregkh-hqyy1w1ycw8ekmwlsbkhg0b+6bgklq7r@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=koen-QLwJDigV5abLmq1fohREcCpxlwaOVQ5f@public.gmane.org \
--cc=linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org \
--cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mporter-OWPKS81ov/FWk0Htik3J/w@public.gmane.org \
--cc=pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org \
--cc=robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.