android_kernel_xiaomi_sm8350/arch/x86/kernel/cpu
Thomas Gleixner 8d4a430085 x86: cleanup PAT cpu validation
Move the scattered checks for PAT support to a single function. Its
moved to addon_cpuid_features.c as this file is shared between 32 and
64 bit.

Remove the manipulation of the PAT feature bit and just disable PAT in
the PAT layer, based on the PAT bit provided by the CPU and the
current CPU version/model white list.

Change the boot CPU check so it works on Voyager somewhere in the
future as well :) Also panic, when a secondary has PAT disabled but
the primary one has alrady switched to PAT. We have no way to undo
that.

The white list is kept for now to ensure that we can rely on known to
work CPU types and concentrate on the software induced problems
instead of fighthing CPU erratas and subtle wreckage caused by not yet
verified CPUs. Once the PAT code has stabilized enough, we can remove
the white list and open the can of worms.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-05-08 15:43:51 +02:00
..
cpufreq [CPUFREQ] expose cpufreq coordination requirements regardless of coordination mechanism 2008-04-28 16:27:08 -04:00
mcheck x86-64: extend MCE CPU quirk handling 2008-04-26 17:35:46 +02:00
mtrr Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86-fixes 2008-04-29 09:03:19 -07:00
addon_cpuid_features.c x86: cleanup PAT cpu validation 2008-05-08 15:43:51 +02:00
amd.c x86: remove unused function amd_init_cpu() 2008-04-26 17:35:46 +02:00
bugs.c Fix booting pentium+ with dodgy TSC 2008-04-06 16:10:40 -07:00
centaur.c x86: clean up cpu capabilities accesses, centaur.c 2008-04-17 17:40:51 +02:00
common.c x86: cleanup PAT cpu validation 2008-05-08 15:43:51 +02:00
cpu.h x86: use ELF section to list CPU vendor specific code 2008-04-17 17:40:47 +02:00
cyrix.c x86: clean up cpu capabilities accesses, cyrix.c 2008-04-17 17:40:51 +02:00
feature_names.c x86: arch/x86/kernel/cpu/feature_names.c - use angle brackets for include 2008-04-17 17:40:57 +02:00
intel_cacheinfo.c x86: modify show_shared_cpu_map in intel_cacheinfo 2008-04-19 19:44:59 +02:00
intel.c x86: clean up cpu capabilities in arch/x86/kernel/cpu/intel.c 2008-04-17 17:40:51 +02:00
Makefile x86: remove NexGen support 2008-04-26 17:35:47 +02:00
perfctr-watchdog.c x86: fix watchdog ops for CoreDuo 2008-04-26 17:35:46 +02:00
proc.c arch: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:14:49 -04:00
transmeta.c x86: clean up cpu capabilities accesses, transmeta.c 2008-04-17 17:40:51 +02:00
umc.c x86: coding style fixes to arch/x86/kernel/cpu/umc.c 2008-04-17 17:40:49 +02:00