linux_dsm_epyc7002/arch/x86/kernel/cpu
Andreas Herrmann 3fdbf004c1 x86, mtrr: Assume SYS_CFG[Tom2ForceMemTypeWB] exists on all future AMD CPUs
Instead of adapting the CPU family check in amd_special_default_mtrr()
for each new CPU family assume that all new AMD CPUs support the
necessary bits in SYS_CFG MSR.

Tom2Enabled is architectural (defined in APM Vol.2).
Tom2ForceMemTypeWB is defined in all BKDGs starting with K8 NPT.
In pre K8-NPT BKDG this bit is reserved (read as zero).

W/o this adaption Linux would unnecessarily complain about bad MTRR
settings on every new AMD CPU family, e.g.

[    0.000000] WARNING: BIOS bug: CPU MTRRs don't cover all of memory, losing 4863MB of RAM.

Cc: stable@kernel.org # .32.x, .35.x
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <20100930123235.GB20545@loge.amd.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-10-01 16:18:31 -07:00
..
cpufreq [CPUFREQ] acpi-cpufreq: add missing __percpu markup 2010-08-13 11:11:49 -04:00
mcheck x86, mcheck: Avoid duplicate sysfs links/files for thresholding banks 2010-09-05 14:35:49 +02:00
mtrr x86, mtrr: Assume SYS_CFG[Tom2ForceMemTypeWB] exists on all future AMD CPUs 2010-10-01 16:18:31 -07:00
.gitignore
amd.c x86, AMD: Remove needless CPU family check (for L3 cache info) 2010-09-05 14:33:48 +02:00
bugs_64.c
bugs.c
centaur.c
common.c Merge branch 'x86-xsave-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2010-08-06 16:25:13 -07:00
cpu.h
cyrix.c
hypervisor.c
intel_cacheinfo.c x86, k8: Rename k8.[ch] to amd_nb.[ch] and CONFIG_K8_NB to CONFIG_AMD_NB 2010-09-20 14:22:58 -07:00
intel.c
Makefile Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2010-08-06 10:07:34 -07:00
mkcapflags.pl
mshyperv.c
perf_event_amd.c
perf_event_intel_ds.c
perf_event_intel_lbr.c
perf_event_intel.c perf, x86: Fix handle_irq return values 2010-09-03 08:05:18 +02:00
perf_event_p4.c perf, x86: Fix handle_irq return values 2010-09-03 08:05:18 +02:00
perf_event_p6.c
perf_event.c perf, x86: Try to handle unknown nmis with an enabled PMU 2010-09-03 08:05:18 +02:00
perfctr-watchdog.c
powerflags.c
proc.c
scattered.c x86, kvm: add new AMD SVM feature bits 2010-09-08 13:34:15 -07:00
sched.c
topology.c
transmeta.c
umc.c
vmware.c