回复:[PATCH v1 10/17] net/nbl:  bus/pci: introduce get_iova_mode for pci dev
    Stephen Hemminger 
    stephen at networkplumber.org
       
    Fri Jun 13 17:21:10 CEST 2025
    
    
  
On Fri, 13 Jun 2025 10:28:06 +0800
"Kyo.Liu" <kyo.liu at nebula-matrix.com> wrote:
> Hello, Stephen:
>  Thanks for your review. This patch is particularly important for our NBL driver because our coexistence implementation depends on it.
> Unlike RDMA devices that support hardware page table translation, our hardware requires a software-managed approach to avoid IOVA conflicts since both user-space and kernel-space DMA operations share the same domain. This architectural constraint makes the patch essential for:
> 1. Maintaining correct memory isolation
> 2. Preventing IOVA collisions in shared DMA operations
> 3. Enabling safe driver coexistence
> We'd be happy to:
> 1. Provide additional technical details if needed
> 2. Make any necessary adjustments based on your feedback
> Anyway, we really hope this patch could be accepted, Thanks again
The approach is sound just want more feedback from the developers.
Other drivers may have similar things to worry about.
If the driver is upstream then it makes it easier to test and review.
    
    
More information about the dev
mailing list