Re: [Qemu-devel] Question about hcd-ohci and address_space_translate

2014-05-30 Thread BALATON Zoltan
On Fri, 30 May 2014, Paolo Bonzini wrote: Il 30/05/2014 00:33, BALATON Zoltan ha scritto: usb-ohci: pci-ohci: USB Operational Unassigned mem read 07c9ae00 Unassigned mem read 07c9ae04 [...] Unassigned mem read 07c9ae84 usb-ohci: HCCA read error at 7c9ae00 ohci_die: DMA er

Re: [Qemu-devel] Question about hcd-ohci and address_space_translate

2014-05-30 Thread Paolo Bonzini
Il 30/05/2014 13:32, BALATON Zoltan ha scritto: On Fri, 30 May 2014, Paolo Bonzini wrote: Il 30/05/2014 00:33, BALATON Zoltan ha scritto: usb-ohci: pci-ohci: USB Operational Unassigned mem read 07c9ae00 Unassigned mem read 07c9ae04 [...] Unassigned mem read 07c9ae84 usb

Re: [Qemu-devel] Question about hcd-ohci and address_space_translate

2014-05-30 Thread BALATON Zoltan
On Fri, 30 May 2014, Paolo Bonzini wrote: Il 30/05/2014 00:33, BALATON Zoltan ha scritto: usb-ohci: pci-ohci: USB Operational Unassigned mem read 07c9ae00 Unassigned mem read 07c9ae04 [...] Unassigned mem read 07c9ae84 usb-ohci: HCCA read error at 7c9ae00 ohci_die: DMA e

Re: [Qemu-devel] Question about hcd-ohci and address_space_translate

2014-05-30 Thread Paolo Bonzini
Il 30/05/2014 00:33, BALATON Zoltan ha scritto: usb-ohci: pci-ohci: USB Operational Unassigned mem read 07c9ae00 Unassigned mem read 07c9ae04 [...] Unassigned mem read 07c9ae84 usb-ohci: HCCA read error at 7c9ae00 ohci_die: DMA error The read happens through ohci_read_hc

Re: [Qemu-devel] Question about hcd-ohci and address_space_translate

2014-05-30 Thread BALATON Zoltan
On Fri, 30 May 2014, BALATON Zoltan wrote: On Fri, 30 May 2014, Paolo Bonzini wrote: Il 30/05/2014 00:33, BALATON Zoltan ha scritto: Can you get the output of "info mtree" at the point where the unassigned access happens? More exactly at the beginning of ohci_read_hcca it is the following. (No

Re: [Qemu-devel] Question about hcd-ohci and address_space_translate

2014-05-30 Thread BALATON Zoltan
On Fri, 30 May 2014, Paolo Bonzini wrote: > Il 30/05/2014 00:33, BALATON Zoltan ha scritto: > Can you get the output of "info mtree" at the point where the unassigned > access happens? memory - (prio 0, RW): system -07ff (prio 0, RW):

Re: [Qemu-devel] Question about hcd-ohci and address_space_translate

2014-05-29 Thread Paolo Bonzini
Il 30/05/2014 00:33, BALATON Zoltan ha scritto: The address is in the ram area but these functions still think they are unassigned. Is this a bug? If it is how could it be fixed? Can you get the output of "info mtree" at the point where the unassigned access happens? Paolo

[Qemu-devel] Question about hcd-ohci and address_space_translate

2014-05-29 Thread BALATON Zoltan
Hello, I'm trying to port a USB driver from coreboot to OpenBIOS to fix keyboard in qemu-system-ppc64 -M mac99. The driver sets up a HCCA struct in RAM and writes its address into the mmio mapped area of the card but then QEMU complains that it cannot read this struct and I don't understand wh