Re: [PATCH v5 17/20] gpu: nova-core: use I/O projection for cleaner encapsulation

From: Alexandre Courbot

Date: Fri Jul 03 2026 - 10:47:37 EST


On Fri Jun 26, 2026 at 11:45 PM JST, Gary Guo wrote:
> Use `io_project!` for PTE array and message queues to restore the proper
> encapsulation.
>
> The remaining `dma_read!` and `dma_write!` is now only acting on
> primitives; thus replace by `io_read!` and `io_write!`.
>
> Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>

This is beautiful. :_)

Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>

(the memory barrier concern raised by Sashiko looks real - and IIUC was
already discussed before - but not introduced by this series so let's
address that separately)