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

[PATCH v5] QEMU fw_cfg DMA interface documentation

2015-10-08 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 | 52 +++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/fw-cfg.txt b/Docume

[cross-post] QEMU fw_cfg DMA interface

2015-10-08 Thread Marc Marí
Implementation of the FW CFG DMA interface. When running a Linux guest on top of QEMU, using the -kernel option and with fw_cfg DMA Linux boot support, this is the timing improvement for x86: Original QEMU and SeaBIOS QEMU startup time: .080 BIOS startup time: .060 Kernel setup time: .586 Total t

Re: [PATCH v4] QEMU fw_cfg DMA interface documentation

2015-10-05 Thread Stefan Hajnoczi
On Mon, Oct 5, 2015 at 11:06 AM, Marc Marí wrote: > On Mon, 5 Oct 2015 09:20:55 +0100 > Stefan Hajnoczi wrote: > >> On Thu, Oct 1, 2015 at 1:15 PM, Marc Marí wrote: >> > +Additionaly, if the DMA interface is available then a read to the >> > DMA Address +will return 0x51454d5520434647 ("QEMU CFG

Re: [PATCH v4] QEMU fw_cfg DMA interface documentation

2015-10-05 Thread Marc Marí
On Mon, 5 Oct 2015 09:20:55 +0100 Stefan Hajnoczi wrote: > On Thu, Oct 1, 2015 at 1:15 PM, Marc Marí wrote: > > +Additionaly, if the DMA interface is available then a read to the > > DMA Address +will return 0x51454d5520434647 ("QEMU CFG" in > > big-endian format). > > What does this mean? > h

Re: [PATCH v4] QEMU fw_cfg DMA interface documentation

2015-10-05 Thread Stefan Hajnoczi
On Thu, Oct 1, 2015 at 1:15 PM, Marc Marí wrote: > +Additionaly, if the DMA interface is available then a read to the DMA Address > +will return 0x51454d5520434647 ("QEMU CFG" in big-endian format). What does this mean? Stefan -- To unsubscribe from this list: send the line "unsubscribe linux-ke

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. >>> >>> The subject line is missing "v4" and "0/7". Also, t

Re: [Qemu-devel] QEMU fw_cfg DMA interface

2015-10-01 Thread Eric Blake
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. >> >> The subject line is missing "v4" and "0/7". Also, the cover letter is >> missing a diffstat. Tha

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: [Qemu-devel] QEMU fw_cfg DMA interface

2015-10-01 Thread Eric Blake
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 makes it harder to see from the cover letter

Re: [Qemu-devel] QEMU fw_cfg DMA interface

2015-10-01 Thread Eric Blake
[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 what the rest of the series is about. 'git format-pat

[PATCH v4] QEMU fw_cfg DMA interface documentation

2015-10-01 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 | 52 +++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/fw-cfg.txt b/Docume

QEMU fw_cfg DMA interface

2015-10-01 Thread Marc Marí
Implementation of the FW CFG DMA interface. When running a Linux guest on top of QEMU, using the -kernel options, this is the timing improvement for x86: QEMU commit b2312c6 and SeaBIOS commit 423542e QEMU startup time: .080 BIOS startup time: .060 Kernel setup time: .586 Total time: .726 QEMU w

[PATCH v3] QEMU fw_cfg DMA interface documentation

2015-09-18 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 | 49 +++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/fw-cfg.txt b/Docume

QEMU fw_cfg DMA interface

2015-09-18 Thread Marc Marí
Implementation of the FW CFG DMA interface. When running a Linux guest on top of QEMU, using the -kernel options, this is the timing improvement for x86: QEMU commit 16a1b6e and SeaBIOS commit e4d2b8c QEMU startup time: .080 BIOS startup time: .060 Kernel setup time: .586 Total time: .726 QEMU w

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

QEMU fw_cfg DMA interface

2015-08-31 Thread Marc Marí
Implementation of the FW CFG DMA interface. When running a Linux guest on top of QEMU, using the -kernel options, this is the timing improvement for x86: QEMU commit 090d0bf and SeaBIOS commit 2fc20dc QEMU startup time: .078 BIOS startup time: .060 Kernel setup time: .578 Total time: .716 QEMU w

Re: QEMU fw_cfg DMA interface

2015-08-06 Thread Marc Marí
On Thu, 6 Aug 2015 11:30:43 -0400 "Kevin O'Connor" wrote: > On Thu, Aug 06, 2015 at 02:37:45PM +0200, Marc Marí wrote: > > On Thu, 6 Aug 2015 13:27:16 +0100 > > Stefan Hajnoczi wrote: > > > > > On Thu, Aug 6, 2015 at 12:00 PM, Marc Marí > > > wrote: > > > > When running a Linux guest on top of

Re: [PATCH] QEMU fw_cfg DMA interface documentation

2015-08-06 Thread Laszlo Ersek
On 08/06/15 13: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 | 36 > > 1 file changed, 36 insertions(+) > > diff --git a/Documentation/devi

Re: [PATCH] QEMU fw_cfg DMA interface documentation

2015-08-06 Thread Marc Marí
On Thu, 6 Aug 2015 16:55:20 +0200 Laszlo Ersek wrote: > On 08/06/15 16:28, Andrew Jones wrote: > > On Thu, Aug 06, 2015 at 04:19:18PM +0200, Marc Marí wrote: > >> On Thu, 6 Aug 2015 16:08:49 +0200 > >> Andrew Jones wrote: > >> > >>> On Thu, Aug 06, 2015 at 01:03:07PM +0200, Marc Marí wrote: > >>

Re: QEMU fw_cfg DMA interface

2015-08-06 Thread Kevin O'Connor
On Thu, Aug 06, 2015 at 02:37:45PM +0200, Marc Marí wrote: > On Thu, 6 Aug 2015 13:27:16 +0100 > Stefan Hajnoczi wrote: > > > On Thu, Aug 6, 2015 at 12:00 PM, Marc Marí wrote: > > > When running a Linux guest on top of QEMU, using the -kernel > > > options, this is the timing improvement for x86

Re: [PATCH] QEMU fw_cfg DMA interface documentation

2015-08-06 Thread Laszlo Ersek
On 08/06/15 16:28, Andrew Jones wrote: > On Thu, Aug 06, 2015 at 04:19:18PM +0200, Marc Marí wrote: >> On Thu, 6 Aug 2015 16:08:49 +0200 >> Andrew Jones wrote: >> >>> On Thu, Aug 06, 2015 at 01:03:07PM +0200, Marc Marí wrote: Add fw_cfg DMA interface specfication in the fw_cfg documentation.

Re: [PATCH] QEMU fw_cfg DMA interface documentation

2015-08-06 Thread Andrew Jones
On Thu, Aug 06, 2015 at 04:19:18PM +0200, Marc Marí wrote: > On Thu, 6 Aug 2015 16:08:49 +0200 > Andrew Jones wrote: > > > On Thu, Aug 06, 2015 at 01:03:07PM +0200, Marc Marí wrote: > > > Add fw_cfg DMA interface specfication in the fw_cfg documentation. > > > > > > Signed-off-by: Marc Marí > >

Re: [PATCH] QEMU fw_cfg DMA interface documentation

2015-08-06 Thread Andrew Jones
On Thu, Aug 06, 2015 at 01:03:07PM +0200, 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 | 36 > > 1 file changed, 36 insertions(+) > > diff --g

Re: [PATCH] QEMU fw_cfg DMA interface documentation

2015-08-06 Thread Marc Marí
On Thu, 6 Aug 2015 16:08:49 +0200 Andrew Jones wrote: > On Thu, Aug 06, 2015 at 01:03:07PM +0200, 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 | 36 > > +

Re: QEMU fw_cfg DMA interface

2015-08-06 Thread Stefan Hajnoczi
On Thu, Aug 6, 2015 at 1:37 PM, Marc Marí wrote: > On Thu, 6 Aug 2015 13:27:16 +0100 > Stefan Hajnoczi wrote: > >> On Thu, Aug 6, 2015 at 12:00 PM, Marc Marí wrote: >> > When running a Linux guest on top of QEMU, using the -kernel >> > options, this is the timing improvement for x86: >> > >> > Q

Re: QEMU fw_cfg DMA interface

2015-08-06 Thread Marc Marí
On Thu, 6 Aug 2015 13:27:16 +0100 Stefan Hajnoczi wrote: > On Thu, Aug 6, 2015 at 12:00 PM, Marc Marí wrote: > > When running a Linux guest on top of QEMU, using the -kernel > > options, this is the timing improvement for x86: > > > > QEMU commit 2be4f242b50a8 and SeaBIOS commit 908a58c1d5ff > >

Re: [PATCH] QEMU fw_cfg DMA interface documentation

2015-08-06 Thread Stefan Hajnoczi
On Thu, Aug 6, 2015 at 1:22 PM, Laszlo Ersek wrote: > On 08/06/15 14:12, Stefan Hajnoczi wrote: >> On Thu, Aug 6, 2015 at 12:03 PM, Marc Marí wrote: >>> Add fw_cfg DMA interface specfication in the fw_cfg documentation. >>> >>> Signed-off-by: Marc Marí >>> --- >>> Documentation/devicetree/bindi

Re: QEMU fw_cfg DMA interface

2015-08-06 Thread Stefan Hajnoczi
On Thu, Aug 6, 2015 at 12:00 PM, Marc Marí wrote: > When running a Linux guest on top of QEMU, using the -kernel options, this > is the timing improvement for x86: > > QEMU commit 2be4f242b50a8 and SeaBIOS commit 908a58c1d5ff > QEMU startup time: .078 > BIOS startup time: .060 > Kernel setup time:

Re: [PATCH] QEMU fw_cfg DMA interface documentation

2015-08-06 Thread Laszlo Ersek
On 08/06/15 14:12, Stefan Hajnoczi wrote: > On Thu, Aug 6, 2015 at 12:03 PM, 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 | 36 >> >> 1 fi

Re: [PATCH] QEMU fw_cfg DMA interface documentation

2015-08-06 Thread Stefan Hajnoczi
On Thu, Aug 6, 2015 at 12:03 PM, 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 | 36 > > 1 file changed, 36 insertions(+) > > diff --git a/Docum

[PATCH] QEMU fw_cfg DMA interface documentation

2015-08-06 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 | 36 1 file changed, 36 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fw-cfg.txt b/Documentation/devicet

QEMU fw_cfg DMA interface

2015-08-06 Thread Marc Marí
Implementation of the FW CFG DMA interface. When running a Linux guest on top of QEMU, using the -kernel options, this is the timing improvement for x86: QEMU commit 2be4f242b50a8 and SeaBIOS commit 908a58c1d5ff QEMU startup time: .078 BIOS startup time: .060 Kernel setup time: .578 Total time: .