Re: [patch 4/4] x86: PAT followup - use ioremap for devmem read of reserved regions

2008-01-15 Thread Ingo Molnar
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > --- linux-2.6.git.orig/drivers/char/mem.c 2008-01-15 10:05:13.0 > -0800 > +++ linux-2.6.git/drivers/char/mem.c 2008-01-15 10:05:51.0 -0800 > @@ -127,9 +127,14 @@ >* by the kernel or data corruption may occur >

[patch 4/4] x86: PAT followup - use ioremap for devmem read of reserved regions

2008-01-15 Thread venkatesh . pallipadi
map and unmap reserved regions, before accessing through /dev/mem read interface. This is for full compatibility with existing /dev/mem usages. For regions that are mapped in identity map, we use __va(). Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Signed-off-by: Suresh Siddha <[EMAIL

[patch 4/4] x86: PAT followup - use ioremap for devmem read of reserved regions

2008-01-15 Thread venkatesh . pallipadi
map and unmap reserved regions, before accessing through /dev/mem read interface. This is for full compatibility with existing /dev/mem usages. For regions that are mapped in identity map, we use __va(). Signed-off-by: Venkatesh Pallipadi [EMAIL PROTECTED] Signed-off-by: Suresh Siddha [EMAIL

Re: [patch 4/4] x86: PAT followup - use ioremap for devmem read of reserved regions

2008-01-15 Thread Ingo Molnar
* [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: --- linux-2.6.git.orig/drivers/char/mem.c 2008-01-15 10:05:13.0 -0800 +++ linux-2.6.git/drivers/char/mem.c 2008-01-15 10:05:51.0 -0800 @@ -127,9 +127,14 @@ * by the kernel or data corruption may occur