qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "René Rebe" <rene@exactcode.de>
To: qemu-devel@nongnu.org, qemu@emutex.com
Subject: Re: [Qemu-devel] Preliminary patch to implement ehci
Date: Tue, 13 Jan 2009 18:59:53 +0100	[thread overview]
Message-ID: <496CD699.9020704@exactcode.de> (raw)
In-Reply-To: <52r2h45ejjl3197srdp75hlcf0hj1uegd1@4ax.com>

Hi Mark,

I started to add your EHCI patch to our T2 SDE KVM package:

  http://www.t2-project.org/packages/kvm.html

Which includes some re-diffing to current KVM HEAD:

  
http://svn.exactcode.de/t2/trunk/package/emulators/kvm/99-ehci.patch.disabled

It's named .disabled as it's currently not yet built by default as
it did not yet work for me.

I'll keep reviewing it as a functional USB 2 controller would
greatly help my debugging needs.

PS: The above package also contains the Mactel patches from
Alexander Graf, forward ported to current Qemu/KVM HEAD.
Cherry picking welcome.

  René

Mark Burkley wrote:
> On Sat, 01 Nov 2008 13:50:00 -0700, you wrote:
>
>   
>> I just tried EHCI patch on top of latest KVM/QEMU.
>> XP just hangs at boot.
>>
>> Here is the debug output from EHCI.
>>
>> 000.000 ehci init : registering USB ports with no device attached
>> 000.000 Alloc new timer for 0x1f26fa0
>> 000.000 ehci init : registering MMIO size 4096
>> 000.000 *** ehci init : under development 16-OCT-08 ***
>>
>> 251.048 ehci_map: region 0, addr F0000000, size 4096, s->mem 00000068
>> 395.068 ehci_map: region 0, addr F0000000, size 4096, s->mem 00000068
>> 300.331 ehci_map: region 0, addr F0000000, size 4096, s->mem 00000068
>> 002.163 mem_readl : addr=0x00000000, val=0x01000020
>> 000.117 mem_readb : addr=0x00000009, val=68
>> 000.178 mem_readl : addr=0x00000020, val=0x00080000
>> 000.020 mem_writel : USBCMD resetting ...
>> 000.010 mem_writel : USBCMD reset done, clear reset request bit
>> 000.005 mem_writel : addr=0x00000020, val=0x00080000
>> 000.015 mem_readl : addr=0x00000020, val=0x00080000
>> 000.016 mem_readl : addr=0x00000004, val=0x00000004
>> 000.017 mem_writel : addr=0x00000038, val=0x00000000
>> 000.025 mem_writel : addr=0x00000034, val=0x00000000
>> 000.111 mem_writel : addr=0x00000034, val=0x0193B000
>> 000.017 mem_writel : addr=0x00000038, val=0x0193C002
>> 000.074 mem_writel : addr=0x00000060, val=0x00000001
>> 000.016 mem_readl : addr=0x00000020, val=0x00080000
>> 000.017 mem_writel : addr=0x00000020, val=0x00010000
>> 000.017 mem_readl : addr=0x00000020, val=0x00010000
>> 000.016 mem_writel : USBCMD run, clear halt
>> 000.011 mem_writel : addr=0x00000020, val=0x00010001
>> 504.026 mem_readl : addr=0x00000020, val=0x00010001
>> 000.084 mem_readl : addr=0x00000028, val=0x0000003B
>> 510.650 mem_readl : addr=0x00000020, val=0x00010001
>> 000.077 mem_readl : addr=0x00000028, val=0x0000003B
>> 510.544 mem_readl : addr=0x00000020, val=0x00010001
>> 000.067 mem_readl : addr=0x00000028, val=0x0000003B
>> 324.302 WARNING - EHCI skipped 10 frames
>> 960.583 WARNING - EHCI skipped 4 frames
>> 019.186 WARNING - EHCI skipped 10 frames
>> 819.797 WARNING - EHCI skipped 3 frames
>> 023.364 WARNING - EHCI skipped 1 frames
>>     
>
> Sorry for delayed reply.  I tried but I can't reproduce this.  All the
> above output looks normal.  But it seems XP just stops reading the
> device for some reason.  Is your PCI configuration different to me or
> something like that?
>
> Mark
>   
-- 
  René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
  http://exactcode.de | http://t2-project.org | http://rene.rebe.name

  reply	other threads:[~2009-01-13 18:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1KqsdV-0000r9-5B@monty-python.gnu.org>
2008-10-17 19:42 ` [Qemu-devel] Preliminary patch to implement ehci Mark Burkley
2008-10-27  8:44   ` Mark Burkley
2008-10-27 14:00     ` Anthony Liguori
2008-10-27 14:27       ` Glauber Costa
2008-10-27 15:26         ` [Qemu-devel] " Jan Kiszka
2008-10-27 15:29       ` [Qemu-devel] " Mark Burkley
2008-10-30 16:43       ` Mark Burkley
2008-10-30 17:17         ` Anthony Liguori
2008-10-31 20:54           ` Max Krasnyansky
2008-11-01 10:49             ` Mark Burkley
2008-11-01 20:01             ` Max Krasnyansky
2008-11-01 20:50           ` Max Krasnyansky
2008-11-05  9:52             ` Mark Burkley
2009-01-13 17:59               ` René Rebe [this message]
2009-03-02  7:16   ` Xin, Xiaohui

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=496CD699.9020704@exactcode.de \
    --to=rene@exactcode.de \
    --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).