Re: [Qemu-devel] [PATCH v5 1/4] firmware: introduce sysfs driver for QEMU's fw_cfg device

2015-11-24 Thread Laszlo Ersek
On 11/24/15 18:38, Eric Blake wrote: > On 11/24/2015 09:55 AM, Gabriel L. Somlo wrote: >> On Tue, Nov 24, 2015 at 04:14:50AM +0800, kbuild test robot wrote: > >>> >>>drivers/firmware/qemu_fw_cfg.c: In function 'fw_cfg_cmdline_set': > drivers/firmware/qemu_fw_cfg.c:510:7: warning: format '%

Re: [PATCH v5 4/4] devicetree: update documentation for fw_cfg ARM bindings

2015-11-23 Thread Laszlo Ersek
ed-off-by: Gabriel Somlo > Cc: Laszlo Ersek > --- > Documentation/devicetree/bindings/arm/fw-cfg.txt | 38 > ++-- > 1 file changed, 2 insertions(+), 36 deletions(-) > > diff --git a/Documentation/devicetree/bindings/arm/fw-cfg.txt > b/Document

Re: [PATCH v5] QEMU fw_cfg DMA interface documentation

2015-10-08 Thread Laszlo Ersek
On 10/08/15 17:03, Marc Marí wrote: > Add fw_cfg DMA interface specfication in the fw_cfg documentation. > > Signed-off-by: Marc Marí > --- > Documentation/devicetree/bindings/arm/fw-cfg.txt | 52 > +++- > 1 file changed, 51 insertions(+), 1 deletion(-) > > diff --git a/Doc

Re: [Qemu-devel] QEMU fw_cfg DMA interface

2015-10-01 Thread Laszlo Ersek
On 10/01/15 18:21, Eric Blake wrote: > On 10/01/2015 10:17 AM, Laszlo Ersek wrote: >> On 10/01/15 18:03, Eric Blake wrote: >>> [meta-comment] >>> >>> On 10/01/2015 06:14 AM, Marc Marí wrote: >>>> Implementation of the FW CFG DMA interface. >>

Re: [Qemu-devel] QEMU fw_cfg DMA interface

2015-10-01 Thread Laszlo Ersek
On 10/01/15 18:11, Eric Blake wrote: > On 10/01/2015 10:03 AM, Eric Blake wrote: >> [meta-comment] >> >> On 10/01/2015 06:14 AM, Marc Marí wrote: >>> Implementation of the FW CFG DMA interface. >> >> The subject line is missing "v4" and "0/7". Also, the cover letter is >> missing a diffstat. That

Re: [Qemu-devel] QEMU fw_cfg DMA interface

2015-10-01 Thread Laszlo Ersek
On 10/01/15 18:03, Eric Blake wrote: > [meta-comment] > > On 10/01/2015 06:14 AM, Marc Marí wrote: >> Implementation of the FW CFG DMA interface. > > The subject line is missing "v4" and "0/7". Also, the cover letter is > missing a diffstat. That makes it harder to see from the cover letter > wh

Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

2015-09-07 Thread Laszlo Ersek
On 09/07/15 13:08, Gerd Hoffmann wrote: > Hi, > >> It's just simplicity. If you want to read a few times from the same >> field (like in ACPI tables, read the data size and then the data), you >> need a way to enable and disable the selector and manage the current >> offset for that entry. This

[PATCH v5 2/2] devicetree: document ARM bindings for QEMU's Firmware Config interface

2015-01-07 Thread Laszlo Ersek
ral spot to keep the fw_cfg description in. Suggested-by: Peter Maydell Signed-off-by: Laszlo Ersek Acked-by: Arnd Bergmann --- Notes: v5: - The data register has no endianness at all, because it doesn't transfer integers (unlike the selector register) -- it transfers

[PATCH v5 1/2] devicetree: document the "qemu" and "virtio" vendor prefixes

2015-01-07 Thread Laszlo Ersek
tio-v1.0-csprd01.html [3] http://en.wikipedia.org/wiki/OASIS_%28organization%29 Suggested-by: Mark Rutland Suggested-by: Arnd Bergmann Signed-off-by: Laszlo Ersek Acked-by: Arnd Bergmann --- Notes: v5: - no changes v4: - no changes v3: - no changes v2: -

[PATCH v5 0/2] devicetree: document ARM bindings for QEMU's Firmware Config interface

2015-01-07 Thread Laszlo Ersek
Relative to v4, patch #1 is left unchanged. The two-character change in patch #2 is documented in its notes section. Thanks & sorry about the many rounds! Laszlo Laszlo Ersek (2): devicetree: document the "qemu" and "virtio" vendor prefixes devicetree: document

Re: [PATCH v4 0/2] devicetree: document ARM bindings for QEMU's Firmware Config interface

2015-01-07 Thread Laszlo Ersek
On 01/07/15 16:43, Rob Herring wrote: > On Wed, Dec 17, 2014 at 2:49 PM, Laszlo Ersek wrote: >> The qemu patchset has been turned upside down on qemu-devel during >> review (many thanks for that!); one outcome is that now both the >> selector and the data registers are big en

[PATCH v4 1/2] devicetree: document the "qemu" and "virtio" vendor prefixes

2014-12-17 Thread Laszlo Ersek
tio-v1.0-csprd01.html [3] http://en.wikipedia.org/wiki/OASIS_%28organization%29 Suggested-by: Mark Rutland Suggested-by: Arnd Bergmann Signed-off-by: Laszlo Ersek --- Notes: v4: - no changes v3: - no changes v2: - new in v2 [Mark Rutland, Arnd Bergmann] Documentat

[PATCH v4 2/2] devicetree: document ARM bindings for QEMU's Firmware Config interface

