Re: [RFC] /dev/ioasid uAPI proposal

From: Lu Baolu
Date: Mon May 31 2021 - 23:10:11 EST


On 6/1/21 2:09 AM, Jason Gunthorpe wrote:
device bind should fail if the device somehow isn't compatible with
the scheme the user is tring to use.
yeah, I guess you mean to fail the device attach when the IOASID is a
nesting IOASID but the device is behind an iommu without nesting support.
right?
Right..

Just want to confirm...

Does this mean that we only support hardware nesting and don't want to
have soft nesting (shadowed page table in kernel) in IOASID?

Best regards,
baolu