public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* pci cacheline size / latency oddness.
@ 2005-08-01 23:35 Dave Jones
  2005-08-02  0:05 ` Jeff Garzik
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Dave Jones @ 2005-08-01 23:35 UTC (permalink / raw)
  To: linux-kernel; +Cc: ak

During boot of todays -git, I noticed this..

PCI: Setting latency timer of device 0000:00:1d.7 to 64

after boot, lspci shows..

00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
Subsystem: Dell: Unknown device 0169
Flags: bus master, medium devsel, latency 0, IRQ 201
                                          ^^						

It also complains about..

PCI: cache line size of 128 is not supported by device 0000:00:1d.7

x86-64 doesn't have an arch override for pci_cache_line_size, so
it ends up at L1_CACHE_BYTES >> 2, which is 128 if you build
x86-64 kernels with CONFIG_GENERIC_CPU or CONFIG_MPSC
This means we will do the wrong thing on AMD machines which have
64 byte cachelines.   I saw this problem however on an em64t box.
Would it make sense to shift >> once more if it fails, and retry
with a smaller size perhaps ?

		Dave


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-03 13:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-01 23:35 pci cacheline size / latency oddness Dave Jones
2005-08-02  0:05 ` Jeff Garzik
2005-08-02  0:41 ` Parag Warudkar
2005-08-03 13:20   ` Andi Kleen
2005-08-03 10:58 ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox