[PATCH] ppc/ppc64: Fix pci mmap via sysfs

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Jun 29 09:53:59 EST 2005


> > This implement the change to /proc and sysfs PCI mmap functions that we
> > discussed a while ago, that is adding an arch optional
> > pci_resource_to_user() to allow munging on the exposed value of PCI
> > resources to userland and thus hiding kernel internal values. It also
> > implements using of that callback to sanitize exposed values on ppc an
> > ppc64, thus fixing mmap of PCI devices via /proc and sysfs.
> 
> Hm, did I just send the right one to Linus?

I'll check & send any additional fix that may be necessary (I just got
noticed that it breaks iSeries ... :)

Ben.





More information about the Linuxppc64-dev mailing list