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

"Alexandre Courbot" <[email protected]>
Newsgroups org.kernel.vger.linux-pwm,dev.linux.lists.driver-core,dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci,org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
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 <[email protected]>

This is beautiful. :_)

Reviewed-by: Alexandre Courbot <[email protected]>

(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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.