Re: [PATCH] pci_try_set_mwi() in sata_promise

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marin Mitov
Date: Wednesday, April 23, 2008 - 5:31 am

On 23.4.2008, Mikael Pettersson wrote:
Here it is:



None if MWI is not enabled.


May be speed, but practicaly hardly observable. It is described in PCI specs. 
If the hardware has this property why not using it? In any case that does not hurt.


pci_set_cacheline_size() is NOT exported, while pci_try_set_mwi() is and
sets (as a side effect) the cache line size.


It fails only if cache line size cannot be set. Then MWI is not enabled.
The device continues to work (nicely) as it did up to now.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] pci_try_set_mwi() in sata_promise, Marin Mitov, (Tue Apr 22, 11:26 am)
Re: [PATCH] pci_try_set_mwi() in sata_promise, Mikael Pettersson, (Wed Apr 23, 12:57 am)
Re: [PATCH] pci_try_set_mwi() in sata_promise, Marin Mitov, (Wed Apr 23, 5:31 am)
Re: [PATCH] pci_try_set_mwi() in sata_promise, Marin Mitov, (Wed Apr 23, 5:34 am)
Re: [PATCH] pci_try_set_mwi() in sata_promise, Marin Mitov, (Wed Apr 23, 6:33 am)
Re: [PATCH] pci_try_set_mwi() in sata_promise, Grant Grundler, (Wed Apr 23, 7:46 am)
Re: [PATCH] pci_try_set_mwi() in sata_promise, Marin Mitov, (Wed Apr 23, 11:15 am)