Skip to contentSkip to conversation

intelligent CLS kills qemu's 8139cp

DISCUSSION Alexey Dobriyan 2 participants 2 messages Dec 18, 2009

lore
Share & tools
lore
#0 lore raw

After this patch qemu's 8139cp won't be initialized resulting in no network. It einvals in pci_set_cacheline_size() where pci_cache_line_size=0

PCI: CLS 0 bytes, default 32

ac1aa47b131416a6ff37eb1005a0a1d2541aad6c is first bad commit commit ac1aa47b131416a6ff37eb1005a0a1d2541aad6c

Author: Jesse Barnes <[email protected]>
Date:   Mon Oct 26 13:20:44 2009 -0700

PCI: determine CLS more intelligently

#1 lore raw
Quoted 4 lines · On Fri, 18 Dec 2009 15:49:18 +0200 Alexey Dobriyan <[email protected]> wrote:

After this patch qemu's 8139cp won't be initialized resulting in no network. It einvals in pci_set_cacheline_size() where pci_cache_line_size=0

Quoted 8 lines

PCI: CLS 0 bytes, default 32

ac1aa47b131416a6ff37eb1005a0a1d2541aad6c is first bad commit commit ac1aa47b131416a6ff37eb1005a0a1d2541aad6c

Author: Jesse Barnes <[email protected]>
Date:   Mon Oct 26 13:20:44 2009 -0700

PCI: determine CLS more intelligently

My for-linus branch has

commit 2820f333e3b4ad96590093efbed7b3400bcf492b

Author: Csaba Henk <[email protected]>
Date:   Tue Dec 15 17:55:25 2009 +0530

PCI: Handle case when no pci device can provide cache line size hint

which may fix this issue. You can grab my tree from
git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6

Jesse

Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center