android_kernel_xiaomi_sm8350/include/asm-x86
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
..
mach-bigsmp x86: remove mpc_apic_id() 2008-04-17 17:41:07 +02:00
mach-default x86: fix HT cpu booting on 32-bit 2008-04-30 23:15:35 +02:00
mach-es7000 x86: change GET_APIC_ID() from an inline function to an out-of-line function 2008-04-17 17:41:33 +02:00
mach-generic x86: remove mpc_oem_bus_info() 2008-04-17 17:41:08 +02:00
mach-numaq x86: make struct mpc_config_translation NUMAQ-only 2008-04-17 17:41:08 +02:00
mach-rdc321x
mach-summit x86: remove mpc_oem_bus_info() 2008-04-17 17:41:08 +02:00
mach-visws x86: change GET_APIC_ID() from an inline function to an out-of-line function 2008-04-17 17:41:33 +02:00
mach-voyager
uv x86: define the macros and tables for blade functions 2008-04-17 17:41:33 +02:00
xen xen: replace callers of alloc_vm_area()/free_vm_area() with xen_ prefixed one 2008-04-24 23:57:32 +02:00
a.out-core.h include/asm-x86/a.out-core.h: checkpatch cleanups - formatting only 2008-04-17 17:41:21 +02:00
a.out.h
acpi.h include/asm-x86/acpi.h: checkpatch cleanups - formatting only 2008-04-17 17:41:21 +02:00
agp.h
alternative-asm.h
alternative.h include/asm-x86/alternative.h: checkpatch cleanups - formatting only 2008-04-17 17:41:21 +02:00
apic.h include/asm-x86/apic.h: checkpatch cleanups - formatting only 2008-04-17 17:41:21 +02:00
apicdef.h x86: increase size of APICID 2008-04-17 17:41:33 +02:00
arch_hooks.h
asm.h
atomic_32.h include/asm-x86/atomic_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:21 +02:00
atomic_64.h include/asm-x86/atomic_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:21 +02:00
atomic.h
auxvec.h
bios_ebda.h x86: get_bios_ebda() requires asm/io.h 2008-04-26 17:35:47 +02:00
bitops.h x86: include/asm-x86/pgalloc.h/bitops.h: checkpatch cleanups - formatting only 2008-04-26 19:21:17 +02:00
boot.h x86: cleanup boot-heap usage 2008-04-19 19:19:54 +02:00
bootparam.h x86: fix up bootparam.h for userspace inclusion 2008-05-04 20:04:45 +02:00
bug.h include/asm-x86/bug.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
bugs.h
byteorder.h include/asm-x86/byteorder.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
cache.h
cacheflush.h x86: add comments to describe the new api's in cacheflush.h 2008-04-17 17:41:31 +02:00
calgary.h
calling.h
checksum_32.h include/asm-x86/checksum_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
checksum_64.h include/asm-x86/checksum_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
checksum.h
cmpxchg_32.h include/asm-x86/cmpxchg_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
cmpxchg_64.h include/asm-x86/cmpxchg_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
cmpxchg.h
compat.h include/asm-x86/compat.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
cpu.h
cpufeature.h x86: PAT infrastructure patch 2008-04-17 17:41:19 +02:00
cputime.h
current_32.h include/asm-x86/current_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
current_64.h include/asm-x86/current_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
current.h
debugreg.h
delay.h
desc_defs.h include/asm-x86/desc_defs.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
desc.h include/asm-x86/desc.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
device.h
div64.h remove div_long_long_rem 2008-05-01 08:03:58 -07:00
dma-mapping.h x86: move dma_coherent functions to pci-dma.c 2008-04-19 19:19:57 +02:00
dma.h include/asm-x86/dma.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
dmi.h dmi: clean-up dmi helper declarations 2008-05-01 08:04:01 -07:00
ds.h
dwarf2_32.h
dwarf2_64.h include/asm-x86/dwarf2_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
dwarf2.h
e820_32.h x86: rename find_max_pfn() to propagate_e820_map() 2008-04-19 19:19:55 +02:00
e820_64.h x86_64: fix setup_node_bootmem to support big mem excluding with memmap 2008-04-26 22:51:08 +02:00
e820.h
edac.h include/asm-x86/edac.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
efi.h include/asm-x86/efi.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
elf.h include/asm-x86/elf.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
emergency-restart.h
errno.h
fb.h
fcntl.h
fixmap_32.h x86: make clear_fixmap() available on 64-bit as well 2008-04-25 19:54:07 +02:00
fixmap_64.h x86: make clear_fixmap() available on 64-bit as well 2008-04-25 19:54:07 +02:00
fixmap.h x86: make clear_fixmap() available on 64-bit as well 2008-04-25 19:54:07 +02:00
floppy.h x86 floppy: kill off the 'register' keyword from header 2008-04-17 17:41:30 +02:00
frame.h
futex.h asm-*/futex.h should include linux/uaccess.h 2008-04-30 08:29:52 -07:00
gart.h
genapic_32.h x86: UV startup of slave cpus 2008-04-19 19:19:58 +02:00
genapic_64.h x86: support for new UV apic 2008-04-17 17:41:33 +02:00
genapic.h
geode.h x86: geode: define geode_has_vsa2() even if CONFIG_MGEODE_LX is not set 2008-05-08 15:43:50 +02:00
gpio.h
hardirq_32.h
hardirq_64.h
hardirq.h
highmem.h include/asm-x86/highmem.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
hpet.h
hugetlb.h hugetlbfs: common code update for s390 2008-04-28 08:58:25 -07:00
hw_irq_32.h
hw_irq_64.h include/asm-x86/hw_irq_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
hw_irq.h
hypertransport.h include/asm-x86/hypertransport.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
i387.h x86: fpu xstate split cleanup 2008-04-19 19:19:55 +02:00
i8253.h
i8259.h include/asm-x86/i8259.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
ia32_unistd.h
ia32.h include/asm-x86/ia32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
ide.h ide: remove ide_init_default_irq() macro 2008-04-18 00:46:35 +02:00
idle.h
intel_arch_perfmon.h
io_32.h dmi: clean-up dmi helper declarations 2008-05-01 08:04:01 -07:00
io_64.h x86: PAT avoid aliasing in /dev/mem read/write 2008-04-24 23:40:47 +02:00
io_apic.h x86: use bitmap library for pin_programmed 2008-04-26 17:35:47 +02:00
io.h x86: PAT avoid aliasing in /dev/mem read/write 2008-04-24 23:40:47 +02:00
ioctl.h
ioctls.h include/asm-x86/ioctls.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
iommu.h
ipcbuf.h include/asm-x86/ipcbuf.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
ipi.h include/asm-x86/ipi.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
irq_32.h include/asm-x86/irq_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
irq_64.h include/asm-x86/irq_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
irq_regs_32.h
irq_regs_64.h
irq_regs.h
irq.h
irqflags.h include/asm-x86/irqflags.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
ist.h
k8.h
Kbuild x86: cleanup replace most vm86 flags with flags from processor-flags.h, fix 2008-04-17 17:41:33 +02:00
kdebug.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-kgdb 2008-04-18 08:37:01 -07:00
kexec.h include/asm-x86/kexec.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
kgdb.h x86: kgdb support 2008-04-17 20:05:37 +02:00
kmap_types.h
kprobes.h include/asm-x86/kprobes.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
kvm_host.h KVM: avoid fx_init() schedule in atomic 2008-05-04 14:44:48 +03:00
kvm_para.h KVM: MMU: hypercall based pte updates and TLB flushes 2008-04-27 12:00:27 +03:00
kvm_x86_emulate.h include/asm-x86/kvm_x86_emulate.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
kvm.h KVM: Add trace markers 2008-04-27 12:01:19 +03:00
ldt.h
lguest_hcall.h include/asm-x86/lguest_hcall.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
lguest.h include/asm-x86/lguest.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
linkage.h
local.h include/asm-x86/local.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
math_emu.h
mc146818rtc.h include/asm-x86/mc146818rtc.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
mca_dma.h include/asm-x86/mca_dma.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mca.h
mce.h
mman.h
mmu_context_32.h include/asm-x86/mmu_context_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mmu_context_64.h include/asm-x86/mmu_context_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mmu_context.h
mmu.h include/asm-x86/mmu.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mmx.h include/asm-x86/mmx.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mmzone_32.h include/asm-x86/mmzone_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mmzone_64.h include/asm-x86/mmzone_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mmzone.h
module.h
mpspec_def.h include/asm-x86/mpspec_def.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mpspec.h x86: move mp_register_lapic_address to boot.c 2008-04-17 17:41:35 +02:00
msgbuf.h
msidef.h include/asm-x86/msidef.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
msr-index.h x86: split large page mapping for AMD TSEG 2008-04-17 17:41:30 +02:00
msr.h x86: re-add rdmsrl_safe 2008-04-17 17:41:30 +02:00
mtrr.h include/asm-x86/mtrr.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mutex_32.h include/asm-x86/mutex_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mutex_64.h include/asm-x86/mutex_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mutex.h
namei.h
nmi.h x86: call nmi_watchdog_default in i386 2008-04-17 17:41:01 +02:00
nops.h x86: correct/clarify comment in nops.h 2008-04-17 17:40:58 +02:00
numa_32.h
numa_64.h srat, x86: add support for nodes spanning other nodes 2008-04-19 19:19:55 +02:00
numa.h
numaq.h include/asm-x86/numaq.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
olpc.h x86: olpc: add One Laptop Per Child architecture support 2008-04-29 08:06:07 -07:00
page_32.h include/asm-x86/page_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
page_64.h x86: account overlapped mappings in max_pfn_mapped 2008-04-17 17:41:30 +02:00
page.h x86: introduce /dev/mem restrictions with a config option 2008-04-24 23:40:47 +02:00
param.h include/asm-x86/param.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
paravirt.h x86: add pud_alloc for 4-level pagetables 2008-04-24 23:57:31 +02:00
parport.h include/asm-x86/parport.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
pat.h x86: cleanup PAT cpu validation 2008-05-08 15:43:51 +02:00
pci_32.h
pci_64.h x86: reserve dma32 early for gart 2008-04-19 19:19:55 +02:00
pci-direct.h include/asm-x86/pci-direct.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
pci.h x86: get mp_bus_to_node early 2008-04-26 23:41:04 +02:00
pda.h include/asm-x86/pda.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
percpu.h include/asm-x86/percpu.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
pgalloc.h x86: demacro pgalloc paravirt stubs 2008-04-24 23:57:31 +02:00
pgtable_32.h x86: fix PAE pmd_bad bootup warning 2008-05-06 13:08:58 -07:00
pgtable_64.h x86: fix PAE pmd_bad bootup warning 2008-05-06 13:08:58 -07:00
pgtable-2level-defs.h
pgtable-2level.h include/asm-x86/pgtable-2level.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
pgtable-3level-defs.h
pgtable-3level.h include/asm-x86/pgtable-3level.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
pgtable.h mm: introduce pte_special pte bit 2008-04-28 08:58:23 -07:00
poll.h
posix_types_32.h include/asm-x86/posix_types_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
posix_types_64.h include/asm-x86/posix_types_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
posix_types.h fix asm-x86/{posix_types,unistd}.h 2008-04-26 17:35:46 +02:00
prctl.h
processor-cyrix.h
processor-flags.h
processor.h x86: remove Xgt_desc_struct 2008-04-30 23:15:34 +02:00
proto.h x86 VISWS: build fix 2008-04-30 23:15:34 +02:00
ptrace-abi.h
ptrace.h x86_64 ia32 ptrace: convert to compat_arch_ptrace 2008-04-26 17:35:47 +02:00
reboot_fixups.h
reboot.h x86: make native_machine_shutdown non-static 2008-04-27 12:00:30 +03:00
required-features.h
resource.h
resume-trace.h include/asm-x86/resume-trace.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
rio.h x86: remove duplicate get_bios_ebda() from rio.h 2008-04-26 17:35:47 +02:00
rtc.h
rwlock.h
rwsem.h include/asm-x86/rwsem.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
scatterlist.h x86: use dma_length in i386 2008-04-19 19:19:57 +02:00
seccomp_32.h
seccomp_64.h
seccomp.h
sections.h
segment.h x86: don't set up early exception handlers for external interrupts 2008-04-17 17:41:29 +02:00
semaphore.h
sembuf.h
serial.h
setup.h include/asm-x86/setup.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
shmbuf.h
shmparam.h
sigcontext32.h include/asm-x86/sigcontext32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
sigcontext.h include/asm-x86/sigcontext.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
siginfo.h
signal.h include/asm-x86/signal.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
smp.h "make namespacecheck" fixes 2008-04-24 23:15:44 +02:00
socket.h
sockios.h
sparsemem.h x86: sparsemem: reduce i386 PAE section size 2008-04-17 17:41:33 +02:00
spinlock_types.h
spinlock.h x86: spinlock ops are always-inlined 2008-04-17 17:41:29 +02:00
srat.h include/asm-x86/srat.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
stacktrace.h
stat.h
statfs.h
string_32.h include/asm-x86/string_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
string_64.h include/asm-x86/string_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
string.h
suspend_32.h include/asm-x86/suspend_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
suspend_64.h include/asm-x86/suspend_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
suspend.h
swiotlb.h include/asm-x86/swiotlb.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
sync_bitops.h x86: simplify sync_test_bit(), improve 2008-04-17 17:41:30 +02:00
system_64.h
system.h include/asm-x86/system.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
tce.h include/asm-x86/tce.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
termbits.h
termios.h
therm_throt.h
thread_info_32.h signals: x86 TS_RESTORE_SIGMASK 2008-04-30 08:29:37 -07:00
thread_info_64.h signals: x86 TS_RESTORE_SIGMASK 2008-04-30 08:29:37 -07:00
thread_info.h x86: fpu xstate split fix 2008-04-19 19:19:55 +02:00
time.h proper extern for late_time_init 2008-04-29 08:06:03 -07:00
timer.h
timex.h
tlb.h
tlbflush.h include/asm-x86/tlbflush.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
topology.h [IA64] Provide ACPI fixup for /proc/cpuinfo/physical_id 2008-04-29 15:05:29 -07:00
trampoline.h x86: move suspend wakeup code to C 2008-04-17 17:41:37 +02:00
tsc.h x86: vget_cycles() __always_inline 2008-04-29 13:45:24 +02:00
types.h x86: types: use <asm-generic/int-*.h> for the x86 architecture 2008-05-02 16:18:42 -07:00
uaccess_32.h include/asm-x86/uaccess_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
uaccess_64.h include/asm-x86/uaccess_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
uaccess.h
ucontext.h
unaligned.h kernel: Move arches to use common unaligned access 2008-04-29 08:06:27 -07:00
unistd_32.h include/asm-x86/unistd_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
unistd_64.h include/asm-x86/unistd_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
unistd.h fix asm-x86/{posix_types,unistd}.h 2008-04-26 17:35:46 +02:00
unwind.h
user32.h include/asm-x86/user32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
user_32.h include/asm-x86/user_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
user_64.h include/asm-x86/user_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
user.h
vdso.h include/asm-x86/vdso.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
vga.h include/asm-x86/vga.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
vgtod.h
vic.h
vm86.h x86: replace most VM86 flags with flags from processor-flags.h 2008-04-17 17:41:33 +02:00
vmi_time.h
vmi.h include/asm-x86/vmi.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
voyager.h include/asm-x86/voyager.h: checkpatch cleanups - formatting only 2008-04-17 17:41:29 +02:00
vsyscall.h
xor_32.h include/asm-x86/xor_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:29 +02:00
xor_64.h include/asm-x86/xor_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:29 +02:00
xor.h