Thread (34 messages) 34 messages, 6 authors, 2023-03-21

Re: [LSF/MM/BPF BoF]: extend UBLK to cover real storage hardware

From: Bart Van Assche <bvanassche@acm.org>
Date: 2023-02-08 18:04:26

On 2/7/23 17:38, Ming Lei wrote:
Here I meant we can export physical address of request sg from
/dev/ublkb* to userspace, which can program the DMA controller
using exported physical address. With this way, the userspace driver
can submit IO without entering kernel, then with high performance.
Hmm ... security experts might be very unhappy about allowing user space 
software to program iova addresses, PASIDs etc. in DMA controllers 
without having this data verified by the kernel. Additionally, hardware 
designers every now and then propose new device multiplexing mechanisms, 
e.g. scalable IOV which is an alternative for SRIOV. Shouldn't we make 
the kernel deal with these mechanisms instead of user space?

Thanks,

Bart.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help