Re: [PATCH v11 0/8] Add iommufd nesting (part 2/2)

Jason Gunthorpe
2024-01-11T19:56:48Z

On Wed, Jan 10, 2024 at 08:10:07PM -0800, Yi Liu wrote:
> v11:
> - Drop hw_error field in vtd cache invalidation uapi. devTLB invalidation
> error is a serious security emergency requiring the host kernel to handle.
> No need to expose it to userspace (especially given existing VMs doesn't
> issue devTLB invalidation at all).
> - The vtd qi_submit_sync() and related callers are reverted back to the
> original state due to above drop.
> - Align with the vtd path, drop the hw_error reporting in mock driver and
> selftest as well since selftest is a demo of the real driver.
> - Drop iommu_respond_struct_to_user_array() since no more driver want to
> respond single entry in the user_array.
> - Two typos from Wubinbin

Okay, this is very last minute but I updated the series.

Jason