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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Russell King - ARM Linux
Date: Saturday, August 14, 2010 - 11:46 am

On Sat, Aug 14, 2010 at 06:30:37PM +0900, FUJITA Tomonori wrote:

So what happens if you use a driver which uses dma_alloc_coherent()
directly?  Should the driver really be passed memory which is
inaccessible to the device because its outside the host bridge PCI
window?

No, this is clearly wrong, so this patch doesn't fix anything.  It's
a bodge, nothing more.  The real solution is to have _both_ masks
both reduced down according to the host bridge, as we used to do.

So I suggest 6fee48c is reverted so that these platforms don't regress
for -rc1.

As I said when you sent the originally patch, it _looked_ okay, but I
don't have any way to test it.  It seems from testing (which
unfortunately only seems to only happen after patches hit mainline)
that it is not okay after all.
--
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)