]> git.baikalelectronics.ru Git - kernel.git/commit
x86, mm: Include the entire kernel memory map in trampoline_pgd
authorMatt Fleming <matt.fleming@intel.com>
Fri, 7 Sep 2012 17:23:51 +0000 (18:23 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 30 Oct 2012 10:39:19 +0000 (10:39 +0000)
commit0dbf99f043c3acc8ef4221b7f34b445aca051ab9
treeafa920fe2dc6e11dc023147fc6bffafcf19a2508
parentf7cbdf4564b1382d9d8e32c34a8102c3605bf71b
x86, mm: Include the entire kernel memory map in trampoline_pgd

There are various pieces of code in arch/x86 that require a page table
with an identity mapping. Make trampoline_pgd a proper kernel page
table, it currently only includes the kernel text and module space
mapping.

One new feature of trampoline_pgd is that it now has mappings for the
physical I/O device addresses, which are inserted at ioremap()
time. Some broken implementations of EFI firmware require these
mappings to always be around.

Acked-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/mm/init_64.c
arch/x86/mm/ioremap.c
arch/x86/realmode/init.c