summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorDave Jones2009-10-14 22:31:39 +0200
committerJesse Barnes2009-11-04 17:47:12 +0100
commit76b1a87b217927f905f4b01c586452b2a1d33913 (patch)
tree02a0f0e1a94cdb5507e441a7ff655e9c772d97d4 /drivers/pci
parentPCI: pci_dfl_cache_line_size is __devinitdata (diff)
downloadkernel-qcow2-linux-76b1a87b217927f905f4b01c586452b2a1d33913.tar.gz
kernel-qcow2-linux-76b1a87b217927f905f4b01c586452b2a1d33913.tar.xz
kernel-qcow2-linux-76b1a87b217927f905f4b01c586452b2a1d33913.zip
x86/PCI: Use generic cacheline sizing instead of per-vendor tests.
Instead of the PCI code needing to have code to determine the cacheline size of each processor, use the data the cpu identification code should have already determined during early boot. (The vendor checks are also incomplete, and don't take into account modern CPUs) I've been carrying a variant of this code in Fedora for a while, that prints debug information. There are a number of cases where we are currently setting the PCI cacheline size to 32 bytes, when the CPU cacheline size is 64 bytes. With this patch, we set them both the same. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions