Ver Fonte

x86: limit scan to 1k of EBDA.

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Alexey Starikovskiy há 17 anos atrás
pai
commit
85e46035be
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      arch/x86/kernel/mpparse_64.c

+ 3 - 1
arch/x86/kernel/mpparse_64.c

@@ -640,11 +640,13 @@ static void __init __find_smp_config(unsigned reserve)
 	 * trustworthy, simply because the SMP table may have been
 	 * trustworthy, simply because the SMP table may have been
 	 * stomped on during early boot. These loaders are buggy and
 	 * stomped on during early boot. These loaders are buggy and
 	 * should be fixed.
 	 * should be fixed.
+	 *
+	 * MP1.4 SPEC states to only scan first 1K of 4K EBDA.
 	 */
 	 */
 
 
 	address = get_bios_ebda();
 	address = get_bios_ebda();
 	if (address)
 	if (address)
-		smp_scan_config(address, 0x1000, reserve);
+		smp_scan_config(address, 0x400, reserve);
 }
 }
 
 
 void __init early_find_smp_config(void)
 void __init early_find_smp_config(void)