From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfVUP-0000g4-0g for qemu-devel@nongnu.org; Mon, 03 Dec 2012 07:51:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfVUJ-0007eL-9K for qemu-devel@nongnu.org; Mon, 03 Dec 2012 07:51:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfVUJ-0007dx-1D for qemu-devel@nongnu.org; Mon, 03 Dec 2012 07:51:07 -0500 Message-ID: <50BCA034.2090301@redhat.com> Date: Mon, 03 Dec 2012 13:51:00 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1354153398-13569-1-git-send-email-peter.crosthwaite@xilinx.com> <20121129020041.GB3127@walimis-DELL> <20121203120309.GD6029@pek-lwang0-d1> In-Reply-To: <20121203120309.GD6029@pek-lwang0-d1> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: walimis Cc: Peter Crosthwaite , john.williams@xilinx.com, david.holsgrove@xilinx.com, qemu-devel@nongnu.org Hi, > As said in another mail, I found that the root cause is that xilinx_zynq has > two EHCI controller. If we use usb-storage disk, the disk will be attached to > the second EHCI controller, which the kernel uses the first EHCI controller > by default. For the linux kernel it shouldn't matter where the usb stick is connected. Assuming it finds both ehci controllers. Does it? > For now, qemu doesn't support two EHCI controller, could we remove the second > EHCI from xilinx_zynq? Two controllers should work just fine. I'd suggest to find the root cause instead of doctoring like this. ehci + usb core are fine with two controllers & busses, maybe the arch plumbing (device tree?) misses something so the linux kernel doesn't find the second ehci controller. cheers, Gerd