android_kernel_xiaomi_sm8350/arch/i386/kernel/cpu
Auke Kok 44c10138fd PCI: Change all drivers to use pci_device->revision
Instead of all drivers reading pci config space to get the revision
ID, they can now use the pci_device->revision member.

This exposes some issues where drivers where reading a word or a dword
for the revision number, and adding useless error-handling around the
read. Some drivers even just read it for no purpose of all.

In devices where the revision ID is being copied over and used in what
appears to be the equivalent of hotpath, I have left the copy code
and the cached copy as not to influence the driver's performance.

Compile tested with make all{yes,mod}config on x86_64 and i386.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:02:10 -07:00
..
cpufreq PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
mcheck i386: Clear MCE flag on AMD K6 2007-05-21 09:56:57 -07:00
mtrr MTRR: Fix race causing set_mtrr to go into infinite loop 2007-07-06 10:23:43 -07:00
amd.c i386: Clear MCE flag on AMD K6 2007-05-21 09:56:57 -07:00
bugs.c
centaur.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00
common.c
cpu.h
cyrix.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
intel_cacheinfo.c Add suspend-related notifications for CPU hotplug 2007-05-09 12:30:56 -07:00
intel.c [PATCH] i386: Implement X86_FEATURE_SYNC_RDTSC on i386 2007-05-02 19:27:20 +02:00
Makefile [PATCH] i386: Clean up NMI watchdog code 2007-05-02 19:27:20 +02:00
nexgen.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00
perfctr-watchdog.c Revert perfctr reservation to 2.6.21 state 2007-07-03 18:11:35 -07:00
proc.c
rise.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00
transmeta.c i386: cpu/transmeta.c: fix definition of USER686 2007-05-09 12:49:33 -07:00
umc.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00