Re: [PATCH v7 05/10] accel/rocket: Add IOCTLs for synchronizing memory accesses

2025-06-24 Thread Robin Murphy
On 2025-06-06 7:28 am, Tomeu Vizoso wrote: The NPU cores have their own access to the memory bus, and this isn't cache coherent with the CPUs. Add IOCTLs so userspace can mark when the caches need to be flushed, and also when a writer job needs to be waited for before the buffer can be accessed

[PATCH v7 05/10] accel/rocket: Add IOCTLs for synchronizing memory accesses

2025-06-05 Thread Tomeu Vizoso
The NPU cores have their own access to the memory bus, and this isn't cache coherent with the CPUs. Add IOCTLs so userspace can mark when the caches need to be flushed, and also when a writer job needs to be waited for before the buffer can be accessed from the CPU. Initially based on the same IO