Re: [PATCH] net: qca_spi: Fix race condition in spi transfers

From: David Miller
Date: Sun Sep 02 2018 - 01:27:43 EST


From: Stefan Wahren <stefan.wahren@xxxxxxxx>
Date: Fri, 31 Aug 2018 14:53:01 +0200

> The performance optimization with the prepared spi messages
> also introduced a race condition between the kernel thread
> and the register dump. This could make spi_sync hang forever.
>
> So revert the optimization completely.
>
> Signed-off-by: Stefan Wahren <stefan.wahren@xxxxxxxx>

Please resubmit this patch with a better commit message, explaining in
more detail what the race is exactly.

Thank you.