Re: [PATCH RFC] PPC: /dev/mem: All RAM is cacheable, not just the kernel's.

2010-10-19 Thread Li Yang
On Tue, Oct 19, 2010 at 6:32 AM, Scott Wood wrote: > If mem= is used on the kernel command line to create reserved regions > for userspace to map using /dev/mem, let it be mapped cacheable as long > as it is within the memory region described in the device tree. > > Signed-off-by: Scott Wood > --

Re: [PATCH RFC] PPC: /dev/mem: All RAM is cacheable, not just the kernel's.

2010-10-18 Thread Kumar Gala
On Oct 18, 2010, at 5:32 PM, Scott Wood wrote: > If mem= is used on the kernel command line to create reserved regions > for userspace to map using /dev/mem, let it be mapped cacheable as long > as it is within the memory region described in the device tree. > > Signed-off-by: Scott Wood > ---

[PATCH RFC] PPC: /dev/mem: All RAM is cacheable, not just the kernel's.

2010-10-18 Thread Scott Wood
If mem= is used on the kernel command line to create reserved regions for userspace to map using /dev/mem, let it be mapped cacheable as long as it is within the memory region described in the device tree. Signed-off-by: Scott Wood --- This isn't just a performance issue, but it could also be a c