mirror of
https://github.com/torvalds/linux.git
synced 2025-11-02 17:49:03 +02:00
Add a final dma_wmb() barrier before triggering the transmit request
(TCCR_TSRQ) to ensure all descriptor and buffer writes are visible to
the DMA engine.
According to the hardware manual, a read-back operation is required
before writing to the doorbell register to guarantee completion of
previous writes. Instead of performing a dummy read, a dma_wmb() is
used to both enforce the same ordering semantics on the CPU side and
also to ensure completion of writes.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ravb.h | ||
| ravb_main.c | ||
| ravb_ptp.c | ||
| rcar_gen4_ptp.c | ||
| rcar_gen4_ptp.h | ||
| rswitch.h | ||
| rswitch_l2.c | ||
| rswitch_l2.h | ||
| rswitch_main.c | ||
| rtsn.c | ||
| rtsn.h | ||
| sh_eth.c | ||
| sh_eth.h | ||