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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Benjamin Herrenschmidt
Date: Thursday, August 19, 2010 - 2:51 pm

On Thu, 2010-08-19 at 23:50 +0900, FUJITA Tomonori wrote:

No it's not. It has one and only one meaning which is the mask defining
where the coherent memory can come from for that device. Nobody cares if
the device can do more and has been "clipped" at set_coherent_dma_mask()
time by the bus. This is not useful information.

So I beleive the arch should hook the later and modify the mask as it
gets applied -once-.


Well, max_direct_dma_addr used on powerpc is a bit nasty because it
doesn't necessarily represent a power of 2, so a mask is no good here
indeed.


Ben.


--
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)