[SeaBIOS] [PATCH 1/6] sdcard: Move sdcard_set_frequency()/sdcard_set_power() in sdcard.c

2015-08-31 Thread Kevin O'Connor
Just code movement; no code changes. Signed-off-by: Kevin O'Connor --- src/hw/sdcard.c | 116 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/src/hw/sdcard.c b/src/hw/sdcard.c index 8e7e954..bf35277 100644 --- a/src/hw/sdca

[SeaBIOS] [PATCHv2 0/6] Improve sdcard boot menu description

2015-08-31 Thread Kevin O'Connor
This is a respin of a previous series to extend the sdcard boot menu description. Instead of showing the product name and card version, this series shows the product name and card capacity. The card capacity is more likely to mean something to an end-user than a manufacturer's card version. Kevi

[SeaBIOS] [PATCH 6/6] sdcard: Obtain card capacity and report it on the boot menu

2015-08-31 Thread Kevin O'Connor
Signed-off-by: Kevin O'Connor --- src/hw/sdcard.c | 48 +++- 1 file changed, 43 insertions(+), 5 deletions(-) diff --git a/src/hw/sdcard.c b/src/hw/sdcard.c index d5ea40c..d80b473 100644 --- a/src/hw/sdcard.c +++ b/src/hw/sdcard.c @@ -68,6 +68,8 @@ str

[SeaBIOS] [PATCH 5/6] sdcard: Display sdcard product name in boot menu

2015-08-31 Thread Kevin O'Connor
Signed-off-by: Kevin O'Connor --- src/hw/sdcard.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/hw/sdcard.c b/src/hw/sdcard.c index 336314e..d5ea40c 100644 --- a/src/hw/sdcard.c +++ b/src/hw/sdcard.c @@ -408,6 +408,8 @@ sdcard_card_setup(struct sddrive_s *d

[SeaBIOS] [PATCH 4/6] sdcard: Turn card_type into a bitmap and store if card is MMC type

2015-08-31 Thread Kevin O'Connor
Signed-off-by: Kevin O'Connor --- src/hw/sdcard.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/hw/sdcard.c b/src/hw/sdcard.c index 5b3ffb1..336314e 100644 --- a/src/hw/sdcard.c +++ b/src/hw/sdcard.c @@ -139,8 +139,8 @@ struct sddrive_s { }; // S

[SeaBIOS] [PATCH 2/6] sdcard: Move frequency setting into sdcard_card_setup()

2015-08-31 Thread Kevin O'Connor
Signed-off-by: Kevin O'Connor --- src/hw/sdcard.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/hw/sdcard.c b/src/hw/sdcard.c index bf35277..a60fa92 100644 --- a/src/hw/sdcard.c +++ b/src/hw/sdcard.c @@ -355,9 +355,14 @@ sdcard_set_frequency(struct sd

[SeaBIOS] [PATCH 3/6] sdcard: Move drive registration to sdcard_card_setup()

2015-08-31 Thread Kevin O'Connor
Signed-off-by: Kevin O'Connor --- src/hw/sdcard.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/hw/sdcard.c b/src/hw/sdcard.c index a60fa92..5b3ffb1 100644 --- a/src/hw/sdcard.c +++ b/src/hw/sdcard.c @@ -353,8 +353,9 @@ sdcard_set_frequen

Re: [SeaBIOS] [PATCH v2 2/2] Boot Linux using QEMU fw_cfg DMA interface

2015-08-31 Thread Marc Marí
On Mon, 31 Aug 2015 14:07:28 -0400 "Kevin O'Connor" wrote: > On Mon, Aug 31, 2015 at 07:10:37PM +0200, Marc Marí wrote: > > On Mon, 31 Aug 2015 12:46:57 -0400 > > "Kevin O'Connor" wrote: > > > > > On Mon, Aug 31, 2015 at 11:12:02AM +0200, Marc Marí wrote: > > > > Reading Linux from the fw_cfg i

Re: [SeaBIOS] [PATCH v2 2/2] Boot Linux using QEMU fw_cfg DMA interface

