x86: MTRR workaround for system with stange var MTRRs
commitf0348c438c9ea156194d31fadde4a9e75522196f
authorYinghai Lu <yinghai@kernel.org>
Mon, 16 Mar 2009 23:33:59 +0000 (16 16:33 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 17 Mar 2009 09:47:47 +0000 (17 10:47 +0100)
treee06511311bbe5ca161526f9ab494765efe628413
parentd4c90e37a21154c1910b2646e9544bdd32d5bc3a
x86: MTRR workaround for system with stange var MTRRs

Impact: don't trim e820 according to wrong mtrr

Ozan reports that his server emits strange warning.
it turns out the BIOS sets the MTRRs incorrectly.

Ignore those strange ranges, and don't trim e820,
just emit one warning about BIOS

Reported-by: Ozan Çağlayan <ozan@pardus.org.tr>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <49BEE1E7.7020706@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mtrr/cleanup.c
arch/x86/kernel/cpu/mtrr/main.c
arch/x86/kernel/cpu/mtrr/mtrr.h