]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Ioremap: fix wrong physical address handling in PAT code
authorYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Thu, 22 Jul 2010 05:57:35 +0000 (14:57 +0900)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 29 Jul 2010 13:26:11 +0000 (15:26 +0200)
commite27c2c2a6a9bb685dc2501d4cd268e2b866ef952
treee7e0d8d4ab8d1eda3cd4b50a0fd03754fe59185f
parenta31de1a664239f6d66aae5564ae7f0d00ee4ae08
x86: Ioremap: fix wrong physical address handling in PAT code

The following two commits fixed a problem that x86 ioremap() doesn't handle
physical address higher than 32-bit properly in X86_32 PAE mode.

 cd4419f5a4824a0087d77fa6fb6dd7660abc2792 (x86, ioremap: Fix incorrect
 physical address handling in PAE mode)

 e2313a38d105f9a0d814f54f2b798e28e636364a (x86, ioremap: Fix normal
 ram range check)

But these fixes are not enough, since pat_pagerange_is_ram() in PAT code
also has a same problem. This patch fixes it.

Signed-off-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
LKML-Reference: <4C47DDCF.80300@jp.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/pat.c