[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

[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í <mar...@redhat.com> --- Documentation/devicetree/bindings/arm/fw-cfg.txt | 52 +++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindin

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 <stefa...@gmail.com> wrote: > On Thu, Oct 1, 2015 at 1:15 PM, Marc Marí <mar...@redhat.com> wrote: > > +Additionaly, if the DMA interface is available then a read to the > > DMA Address +will return 0x51454d5520434647 (&

[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í <mar...@redhat.com> --- Documentation/devicetree/bindings/arm/fw-cfg.txt | 52 +++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindin

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

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

[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í <mar...@redhat.com> --- Documentation/devicetree/bindings/arm/fw-cfg.txt | 49 +++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindin

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),

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 <stefa...@gmail.com> wrote: > On Mon, Aug 31, 2015 at 10:11 AM, Marc Marí <mar...@redhat.com> wrote: > > Add fw_cfg DMA interface specfication in the fw_cfg documentation. > > > > Signed-off

[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í <mar...@redhat.com> --- Documentation/devicetree/bindings/arm/fw-cfg.txt | 51 +++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindin

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

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:

Re: QEMU fw_cfg DMA interface

2015-08-06 Thread Marc Marí
On Thu, 6 Aug 2015 11:30:43 -0400 Kevin O'Connor ke...@koconnor.net 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 stefa...@gmail.com wrote: On Thu, Aug 6, 2015 at 12:00 PM, Marc Marí mar...@redhat.com wrote

[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í mar...@redhat.com --- Documentation/devicetree/bindings/arm/fw-cfg.txt | 36 1 file changed, 36 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fw-cfg.txt b

Re: QEMU fw_cfg DMA interface

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

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 drjo...@redhat.com 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í mar...@redhat.com --- Documentation/devicetree/bindings/arm

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 ler...@redhat.com 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 drjo...@redhat.com wrote: On Thu, Aug 06, 2015 at 01:03:07PM +0200