Re: USB transfer_buffer allocations on 64bit systems

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Monday, April 12, 2010 - 5:47 am

On Mon, Apr 12, 2010 at 02:32:38PM +0200, Daniel Mack wrote:

Where did it oops?


The system seems to set up the soft iotlb correctly.

[    0.468472] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.468539] Placing 64MB software IO TLB between ffff880020000000 - ffff880024000000
[    0.468610] software IO TLB at phys 0x20000000 - 0x24000000

Also if that was wrong a lot more things would go wrong.

I would suspect the driver. Are you sure:

- it sets up it's dma_masks correctly?
- it uses pci_map_single/sg correctly for all transferred data?

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: USB transfer_buffer allocations on 64bit systems, Daniel Mack, (Wed Apr 7, 8:11 am)
Re: USB transfer_buffer allocations on 64bit systems, Daniel Mack, (Wed Apr 7, 8:35 am)
Re: USB transfer_buffer allocations on 64bit systems, Oliver Neukum, (Wed Apr 7, 9:54 am)
Re: USB transfer_buffer allocations on 64bit systems, Daniel Mack, (Wed Apr 7, 10:00 am)
Re: USB transfer_buffer allocations on 64bit systems, Robert Hancock, (Wed Apr 7, 4:55 pm)
Re: USB transfer_buffer allocations on 64bit systems, Oliver Neukum, (Wed Apr 7, 11:09 pm)
Re: USB transfer_buffer allocations on 64bit systems, Daniel Mack, (Thu Apr 8, 4:07 am)
Re: USB transfer_buffer allocations on 64bit systems, Andi Kleen, (Mon Apr 12, 4:53 am)
Re: USB transfer_buffer allocations on 64bit systems, Pedro Ribeiro, (Mon Apr 12, 5:11 am)
Re: USB transfer_buffer allocations on 64bit systems, Andi Kleen, (Mon Apr 12, 5:12 am)
Re: USB transfer_buffer allocations on 64bit systems, Daniel Mack, (Mon Apr 12, 5:32 am)
Re: USB transfer_buffer allocations on 64bit systems, Andi Kleen, (Mon Apr 12, 5:47 am)
Re: USB transfer_buffer allocations on 64bit systems, Daniel Mack, (Mon Apr 12, 5:54 am)
Re: USB transfer_buffer allocations on 64bit systems, Andi Kleen, (Mon Apr 12, 8:43 am)