Skip to content

firewire: order of memory accesses (bus generation vs. node ID)

Stefan Richter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4firewire: fw-sbp2: use device generation, not card generationdrivers/firewire/fw-sbp2.c+6 -61 reply
2/4firewire: fw-cdev: use device generation, not card generationdrivers/firewire/fw-cdev.c+1 -11 reply
3/4firewire: enforce access order between generation and node IDdrivers/firewire/fw-cdev.c drivers/firewire/fw-device.c drivers/firewire/fw-device.h +2 more+31 -25 replies
4/4firewire: fw-core: react on bus resets while the config ROM is being fetcheddrivers/firewire/fw-device.c+17 -112 replies
4/4firewire: fw-core: react on bus resets while the config ROM is being fetcheddrivers/firewire/fw-device.c+17 -82 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] firewire: order of memory accesses (bus generation vs. node ID)

I now updated some patches from November according to comments I received from Nick back then. As Jarod found out now while testing the November versions, parts of these patches actually fix multiply reported bugs.

While updating this stuff, I also found two more read sites where the read order was not properly enforced.

Incoming:
1/4 firewire: fw-sbp2: use device generation, not card generation 2/4 firewire: fw-cdev: use device generation, not card generation 3/4 firewire: enforce access order between generation and node ID 4/4 firewire: fw-core: react on bus resets while the config ROM is being fetched

 drivers/firewire/fw-cdev.c     |    3 ++-
 drivers/firewire/fw-device.c   |   33 ++++++++++++++++++++++++---------
 drivers/firewire/fw-device.h   |   12 ++++++++++++
 drivers/firewire/fw-sbp2.c     |   14 ++++++++------
 drivers/firewire/fw-topology.c |    5 +++++
 5 files changed, 51 insertions(+), 16 deletions(-)
Signature · 3 lines
Stefan Richter
-=====-==--- ---= ==---
http://arcgraph.de/sr/