summaryrefslogtreecommitdiff
path: root/arch/x86/mm/tlb.c
diff options
context:
space:
mode:
authorJacob Shin <jacob.shin@amd.com>2012-10-24 14:24:44 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-31 09:51:37 -0700
commit0582e57500558d660c9fd83c77b7a6a0dbda989f (patch)
treeed145948be9cafbfe749fbecb57dcea83c16eace /arch/x86/mm/tlb.c
parenteccd54a6c29b2ddce3e03e7f77b89376dd9ee1ca (diff)
x86, mm: Find_early_table_space based on ranges that are actually being mapped
commit 844ab6f993b1d32eb40512503d35ff6ad0c57030 upstream. Current logic finds enough space for direct mapping page tables from 0 to end. Instead, we only need to find enough space to cover mr[0].start to mr[nr_range].end -- the range that is actually being mapped by init_memory_mapping() This is needed after 1bbbbe779aabe1f0768c2bf8f8c0a5583679b54a, to address the panic reported here: https://lkml.org/lkml/2012/10/20/160 https://lkml.org/lkml/2012/10/21/157 Signed-off-by: Jacob Shin <jacob.shin@amd.com> Link: http://lkml.kernel.org/r/20121024195311.GB11779@jshin-Toonie Tested-by: Tom Rini <trini@ti.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/mm/tlb.c')
0 files changed, 0 insertions, 0 deletions