Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Krzysztof Halasa
Date: Thursday, August 19, 2010 - 9:53 am

FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> writes:


Well, I think it may be the only really correct solution, and in fact
it's arch-independent.

The coherent_dma_mask would mean one thing: address space shared between
the CPU(s) and the device.
This usually equals device's address space - only because CPU and
bridges next to it have wide (logical) address busses. It's not always
the case, though, and may be not the case on any arch.

We should make sure we got it right (including drivers), since any
reduction of the dma*mask would be irreversible (new masks would be
ANDed with the existing masks).


Definitely, if possible. BTW the dmabounce (and equivalent code on other
archs, including probably swiotlb on x86-64) could probably be merged as
well. I don't know the internals very well, though. At least it may be
worth it looking at them.


Not sure. Which bus? There could be many :-)
In practice - 64-bit PCIe -> 32-bit PCI -> 24-bit ISA - etc.
Or, like with IXP/PXA - 26-bit PCI -> 32-bit device.


That would be ideal. Buses work on all archs the same after all.
-- 
Krzysztof Halasa
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Krzysztof Halasa, (Tue Aug 10, 1:36 pm)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), FUJITA Tomonori, (Tue Aug 10, 7:06 pm)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Russell King - ARM Linux, (Wed Aug 11, 12:25 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), FUJITA Tomonori, (Thu Aug 12, 11:23 pm)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Russell King - ARM Linux, (Fri Aug 13, 2:54 pm)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), FUJITA Tomonori, (Sat Aug 14, 2:30 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Russell King - ARM Linux, (Sat Aug 14, 11:46 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), FUJITA Tomonori, (Sat Aug 14, 10:42 pm)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Russell King - ARM Linux, (Sun Aug 15, 1:23 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), FUJITA Tomonori, (Sun Aug 15, 8:55 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Krzysztof Halasa, (Mon Aug 16, 4:29 pm)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), FUJITA Tomonori, (Thu Aug 19, 1:51 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Benjamin Herrenschmidt, (Thu Aug 19, 3:31 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), FUJITA Tomonori, (Thu Aug 19, 7:50 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Krzysztof Halasa, (Thu Aug 19, 9:53 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Krzysztof Halasa, (Thu Aug 19, 9:56 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), FUJITA Tomonori, (Thu Aug 19, 10:20 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Benjamin Herrenschmidt, (Thu Aug 19, 2:51 pm)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Benjamin Herrenschmidt, (Thu Aug 19, 2:54 pm)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), FUJITA Tomonori, (Thu Aug 26, 4:55 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), FUJITA Tomonori, (Thu Aug 26, 6:54 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Krzysztof Halasa, (Thu Aug 26, 9:02 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), Russell King - ARM Linux, (Thu Aug 26, 10:57 am)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), FUJITA Tomonori, (Thu Aug 26, 5:26 pm)
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?), FUJITA Tomonori, (Thu Aug 26, 11:54 pm)