[PATCH V5 0/6] x86: Create direct mappings for E820_RAM only

From: Jacob Shin
Date: Wed Aug 29 2012 - 15:06:13 EST


This is the 5th revision of the patchset, which aims to create direct
mappings only for E820_RAM memory ranges. The problem description and
justification can be found in patch 4/6.

Previous discussion history can be found in the following threads:

* https://lkml.org/lkml/2012/8/24/474
* https://lkml.org/lkml/2012/8/22/680
* https://lkml.org/lkml/2012/8/13/512
* https://lkml.org/lkml/2012/8/9/536
* https://lkml.org/lkml/2011/10/20/323

Jacob Shin (4):
x86/mm: find_early_table_space based on memory ranges that are being
mapped
x86: Only direct map addresses that are marked as E820_RAM
x86: Fixup code testing if a pfn is direct mapped
x86: if kernel .text .data .bss are not marked as E820_RAM, complain
and fix

Yinghai Lu (2):
x86, mm: Add page_size_mask()
x86, mm: Split out split_mem_range

arch/x86/include/asm/page_types.h | 9 +++
arch/x86/include/asm/pgtable.h | 1 +
arch/x86/kernel/cpu/amd.c | 6 +-
arch/x86/kernel/setup.c | 115 ++++++++++++++++++++++----
arch/x86/mm/init.c | 162 ++++++++++++++++++++-----------------
arch/x86/mm/init_64.c | 6 +-
arch/x86/platform/efi/efi.c | 8 +-
7 files changed, 207 insertions(+), 100 deletions(-)

--
1.7.9.5


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/