* [Qemu-devel] [PATCH] esp: enable busmaster
@ 2012-11-20 17:33 Paolo Bonzini
2012-11-20 17:42 ` [Qemu-devel] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster) Paolo Bonzini
2012-11-21 0:08 ` [Qemu-devel] [PATCH] esp: enable busmaster Kevin O'Connor
0 siblings, 2 replies; 11+ messages in thread
From: Paolo Bonzini @ 2012-11-20 17:33 UTC (permalink / raw)
To: seabios; +Cc: kraxel, qemu-devel
The HBA does DMA, thus we must enable the busmaster bit,
otherwise dma access will fail with recent qemu versions.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
src/esp-scsi.c | 2 ++
1 file modificato, 2 inserzioni(+)
diff --git a/src/esp-scsi.c b/src/esp-scsi.c
index b795012..c43e55b 100644
--- a/src/esp-scsi.c
+++ b/src/esp-scsi.c
@@ -202,6 +202,8 @@ init_esp_scsi(struct pci_device *pci)
pci_bdf_to_bus(bdf), pci_bdf_to_dev(bdf),
pci_bdf_to_fn(bdf), iobase);
+ pci_config_maskw(bdf, PCI_COMMAND, 0, PCI_COMMAND_MASTER);
+
// reset
outb(ESP_CMD_RESET, iobase + ESP_CMD);
--
1.7.12.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster)
2012-11-20 17:33 [Qemu-devel] [PATCH] esp: enable busmaster Paolo Bonzini
@ 2012-11-20 17:42 ` Paolo Bonzini
2012-11-21 1:43 ` Kevin O'Connor
2012-11-21 0:08 ` [Qemu-devel] [PATCH] esp: enable busmaster Kevin O'Connor
1 sibling, 1 reply; 11+ messages in thread
From: Paolo Bonzini @ 2012-11-20 17:42 UTC (permalink / raw)
To: qemu-devel, seabios@seabios.org, Kevin O'Connor
Cc: Anthony Liguori, kraxel
Il 20/11/2012 18:33, Paolo Bonzini ha scritto:
> The HBA does DMA, thus we must enable the busmaster bit,
> otherwise dma access will fail with recent qemu versions.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
As usual we forget to update SeaBIOS. We probably want these two from Gerd:
7d05257 (lsi: enable busmaster, 2012-11-20)
455a7c8 (add acpi pmtimer support, 2012-09-06)
and a matching patch to enable bus master DMA in esp.c (just submitted).
The choice is between committing these three patches on top of 1.7.1, or
just picking the top of the SeaBIOS tree. There hasn't been much action
since 1.7.1 (mostly SeaVGABIOS changes), so I prefer the latter.
Kevin, are you okay with tagging SeaBIOS master as 1.7.2 one of these
days? Other opinions?
Paolo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster)
2012-11-20 17:42 ` [Qemu-devel] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster) Paolo Bonzini
@ 2012-11-21 1:43 ` Kevin O'Connor
2012-11-21 6:43 ` Gerd Hoffmann
2013-01-07 14:29 ` [Qemu-devel] [SeaBIOS] " Gerd Hoffmann
0 siblings, 2 replies; 11+ messages in thread
From: Kevin O'Connor @ 2012-11-21 1:43 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: Anthony Liguori, seabios@seabios.org, qemu-devel, kraxel
On Tue, Nov 20, 2012 at 06:42:25PM +0100, Paolo Bonzini wrote:
> Il 20/11/2012 18:33, Paolo Bonzini ha scritto:
> > The HBA does DMA, thus we must enable the busmaster bit,
> > otherwise dma access will fail with recent qemu versions.
> >
> > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>
> As usual we forget to update SeaBIOS. We probably want these two from Gerd:
>
> 7d05257 (lsi: enable busmaster, 2012-11-20)
> 455a7c8 (add acpi pmtimer support, 2012-09-06)
>
> and a matching patch to enable bus master DMA in esp.c (just submitted).
>
> The choice is between committing these three patches on top of 1.7.1, or
> just picking the top of the SeaBIOS tree. There hasn't been much action
> since 1.7.1 (mostly SeaVGABIOS changes), so I prefer the latter.
>
> Kevin, are you okay with tagging SeaBIOS master as 1.7.2 one of these
> days? Other opinions?
A new release can be produced if desired. Given that there isn't much
new since 1.7.1 I too would prefer to just push forward to 1.7.2.
-Kevin
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster)
2012-11-21 1:43 ` Kevin O'Connor
@ 2012-11-21 6:43 ` Gerd Hoffmann
2013-01-07 14:29 ` [Qemu-devel] [SeaBIOS] " Gerd Hoffmann
1 sibling, 0 replies; 11+ messages in thread
From: Gerd Hoffmann @ 2012-11-21 6:43 UTC (permalink / raw)
To: Kevin O'Connor
Cc: Paolo Bonzini, Anthony Liguori, seabios@seabios.org, qemu-devel
Hi,
> A new release can be produced if desired. Given that there isn't much
> new since 1.7.1 I too would prefer to just push forward to 1.7.2.
Agree. I'll prepare a seabios update pull once the tag is there.
cheers,
Gerd
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [SeaBIOS] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster)
2012-11-21 1:43 ` Kevin O'Connor
2012-11-21 6:43 ` Gerd Hoffmann
@ 2013-01-07 14:29 ` Gerd Hoffmann
2013-01-07 23:34 ` Kevin O'Connor
1 sibling, 1 reply; 11+ messages in thread
From: Gerd Hoffmann @ 2013-01-07 14:29 UTC (permalink / raw)
To: Kevin O'Connor
Cc: Paolo Bonzini, Anthony Liguori, seabios@seabios.org, qemu-devel
Hi,
>> Kevin, are you okay with tagging SeaBIOS master as 1.7.2 one of these
>> days? Other opinions?
>
> A new release can be produced if desired. Given that there isn't much
> new since 1.7.1 I too would prefer to just push forward to 1.7.2.
Ping? Meanwhile 1.4 freeze is in sight (soft freeze in one week, hard
freeze + -rc0 feb 1st).
cheers,
Gerd
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [SeaBIOS] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster)
2013-01-07 14:29 ` [Qemu-devel] [SeaBIOS] " Gerd Hoffmann
@ 2013-01-07 23:34 ` Kevin O'Connor
2013-01-07 23:51 ` Brad Smith
0 siblings, 1 reply; 11+ messages in thread
From: Kevin O'Connor @ 2013-01-07 23:34 UTC (permalink / raw)
To: Gerd Hoffmann
Cc: Paolo Bonzini, Anthony Liguori, seabios@seabios.org, qemu-devel
On Mon, Jan 07, 2013 at 03:29:33PM +0100, Gerd Hoffmann wrote:
> Hi,
>
> >> Kevin, are you okay with tagging SeaBIOS master as 1.7.2 one of these
> >> days? Other opinions?
> >
> > A new release can be produced if desired. Given that there isn't much
> > new since 1.7.1 I too would prefer to just push forward to 1.7.2.
>
> Ping? Meanwhile 1.4 freeze is in sight (soft freeze in one week, hard
> freeze + -rc0 feb 1st).
Lets target Jan 18th for the next SeaBIOS release.
-Kevin
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [SeaBIOS] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster)
2013-01-07 23:34 ` Kevin O'Connor
@ 2013-01-07 23:51 ` Brad Smith
2013-01-07 23:56 ` Kevin O'Connor
2013-01-09 9:15 ` Paolo Bonzini
0 siblings, 2 replies; 11+ messages in thread
From: Brad Smith @ 2013-01-07 23:51 UTC (permalink / raw)
To: Kevin O'Connor
Cc: Paolo Bonzini, Anthony Liguori, seabios@seabios.org,
Gerd Hoffmann, qemu-devel
On Mon, Jan 07, 2013 at 06:34:01PM -0500, Kevin O'Connor wrote:
> On Mon, Jan 07, 2013 at 03:29:33PM +0100, Gerd Hoffmann wrote:
> > Hi,
> >
> > >> Kevin, are you okay with tagging SeaBIOS master as 1.7.2 one of these
> > >> days? Other opinions?
> > >
> > > A new release can be produced if desired. Given that there isn't much
> > > new since 1.7.1 I too would prefer to just push forward to 1.7.2.
> >
> > Ping? Meanwhile 1.4 freeze is in sight (soft freeze in one week, hard
> > freeze + -rc0 feb 1st).
Why is 1.4 being rushed so quick? Is this because 1.3.0 was so broken or
is there something else?
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [SeaBIOS] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster)
2013-01-07 23:51 ` Brad Smith
@ 2013-01-07 23:56 ` Kevin O'Connor
2013-01-08 0:07 ` Brad Smith
2013-01-09 9:15 ` Paolo Bonzini
1 sibling, 1 reply; 11+ messages in thread
From: Kevin O'Connor @ 2013-01-07 23:56 UTC (permalink / raw)
To: Brad Smith
Cc: Paolo Bonzini, Anthony Liguori, seabios@seabios.org,
Gerd Hoffmann, qemu-devel
On Mon, Jan 07, 2013 at 06:51:03PM -0500, Brad Smith wrote:
> On Mon, Jan 07, 2013 at 06:34:01PM -0500, Kevin O'Connor wrote:
> > On Mon, Jan 07, 2013 at 03:29:33PM +0100, Gerd Hoffmann wrote:
> > > Hi,
> > >
> > > >> Kevin, are you okay with tagging SeaBIOS master as 1.7.2 one of these
> > > >> days? Other opinions?
> > > >
> > > > A new release can be produced if desired. Given that there isn't much
> > > > new since 1.7.1 I too would prefer to just push forward to 1.7.2.
> > >
> > > Ping? Meanwhile 1.4 freeze is in sight (soft freeze in one week, hard
> > > freeze + -rc0 feb 1st).
>
> Why is 1.4 being rushed so quick? Is this because 1.3.0 was so broken or
> is there something else?
I don't understand your questions. The 1.4 release is for QEMU and I
don't control its release schedule.
-Kevin
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [SeaBIOS] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster)
2013-01-07 23:56 ` Kevin O'Connor
@ 2013-01-08 0:07 ` Brad Smith
0 siblings, 0 replies; 11+ messages in thread
From: Brad Smith @ 2013-01-08 0:07 UTC (permalink / raw)
To: Kevin O'Connor
Cc: Paolo Bonzini, Anthony Liguori, seabios@seabios.org,
Gerd Hoffmann, qemu-devel
On Mon, Jan 07, 2013 at 06:56:00PM -0500, Kevin O'Connor wrote:
> On Mon, Jan 07, 2013 at 06:51:03PM -0500, Brad Smith wrote:
> > On Mon, Jan 07, 2013 at 06:34:01PM -0500, Kevin O'Connor wrote:
> > > On Mon, Jan 07, 2013 at 03:29:33PM +0100, Gerd Hoffmann wrote:
> > > > Hi,
> > > >
> > > > >> Kevin, are you okay with tagging SeaBIOS master as 1.7.2 one of these
> > > > >> days? Other opinions?
> > > > >
> > > > > A new release can be produced if desired. Given that there isn't much
> > > > > new since 1.7.1 I too would prefer to just push forward to 1.7.2.
> > > >
> > > > Ping? Meanwhile 1.4 freeze is in sight (soft freeze in one week, hard
> > > > freeze + -rc0 feb 1st).
> >
> > Why is 1.4 being rushed so quick? Is this because 1.3.0 was so broken or
> > is there something else?
>
> I don't understand your questions. The 1.4 release is for QEMU and I
> don't control its release schedule.
Of course the 1.4 release is for QEMU, that's pretty obvious. Sorry the
question wasn't necessarily for you. I just noticed what was quoted when
you had replied.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [SeaBIOS] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster)
2013-01-07 23:51 ` Brad Smith
2013-01-07 23:56 ` Kevin O'Connor
@ 2013-01-09 9:15 ` Paolo Bonzini
1 sibling, 0 replies; 11+ messages in thread
From: Paolo Bonzini @ 2013-01-09 9:15 UTC (permalink / raw)
To: Brad Smith
Cc: Anthony Liguori, Kevin O'Connor, seabios@seabios.org,
Gerd Hoffmann, qemu-devel
Il 08/01/2013 00:51, Brad Smith ha scritto:
>>>>> > > >> Kevin, are you okay with tagging SeaBIOS master as 1.7.2 one of these
>>>>> > > >> days? Other opinions?
>>>> > > >
>>>> > > > A new release can be produced if desired. Given that there isn't much
>>>> > > > new since 1.7.1 I too would prefer to just push forward to 1.7.2.
>>> > >
>>> > > Ping? Meanwhile 1.4 freeze is in sight (soft freeze in one week, hard
>>> > > freeze + -rc0 feb 1st).
> Why is 1.4 being rushed so quick? Is this because 1.3.0 was so broken or
> is there something else?
Anthony decides, as release manager.
One reason I recall, is that releases in Mar/Jun/Sep/Dec do not work
well with Fedora and Ubuntu freeze dates. Feb/May/Aug/Nov should work a
little better.
Paolo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] esp: enable busmaster
2012-11-20 17:33 [Qemu-devel] [PATCH] esp: enable busmaster Paolo Bonzini
2012-11-20 17:42 ` [Qemu-devel] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster) Paolo Bonzini
@ 2012-11-21 0:08 ` Kevin O'Connor
1 sibling, 0 replies; 11+ messages in thread
From: Kevin O'Connor @ 2012-11-21 0:08 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: seabios, kraxel, qemu-devel
On Tue, Nov 20, 2012 at 06:33:41PM +0100, Paolo Bonzini wrote:
> The HBA does DMA, thus we must enable the busmaster bit,
> otherwise dma access will fail with recent qemu versions.
Thanks - I applied this.
-Kevin
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2013-01-09 9:15 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-20 17:33 [Qemu-devel] [PATCH] esp: enable busmaster Paolo Bonzini
2012-11-20 17:42 ` [Qemu-devel] SeaBIOS release for QEMU 1.3 (was Re: [PATCH] esp: enable busmaster) Paolo Bonzini
2012-11-21 1:43 ` Kevin O'Connor
2012-11-21 6:43 ` Gerd Hoffmann
2013-01-07 14:29 ` [Qemu-devel] [SeaBIOS] " Gerd Hoffmann
2013-01-07 23:34 ` Kevin O'Connor
2013-01-07 23:51 ` Brad Smith
2013-01-07 23:56 ` Kevin O'Connor
2013-01-08 0:07 ` Brad Smith
2013-01-09 9:15 ` Paolo Bonzini
2012-11-21 0:08 ` [Qemu-devel] [PATCH] esp: enable busmaster Kevin O'Connor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).