Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

2015-09-10 Thread Marc Marí
On Tue, 8 Sep 2015 12:46:08 -0400 "Kevin O'Connor" wrote: > On Mon, Sep 07, 2015 at 01:08:29PM +0200, Gerd Hoffmann wrote: > > > 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 ena

Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

2015-09-08 Thread Kevin O'Connor
On Mon, Sep 07, 2015 at 01:08:29PM +0200, Gerd Hoffmann wrote: > > 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 t

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

Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

2015-09-07 Thread Gerd Hoffmann
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 is already provided with the "old" > interface.

Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

2015-09-02 Thread Marc Marí
On Wed, 2 Sep 2015 09:20:12 +0100 Stefan Hajnoczi wrote: > On Mon, Aug 31, 2015 at 10:11 AM, 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 | 51 > > ++

Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

2015-09-02 Thread Stefan Hajnoczi
On Mon, Aug 31, 2015 at 10:11 AM, 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 | 51 > +++- > 1 file changed, 50 insertions(+), 1 deletion(-) > > di

[PATCH v2] QEMU fw_cfg DMA interface documentation

2015-08-31 Thread Marc Marí
Add fw_cfg DMA interface specfication in the fw_cfg documentation. Signed-off-by: Marc Marí --- Documentation/devicetree/bindings/arm/fw-cfg.txt | 51 +++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/fw-cfg.txt b/Docume