[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181217130541.3261-1-anssi.hannula@bitwise.fi>
Date: Mon, 17 Dec 2018 15:05:38 +0200
From: Anssi Hannula <anssi.hannula@...wise.fi>
To: davem@...emloft.net, netdev@...r.kernel.org
Cc: Nicolas Ferre <nicolas.ferre@...rochip.com>,
Claudiu.Beznea@...rochip.com
Subject: [PATCH v2 0/3] net: macb: DMA race condition fixes
Hi all,
Here are a couple of race condition fixes for the macb driver. The first
two are for issues observed at runtime on real HW.
v2:
- added received Tested-bys and Acked-bys to the first two patches
- in patch 3/3, moved the timestamp protection barrier closer to the
timestamp reads
- in patch 3/3, removed unnecessary move of the addr assignment in
gem_rx() to keep the patch minimal for maximum clarity
- in patch 3/3, clarified commit message and comments
The 3/3 is the same one I improperly sent last week as a standalone
patch.
Anssi Hannula (3):
net: macb: fix random memory corruption on RX with 64-bit DMA
net: macb: fix dropped RX frames due to a race
net: macb: add missing barriers when reading descriptors
drivers/net/ethernet/cadence/macb_main.c | 27 +++++++++++++++++++-----
drivers/net/ethernet/cadence/macb_ptp.c | 2 ++
2 files changed, 24 insertions(+), 5 deletions(-)
--
Anssi Hannula / Bitwise Oy
Powered by blists - more mailing lists