[PATCH net 1/1] net: stmmac: add fsleep() in HW Rx timestamp checking loop

Richard Cochran richardcochran at gmail.com
Wed Apr 20 05:54:39 PDT 2022


On Wed, Apr 20, 2022 at 01:15:08PM +0800, Tan Tee Min wrote:
> No. The context descriptor (frame) is possibly still owned by the
> DMA controller in this situation.

So that is a problem.  The solution is to postpone this logic until
the driver owns the buffer.  Doesn't the HW offer some means of
notification, like an interrupt for example?

Thanks,
Richard




More information about the linux-arm-kernel mailing list