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

"Gary Guo" <[email protected]>
Newsgroups dev.linux.lists.nova-gpu,dev.linux.lists.driver-core,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci,org.kernel.vger.linux-pwm,org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
On Fri Jul 3, 2026 at 3:46 PM BST, Alexandre Courbot wrote:
> 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)

See https://lore.kernel.org/rust-for-linux/[email protected].

Boqun already queued the first two patches for 7.3; Nova can start using it next
cycle.

Best,
Gary
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.