[lkml]   [2004]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: PCI devices with no PCI_CACHE_LINE_SIZE implemented
Martin, below is a patch to lower the severity of this printk to
KERN_DEBUG, as there are devices which (properly) don't implement the
PCI_CACHE_LINE_SIZE register, and it's not a bug, so don't print at a
WARNING level.


----- Forwarded message from Matt Domsch <> -----
Date: Wed, 5 May 2004 17:50:53 -0500
From: Matt Domsch <>
To: Greg KH <>
Subject: Re: PCI devices with no PCI_CACHE_LINE_SIZE implemented
In-Reply-To: <>

On Wed, May 05, 2004 at 03:31:02PM -0700, Greg KH wrote:
> On Thu, Apr 29, 2004 at 02:53:01PM -0500, Matt Domsch wrote:
> > a) need this be a warning, wouldn't KERN_DEBUG suffice, if a message
> > is needed at all? This is printed in pci_generic_prep_mwi().
> Yes, we should make that KERN_DEBUG. I don't have a problem with that.
> Care to make a patch?

Patch for 2.4.27-pre1 appended.


Matt Domsch
Sr. Software Engineer, Lead Engineer
Dell Linux Solutions &
Linux on Dell mailing lists @

===== drivers/pci/pci.c 1.47 vs edited =====
--- 1.47/drivers/pci/pci.c Mon Sep 22 07:27:35 2003
+++ edited/drivers/pci/pci.c Wed May 5 17:49:13 2004
@@ -943,7 +943,7 @@
if (cacheline_size == pci_cache_line_size)
return 0;

- printk(KERN_WARNING "PCI: cache line size of %d is not supported "
+ printk(KERN_DEBUG "PCI: cache line size of %d is not supported "
"by device %s\n", pci_cache_line_size << 2, dev->slot_name);

return -EINVAL;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 14:02    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean