]> git.baikalelectronics.ru Git - kernel.git/commit
x86: MTRR workaround for system with stange var MTRRs
authorYinghai Lu <yinghai@kernel.org>
Mon, 16 Mar 2009 23:33:59 +0000 (16:33 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 17 Mar 2009 09:47:47 +0000 (10:47 +0100)
commit6bebff4aa8ccfc5eb8420b5530f2b155b9b773de
treee06511311bbe5ca161526f9ab494765efe628413
parent22be16663921074ed835cf637b6e81dd73a217f5
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