Files
linux/drivers
Stefan Richter ee71c2f9ee firewire: fw-ohci: enforce read order for selfID generation
It seems unlikely, but access to self_id_cpu[0] could at least in theory
be deferred until after the loop over self_id_cpu[1..n] or even after
the subsequent reg_read.  Enforce the desired order by a read barrier.

Also prevent the reg_read from being reordered relative to the for loop.
This isn't necessary if the loop's conditional printk counts as an
implicit barrier, but better make it explicit.

(self_id_cpu[] is a coherent DMA buffer.)

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2007-10-17 00:00:05 +02:00
..
2007-07-31 15:39:39 -07:00
2007-08-22 19:52:46 -07:00
2007-10-16 09:43:20 -07:00
2007-07-21 18:37:12 -07:00
2007-10-16 09:43:09 -07:00
2007-10-16 09:43:09 -07:00
2007-10-16 11:21:00 +02:00
2007-10-16 13:48:46 +02:00
2007-07-20 14:25:51 +10:00
2007-07-31 15:39:37 -07:00
2007-10-16 11:21:00 +02:00
2007-10-16 09:43:10 -07:00
2007-10-14 08:53:33 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 15:57:16 -07:00
2007-07-26 11:35:17 -07:00
2007-10-16 09:43:09 -07:00
2007-10-16 09:43:09 -07:00