diff options
author | 2011-04-11 11:42:43 +0100 | |
---|---|---|
committer | 2011-04-12 23:52:44 +0100 | |
commit | fcfa060468a4edcf776f0c1211d826d5de1668c1 (patch) | |
tree | 3e8387932c5cc10facffa248ecfb648564a9ae5e /tools/perf/scripts/python | |
parent | sfc: Do not use efx_process_channel_now() in online self-test (diff) | |
download | linux-dev-fcfa060468a4edcf776f0c1211d826d5de1668c1.tar.xz linux-dev-fcfa060468a4edcf776f0c1211d826d5de1668c1.zip |
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 <bhutchings@solarflare.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions