Re: intelligent CLS kills qemu's 8139cp

From: Jesse Barnes
Date: Fri Dec 18 2009 - 12:28:59 EST


On Fri, 18 Dec 2009 15:49:18 +0200
Alexey Dobriyan <adobriyan@xxxxxxxxx> 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
>
> PCI: CLS 0 bytes, default 32
>
> ac1aa47b131416a6ff37eb1005a0a1d2541aad6c is first bad commit
> commit ac1aa47b131416a6ff37eb1005a0a1d2541aad6c
> Author: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
> Date: Mon Oct 26 13:20:44 2009 -0700
>
> PCI: determine CLS more intelligently

My for-linus branch has

commit 2820f333e3b4ad96590093efbed7b3400bcf492b
Author: Csaba Henk <csaba@xxxxxxxxxxx>
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

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/