Re: pci_set_mwi() ... why isn't it used more?

From: Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Date: Thu Jan 30 2003 - 11:59:44 EST


On Thu, Jan 30, 2003 at 08:25:07AM -0800, David Brownell wrote:
> At least on 2.5.59, the pci_generic_prep_mwi() code doesn't check
> for that type of error: it just writes the cacheline size, and
> doesn't verify that setting it worked as expected. Checking for
> that kind of problem would make it safer to call pci_set_mwi() in
> such cases ... e.g. using it on a P4 with 128 byte L1 cachelines
> would fail cleanly, while on an Athlon (64 byte L1) it might work
> (depending in which top bits are unusable).

Hmm, what happens if you boot the kernel configured for 80386
on P4 and enable MWI?

Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 22:00:24 EST