Re: [PATCH] bsps/xqspipsu: Handle SMP systems properly

2023-06-21 Thread Chris Johns
OK Chris On 22/6/2023 2:09 am, Kinsey Moore wrote: > The NOR driver was not written with SMP systems and caching in mind. > This makes the IsBusy flag volatile for updates across cores and > introduces cache flushing and invalidation where necessary for data > manipulated by the DMA engine in

[PATCH] bsps/xqspipsu: Handle SMP systems properly

2023-06-21 Thread Kinsey Moore
The NOR driver was not written with SMP systems and caching in mind. This makes the IsBusy flag volatile for updates across cores and introduces cache flushing and invalidation where necessary for data manipulated by the DMA engine in the QSPI peripheral. --- bsps/include/dev/spi/xqspipsu.h