From: Neil Turton Date: Mon, 11 Apr 2011 10:42:43 +0000 (+0100) Subject: sfc: Use rmb() to ensure reads occur in order X-Git-Tag: v2.6.39-rc5~40^2~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcfa060468a4edcf776f0c1211d826d5de1668c1;p=pandora-kernel.git sfc: Use rmb() to ensure reads occur in order Enabling write-combining may also enable read reordering. The BIU is only guaranteed to read from a 128-bit CSR or 64-bit SRAM word when the host reads from its lowest address; otherwise the BIU may use the latched value. Therefore we need to reinstate the read memory barriers after the first read operation for each CSR or SRAM word. Signed-off-by; Ben Hutchings --- Reading git-diff-tree failed