Home
last modified time | relevance | path

Searched hist:"3 b621ccabdccb34891bb58865a9654a09c2b7279" (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/arch/x86/cpu/
H A Dmtrr.c3b621ccabdccb34891bb58865a9654a09c2b7279 Thu Jan 22 03:29:41 UTC 2015 Bin Meng <bmeng.cn@gmail.com> x86: Test mtrr support flag before accessing mtrr msr

On some x86 processors (like Intel Quark) the MTRR registers are not
supported. This is reflected by the CPUID (EAX 01H) result EDX[12].
Accessing the MTRR registers on such processors will cause #GP so we
must test the support flag before accessing MTRR MSRs.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
/rk3399_rockchip-uboot/arch/x86/include/asm/
H A Dmtrr.h3b621ccabdccb34891bb58865a9654a09c2b7279 Thu Jan 22 03:29:41 UTC 2015 Bin Meng <bmeng.cn@gmail.com> x86: Test mtrr support flag before accessing mtrr msr

On some x86 processors (like Intel Quark) the MTRR registers are not
supported. This is reflected by the CPUID (EAX 01H) result EDX[12].
Accessing the MTRR registers on such processors will cause #GP so we
must test the support flag before accessing MTRR MSRs.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
/rk3399_rockchip-uboot/arch/x86/lib/
H A Dinit_helpers.c3b621ccabdccb34891bb58865a9654a09c2b7279 Thu Jan 22 03:29:41 UTC 2015 Bin Meng <bmeng.cn@gmail.com> x86: Test mtrr support flag before accessing mtrr msr

On some x86 processors (like Intel Quark) the MTRR registers are not
supported. This is reflected by the CPUID (EAX 01H) result EDX[12].
Accessing the MTRR registers on such processors will cause #GP so we
must test the support flag before accessing MTRR MSRs.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>