Re: [RFC PATCH v3 8/8] vfio: Add nested IOPF support

From
Shenming Lu <hidden>
Date
2021-06-01 04:36:21
Also in
kvm, linux-api, linux-iommu, lkml
Reply to
Lu Baolu, 2021-05-27
On 2021/5/27 19:18, Lu Baolu wrote:
Hi Shenming and Alex,

On 5/27/21 7:03 PM, Shenming Lu wrote:
quoted
quoted
I haven't fully read all the references, but who imposes the fact that
there's only one fault handler per device?  If type1 could register one
handler and the vfio-pci bus driver another for the other level, would
we need this path through vfio-core?
If we could register more than one handler per device, things would become
much more simple, and the path through vfio-core would not be needed.

Hi Baolu,
Is there any restriction for having more than one handler per device?
Currently, each device could only have one fault handler. But one device
might consume multiple page tables. From this point of view, it's more
reasonable to have one handler per page table.
Sounds good to me. I have pointed it out in the IOASID uAPI proposal. :-)

Thanks,
Shenming
Best regards,
baolu
.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (40 messages) 40 messages, 3 authors, last reply 2021-06-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help