mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Gabriel L. Somlo" <somlo@cmu.edu>
To: "François Revol" <revol@free.fr>
Cc: "Rob Herring" <robh@kernel.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	mst@redhat.com, stefanha@gmail.com,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Eric Anholt" <eric@anholt.net>,
	kraxel@redhat.com,
	"linux-api@vger.kernel.org" <linux-api@vger.kernel.org>,
	"Andy Gross" <agross@codeaurora.org>,
	"Pawel Moll" <pawel.moll@arm.com>,
	kernelnewbies@kernelnewbies.org,
	"Rafał Miłecki" <zajec5@gmail.com>,
	"Russell King" <rmk+kernel@arm.linux.org.uk>,
	"Laszlo Ersek" <lersek@redhat.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"Arnd Bergmann" <arnd@arndb.de>,
	"Ian Campbell" <ijc+devicetree@hellion.org.uk>,
	jordan.l.justen@intel.com, "Kumar Gala" <galak@codeaurora.org>,
	"Leif Lindholm" <leif.lindholm@linaro.org>,
	"matt.fleming@intel.com" <matt.fleming@intel.com>,
	"Ard Biesheuvel" <ard.biesheuvel@linaro.org>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Andy Lutomirski" <luto@amacapital.net>,
	"Hanjun Guo" <hanjun.guo@linaro.org>,
	"Sudeep Holla" <sudeep.holla@arm.com>
Subject: Re: Re: [Qemu-devel] [PATCH v4 4/4] devicetree: update documentation for fw_cfg ARM bindings
Date: Wed, 18 Nov 2015 15:54:49 -0500	[thread overview]
Message-ID: <20151118205448.GD2109@HEDWIG.INI.CMU.EDU> (raw)
In-Reply-To: <564C7758.6010103@free.fr>

On Wed, Nov 18, 2015 at 02:04:24PM +0100, François Revol wrote:
> On 17/11/2015 23:14, Rob Herring wrote:
> > On Mon, Nov 16, 2015 at 2:38 AM, Paolo Bonzini <pbonzini@redhat.com> wrote:
> >>
> >>
> >> On 15/11/2015 03:07, Rob Herring wrote:
> >>> We generally don't want DT docs to depend on other kernel documentation.
> >>
> >> DT docs do not contain a copy of the data sheets, either.  There is no
> >> reason to say how to use the device (and even then, only doing so
> >> partially) in the DT docs.
> > 
> > The difference is datasheets apply to all OS's, kernel documentation
> > does not. In theory at least this could be used for other OS's, right?
> 
> Would be nice indeed, as it's part of their intended purpose.
> 
> For now we have to shoehorn things into linux-only stuff (like initrd)
> because well, nobody cares enough about NetBSD to compile U-Boot with
> its internal API, so let alone adding custom Haiku code.
> 
> And of course, for things linux doesn't care about (like framebuffer
> description) then we're stuck trying to guess where it's at and writing
> drivers for our bootloader.
> 
> So if at least people were considering they aren't the only users of
> this, that'd make life better for everyone.
> 
> > Perhaps QEMU is the right place to thoroughly describe this and DT and
> > sysfs docs can refer to it.
> 
> The brilliant idea of FDT was that we could have a canonical source and
> blob for it where people could send patches, but of course Linux and BSD
> freaks disagreed, so you now find Linux-flavoured DTs for rPi and other
> things, as well as BSD versions.
> 
> Please, at least get the binding documentation for this unique and
> usable for everyone!

That would be 'docs/specs/fw_cfg.txt' in the QEMU source tree. I will
avoid cut'n'pasting anything from there into either the proposed
Documentation/ABI/testing/sysfs-firmware-qemu_fw_cfg (leaving only the
sysfs specific bits in there), and also remove any redundant bits from
Documentation/devicetree/bindings/arm/fw-cfg.txt.

I'm inclined to add (in v5) a mention of 'qemu:docs/specs/fw_cfg.txt'
to both the proposed fw_cfg sysfs doc file, and to the existing fw_cfg
arm/dt node doc file, unless I get strong objections against doing so... :)

Thanks,
--Gabriel

      reply	other threads:[~2015-11-18 20:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-14  3:03 [PATCH v4 0/4] SysFS driver for QEMU fw_cfg device Gabriel L. Somlo
2015-11-14  3:03 ` [PATCH v4 1/4] firmware: introduce sysfs driver for QEMU's " Gabriel L. Somlo
2015-11-14  3:03 ` [PATCH v4 2/4] kobject: export kset_find_obj() for module use Gabriel L. Somlo
2015-11-14  3:03 ` [PATCH v4 3/4] firmware: create directory hierarchy for sysfs fw_cfg entries Gabriel L. Somlo
2015-11-14  3:03 ` [PATCH v4 4/4] devicetree: update documentation for fw_cfg ARM bindings Gabriel L. Somlo
2015-11-15  2:07   ` [Qemu-devel] " Rob Herring
2015-11-16  8:38     ` Paolo Bonzini
2015-11-16 13:51       ` Gabriel L. Somlo
2015-11-17 22:14       ` Rob Herring
2015-11-18  2:17         ` Gabriel L. Somlo
2015-11-18 13:04         ` François Revol
2015-11-18 20:54           ` Gabriel L. Somlo [this message]

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=20151118205448.GD2109@HEDWIG.INI.CMU.EDU \
    --to=somlo@cmu.edu \
    --cc=agross@codeaurora.org \
    --cc=ard.biesheuvel@linaro.org \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=eric@anholt.net \
    --cc=galak@codeaurora.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hanjun.guo@linaro.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jordan.l.justen@intel.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=kraxel@redhat.com \
    --cc=leif.lindholm@linaro.org \
    --cc=lersek@redhat.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=mark.rutland@arm.com \
    --cc=matt.fleming@intel.com \
    --cc=mst@redhat.com \
    --cc=pawel.moll@arm.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=revol@free.fr \
    --cc=rmk+kernel@arm.linux.org.uk \
    --cc=robh@kernel.org \
    --cc=stefanha@gmail.com \
    --cc=sudeep.holla@arm.com \
    --cc=zajec5@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®