Tejun Heo wrote:
arch/i386/pci/common.c overrides cacheline size to min 32 regardless of actual size. So, we seem to be using larger cacheline size for MWI already.
It clamps the minimum size to 32, yes, but on modern machines common.c configures it to a larger size.
Jeff pointed out that there actually are devices which limit CLS config. IMHO, making PCI configure CLS automatically and provide helpers to LLD to override it if necessary should cut it.
We still have to add a raft of quirks, if we start automatically configurating CLS... Also, many PCI devices hardcode it to zero.
If we start configuring CLS automatically, I forsee a period of breakage... Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: question regarding cacheline size
- From: Matthew Wilcox <[email protected]>
- Re: question regarding cacheline size
- References:
- question regarding cacheline size
- From: Tejun Heo <[email protected]>
- Re: question regarding cacheline size
- From: Matthew Wilcox <[email protected]>
- Re: question regarding cacheline size
- From: Tejun Heo <[email protected]>
- Re: question regarding cacheline size
- From: Russell King <[email protected]>
- Re: question regarding cacheline size
- From: Matthew Wilcox <[email protected]>
- Re: question regarding cacheline size
- From: Arjan van de Ven <[email protected]>
- Re: question regarding cacheline size
- From: Matthew Wilcox <[email protected]>
- Re: question regarding cacheline size
- From: Tejun Heo <[email protected]>
- Re: question regarding cacheline size
- From: Matthew Wilcox <[email protected]>
- Re: question regarding cacheline size
- From: Tejun Heo <[email protected]>
- Re: question regarding cacheline size
- From: Grant Grundler <[email protected]>
- Re: question regarding cacheline size
- From: Tejun Heo <[email protected]>
- question regarding cacheline size
- Prev by Date: Re: patch to make Linux capabilities into something useful (v 0.3.1)
- Next by Date: Re: [PATCH 10/21] block: elevator selection and pinning
- Previous by thread: Re: question regarding cacheline size
- Next by thread: Re: question regarding cacheline size
- Index(es):