Enable WC+ memory type on AMD family 10h processors
cover Enable WC+ memory type on AMD family 10h processors
From: Boris Ostrovsky <[email protected]>
Enable WC+ memory type on AMD family 10h processors if BIOS doesn't do this. WC+ is used only in in virtualized scenarios and never in bare metal cases (see AMD APM v2).
Also clean up init_amd() a little.
Boris Ostrovsky (2):
AMD,x86: Clean up init_amd()
x86,AMD: Enable WC+ memory type on family 10 processors
arch/x86/include/uapi/asm/msr-index.h | 1 + arch/x86/kernel/cpu/amd.c | 49 ++++++++++++++++++--------------- 2 files changed, 28 insertions(+), 22 deletions(-)