Thread (39 messages) 39 messages, 5 authors, 2021-07-23

RE: [PATCH 3/6] vfio: remove the unused mdev iommu hook

From: "Tian, Kevin" <kevin.tian@intel.com>
Date: 2021-07-23 05:38:41
Also in: kvm, linux-iommu

From: Christoph Hellwig <hch@lst.de>
Sent: Thursday, July 22, 2021 9:35 PM

On Wed, Jun 30, 2021 at 09:08:19AM +0000, Tian, Kevin wrote:
quoted
The iommu layer should maintain above attaching status per device and
per
quoted
iommu domain. There is no mdev/subdev concept in the iommu layer. It's
just about RID or PASID.
Yes, I think that makes sense.
quoted
And a new set of IOMMU-API:

    - iommu_{un}bind_pgtable(domain, dev, addr);
    - iommu_{un}bind_pgtable_pasid(domain, dev, addr, pasid);
    - iommu_cache_invalidate(domain, dev, invalid_info);
What caches is this supposed to "invalidate"?
pasid cache, iotlb or dev_iotlb entries that are related to the bound 
pgtable. the actual affected cache type and granularity (device-wide,
pasid-wide, selected addr-range) are specified by the caller.

Thanks
Kevin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help