Re: pci-sysfs resource mmap broken

From: Benjamin Herrenschmidt
Date: Tue Apr 26 2005 - 23:43:22 EST


On Tue, 2005-04-26 at 21:28 -0700, David S. Miller wrote:
> On Wed, 27 Apr 2005 14:30:21 +1000
> Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > True, but then, I tend to prefer you idea of a CPU view ... so my new
> > "proposal" is something like pci_resource_to_user() implementation.
> > Anyway, wait a bit so I can polish this patch and tell me what you
> > think :)
>
> I know that in particular I don't need to tell you this Ben,
> but just in case please make sure it handles the 64-bit
> kernel 32-bit userspace properly :-)

Well, I'm not changing /proc here, it will stay broken, but sysfs
already always exposes 64 bits and I won't change this. I'm also making
sure that can deal with 32 bits kernels with >32 bits IO space.

> I'm very happy someone is working on this issue.
> So don't get discouraged :)

Ok, cool. Please comment on my email/patch (coming real soon now) as
it's really more an RFC than a final fix at this point.

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/