From: Jesse Brandeburg Date: Wed, 20 Jul 2011 00:56:21 +0000 (+0000) Subject: intel drivers: repair missing flush operations X-Git-Tag: v3.1-rc1~24^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=945a51517cc0bd9e461f2018624dfc1faef9ddee;p=pandora-kernel.git intel drivers: repair missing flush operations after review of all intel drivers, found several instances where drivers had the incorrect pattern of: memory mapped write(); delay(); which should always be: memory mapped write(); write flush(); /* aka memory mapped read */ delay(); explanation: The reason for including the flush is that writes can be held (posted) in PCI/PCIe bridges, but the read always has to complete synchronously and therefore has to flush all pending writes to a device. If a write is held and followed by a delay, the delay means nothing because the write may not have reached hardware (maybe even not until the next read) Signed-off-by: Jesse Brandeburg Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed