]> asedeno.scripts.mit.edu Git - linux.git/commit
mfd: intel-lpss: Try to enable Memory-Write-Invalidate
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 15 Nov 2016 10:37:04 +0000 (12:37 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 29 Nov 2016 08:21:36 +0000 (08:21 +0000)
commit85a9419a254e234c997a2bf56b71264009ebc117
tree04e458302085ac63b7a643664b8bb91f144360ae
parentc5e589a171728c9f5c587f9254ec6b343153c2ce
mfd: intel-lpss: Try to enable Memory-Write-Invalidate

Enable MWI mechanism if PCI bus master supports it.

It might be potential benefit in some cases. Documentation [1] says that
standard Memory Write might supply more current data than in the CPU modified
cache line and "trashing a line in the cache may trash some data that is more
current that in the memory line". This allows to avoid potential retries and
other performance degradation issues on the bus.

[1] PCI System Architecture, 4th edition, ISBN: 0-201-30974-2, pp.117-119.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel-lpss-pci.c