lkml.org 
[lkml]   [2021]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH 0/7] Untrusted device support for virtio
From
Date

在 2021/4/22 下午2:31, Christoph Hellwig 写道:
> On Wed, Apr 21, 2021 at 11:21:10AM +0800, Jason Wang wrote:
>> The behaivor for non DMA API is kept for minimizing the performance
>> impact.
> NAK. Everyone should be using the DMA API in a modern world. So
> treating the DMA API path worse than the broken legacy path does not
> make any sense whatsoever.


I think the goal is not treat DMA API path worse than legacy. The issue
is that the management layer should guarantee that ACCESS_PLATFORM is
set so DMA API is guaranteed to be used by the driver. So I'm not sure
how much value we can gain from trying to 'fix' the legacy path. But I
can change the behavior of legacy path to match DMA API path.

Thanks

\
 
 \ /
  Last update: 2021-04-22 10:21    [W:0.165 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site