qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Bolle <pebolle@tiscali.nl>
To: Mark Burkley <qemu@emutex.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] EHCI emulation module for review
Date: Tue, 12 May 2009 11:32:47 +0200	[thread overview]
Message-ID: <1242120767.7568.18.camel@localhost.localdomain> (raw)
In-Reply-To: <1240874133.28148.62.camel@x41.thuisdomein>

On Tue, 2009-04-28 at 01:15 +0200, Paul Bolle wrote:
> On Fri, 2008-10-31 at 00:05 +0000, Mark Burkley wrote:
> > I just tested with a host usb msd device under FC8 and it works fine
> > with a WinXP target.
> 
> [...]
>
> I should note that after fixing those issues I could get a Fedora 11
> Beta guest to notice the EHCI host controller but it somehow never
> noticed devices I added. I have not yet investigated what is (not) going
> on there.

I pinpointed that one to the fact that the current (for review) code
uses the IRQ pins inconsistently (or however that could best be
described). This seems to fix it for me:

@@ -2013,7 +2030,7 @@ void usb_ehci_init(PCIBus *bus, int devfn)
     ehci->mmio[0x0a] = 0x00;
     ehci->mmio[0x0b] = 0x00;
 
-    ehci->irq = ehci->dev.irq[0];
+    ehci->irq = ehci->dev.irq[3];
 
     // TODO - port registration is going to need an overhaul since ports
     // can be low, full or high speed and are not tied to UHCI or EHCI.   

I guess this isn't an issue with a Windows XP guest because it (somehow)
works around the issue of never receiving interrupts from the EHCI host
controller.

Paul Bolle

  reply	other threads:[~2009-05-12  9:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31  0:05 [Qemu-devel] [PATCH] EHCI emulation module for review Mark Burkley
2008-11-01 11:13 ` Daniel Godás
2008-11-01 22:19   ` Mark Burkley
2009-04-27 23:15 ` Paul Bolle
2009-05-12  9:32   ` Paul Bolle [this message]
2009-05-12 12:36     ` Pantelis Koukousoulas
2009-05-12 12:53       ` Paul Bolle
2009-05-12 13:01         ` Pantelis Koukousoulas
2009-05-12 15:46           ` Paul Bolle
2009-11-11 22:41   ` Michael Trimarchi
2009-11-12 15:23     ` Michael Trimarchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1242120767.7568.18.camel@localhost.localdomain \
    --to=pebolle@tiscali.nl \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu@emutex.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).