Thread (7 messages) 7 messages, 3 authors, 2006-11-14

Re: [PATCH/RFC] powerpc: Fix mmap of PCI resource with hack for X

flat view

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2006-11-14 05:16:43
Also in: lkml

On Mon, 2006-11-13 at 21:07 -0800, David Miller wrote:
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Tue, 14 Nov 2006 12:59:54 +1100
quoted
If I "fix" the kernel to do the right thing, that is pass BAR values in
devices and expect BAR values in mmap, then I will break existing X
setups on machines where PCI is not mapped 1:1 (that is mostly CHRP
machines).

The problem I'm fixing in this patch is that while we were providing the
hacked up value in "devices", we were expecting the BAR value in mmap,
and there are apps expecting us to be consistent between the two, thus
the breakage.
Ok, I don't see much alternatives for you then.  I have no real
objections to your patch.
Thanks. Fortunately, it's all going away soon :-)

Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help