2014-12-17 Thread Laszlo Ersek
ral spot to keep the fw_cfg description in. Suggested-by: Peter Maydell Signed-off-by: Laszlo Ersek --- Notes: v4: - selector and data registers are big endian - spell out that the data register must be accessed at its offset 0 v3: - advertise the exact size of the regi

[PATCH v4 0/2] devicetree: document ARM bindings for QEMU's Firmware Config interface

2014-12-17 Thread Laszlo Ersek
The qemu patchset has been turned upside down on qemu-devel during review (many thanks for that!); one outcome is that now both the selector and the data registers are big endian. This series has been updated accordingly. Thanks Laszlo Laszlo Ersek (2): devicetree: document the "qemu

[PATCH v3 1/2] devicetree: document the "qemu" and "virtio" vendor prefixes

2014-12-10 Thread Laszlo Ersek
tio-v1.0-csprd01.html [3] http://en.wikipedia.org/wiki/OASIS_%28organization%29 Suggested-by: Mark Rutland Suggested-by: Arnd Bergmann Signed-off-by: Laszlo Ersek --- Notes: v3: - no changes v2: - new in v2 [Mark Rutland, Arnd Bergmann] Documentation/devicetree/bindings/vend

[PATCH v3 0/2] devicetree: document ARM bindings for QEMU's Firmware Config interface

2014-12-10 Thread Laszlo Ersek
Addressing v2 comments from Peter Maydell and Arnd Bergmann. Also documenting the new 64-bit wide data register, and possibility for future extensions. Changes are noted on each patch. Laszlo Ersek (2): devicetree: document the "qemu" and "virtio" vendor prefixes devi

[PATCH v3 2/2] devicetree: document ARM bindings for QEMU's Firmware Config interface

2014-12-10 Thread Laszlo Ersek
ral spot to keep the fw_cfg description in. Suggested-by: Peter Maydell Signed-off-by: Laszlo Ersek --- Notes: v3: - advertise the exact size of the region in the DTB [Peter Maydell, Arnd Bergmann] - update to 64-bit wide data register - describe corresponding new region l

Re: [kernel PATCH v2 2/2] devicetree: document ARM bindings for QEMU's Firmware Config interface

2014-12-05 Thread Laszlo Ersek
On 12/05/14 19:57, Peter Maydell wrote: > On 30 November 2014 at 16:51, Laszlo Ersek wrote: >> +Example: >> + >> +/ { >> + #size-cells = <0x2>; >> + #address-cells = <0x2>; >> + >> + fw-cfg@902 { >> +

[kernel PATCH v2 0/2] devicetree: document ARM bindings for QEMU's Firmware Config interface

2014-11-30 Thread Laszlo Ersek
V2 seeks to address comments raised in the v1 review. Changes are broken out per patch, as git notes. Thanks Laszlo Laszlo Ersek (2): devicetree: document the "qemu" and "virtio" vendor prefixes devicetree: document ARM bindings for QEMU's Firmware Config interface

[kernel PATCH v2 2/2] devicetree: document ARM bindings for QEMU's Firmware Config interface

2014-11-30 Thread Laszlo Ersek
ral spot to keep the fw_cfg description in. Suggested-by: Peter Maydell Signed-off-by: Laszlo Ersek --- Notes: v2: - more info on what the fw_cfg device is used for, versioning, blobs etc [Mark Rutland] - drop generic statements about DTB [Mark Rutland] - drop uint64_t la

[kernel PATCH v2 1/2] devicetree: document the "qemu" and "virtio" vendor prefixes

2014-11-30 Thread Laszlo Ersek
tio-v1.0-csprd01.html [3] http://en.wikipedia.org/wiki/OASIS_%28organization%29 Suggested-by: Mark Rutland Suggested-by: Arnd Bergmann Signed-off-by: Laszlo Ersek --- Notes: v2: - new in v2 [Mark Rutland, Arnd Bergmann] Documentation/devicetree/bindings/vendor-prefixes.txt | 2 ++ 1 file

Re: [kernel PATCH] devicetree: document ARM bindings for QEMU's Firmware Config interface

2014-11-28 Thread Laszlo Ersek
On 11/28/14 14:33, Mark Rutland wrote: > On Fri, Nov 28, 2014 at 01:22:29PM +0000, Laszlo Ersek wrote: >> On 11/28/14 13:59, Arnd Bergmann wrote: >>> We don't normally list contiguous registers separately. Maybe just round >>> up to one page and make the register

Re: [kernel PATCH] devicetree: document ARM bindings for QEMU's Firmware Config interface

2014-11-28 Thread Laszlo Ersek
On 11/28/14 14:17, Mark Rutland wrote: > Hi, > > On Fri, Nov 28, 2014 at 12:26:44PM +0000, Laszlo Ersek wrote: >> Peter Maydell suggested that we describe new devices / DTB nodes in the >> kernel Documentation tree that we expose to arm "virt" guests in QEMU. &

Re: [kernel PATCH] devicetree: document ARM bindings for QEMU's Firmware Config interface

2014-11-28 Thread Laszlo Ersek
On 11/28/14 13:59, Arnd Bergmann wrote: > On Friday 28 November 2014 13:26:44 Laszlo Ersek wrote: >> +Example: >> + >> +/ { >> + #size-cells = <0x2>; >> + #address-cells = <0x2>; >> + >> + fw-cfg@902 { >> +

[kernel PATCH] devicetree: document ARM bindings for QEMU's Firmware Config interface

2014-11-28 Thread Laszlo Ersek
ral spot to keep the fw_cfg description in. Suggested-by: Peter Maydell Signed-off-by: Laszlo Ersek --- Documentation/devicetree/bindings/arm/fw-cfg.txt | 47 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/fw-cfg.txt diff -