2015-08-31 Thread Kevin O'Connor
On Mon, Aug 31, 2015 at 07:10:37PM +0200, Marc Marí wrote: > On Mon, 31 Aug 2015 12:46:57 -0400 > "Kevin O'Connor" wrote: > > > On Mon, Aug 31, 2015 at 11:12:02AM +0200, Marc Marí wrote: > > > Reading Linux from the fw_cfg interface is faster using the DMA > > > interface. For this reason, add a

Re: [SeaBIOS] [PATCH v2 2/2] Boot Linux using QEMU fw_cfg DMA interface

2015-08-31 Thread Marc Marí
On Mon, 31 Aug 2015 12:46:57 -0400 "Kevin O'Connor" wrote: > On Mon, Aug 31, 2015 at 11:12:02AM +0200, Marc Marí wrote: > > Reading Linux from the fw_cfg interface is faster using the DMA > > interface. For this reason, add a Linux loader that can benefit > > from this interface. > > > > Signed-

Re: [SeaBIOS] [PATCH v2 1/2] Add QEMU fw_cfg DMA interface

2015-08-31 Thread Marc Marí
On Mon, 31 Aug 2015 12:18:27 -0400 "Kevin O'Connor" wrote: > On Mon, Aug 31, 2015 at 11:12:01AM +0200, Marc Marí wrote: > > Add support for the new fw_cfg DMA interface. The protocol is > > explained in QEMU documentation. > > Thanks for working on this. > > > Signed-off-by: Marc Marí > > ---

Re: [SeaBIOS] [PATCH v2 2/2] Boot Linux using QEMU fw_cfg DMA interface

2015-08-31 Thread Kevin O'Connor
On Mon, Aug 31, 2015 at 11:12:02AM +0200, Marc Marí wrote: > Reading Linux from the fw_cfg interface is faster using the DMA interface. > For this reason, add a Linux loader that can benefit from this interface. > > Signed-off-by: Marc Marí > --- > src/boot.c| 26 + > src

Re: [SeaBIOS] [PATCH v2 1/2] Add QEMU fw_cfg DMA interface

2015-08-31 Thread Kevin O'Connor
On Mon, Aug 31, 2015 at 11:12:01AM +0200, Marc Marí wrote: > Add support for the new fw_cfg DMA interface. The protocol is explained in > QEMU documentation. Thanks for working on this. > Signed-off-by: Marc Marí > --- > src/fw/paravirt.c | 65 >

[SeaBIOS] [PATCH v2 1/2] Add QEMU fw_cfg DMA interface

2015-08-31 Thread Marc Marí
Add support for the new fw_cfg DMA interface. The protocol is explained in QEMU documentation. Signed-off-by: Marc Marí --- src/fw/paravirt.c | 65 --- src/fw/paravirt.h | 25 + 2 files changed, 83 insertions(+), 7 deletions

[SeaBIOS] [PATCH v2 2/2] Boot Linux using QEMU fw_cfg DMA interface

2015-08-31 Thread Marc Marí
Reading Linux from the fw_cfg interface is faster using the DMA interface. For this reason, add a Linux loader that can benefit from this interface. Signed-off-by: Marc Marí --- src/boot.c| 26 + src/fw/paravirt.c | 84 -

[SeaBIOS] [PATCH v2 0/2] QEMU fw_cfg DMA interface

2015-08-31 Thread Marc Marí
Implement guest-side of the QEMU FW CFG DMA interface for x86 Marc Marí (2): Add QEMU fw_cfg DMA interface Boot Linux using QEMU fw_cfg DMA interface src/boot.c| 26 ++ src/fw/paravirt.c | 147 +++--- src/fw/paravirt.h | 60 ++

[SeaBIOS] 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: [SeaBIOS] [PATCH] megasas: Fix outw, outl argument order

2015-08-31 Thread Hannes Reinecke
On 08/29/2015 08:02 AM, Stefan Weil wrote: > The value is the first argument and the port is the second, > but the code was using the opposite order. > > Cc: Hannes Reinecke > Signed-off-by: Stefan Weil > --- > > The outw statement looks strange, because there is > also an outl statement with t