[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v5 06/10] IOMMU/MMU: propagate IOMMU Device-TLB flush error up to iommu_iotlb_flush{, _all} (top level ones).
>>> On 24.05.16 at 10:11, <quan.xu@xxxxxxxxx> wrote:
> I thought the IOMMU / MM boundary is the MM functions (high level callers)
> which call iommu_* interfaces (such as, iommu_map_page / iommu_unmap_page /
> iommu_iotlb_flush ...).
Exactly - the boundary is _in_ those MM functions, at the points where
they call IOMMU ones.
> For this case, the xenmem_add_to_physmap() indeed calls iommu_iotlb_flush(),
> but xenmem_add_to_physmap() may be hypervisor interface, instead of MM
> interface.
>
> If I drop this __must_check and fix patch 3 / patch 5, then I think
> __must_check would not be a block issue.
Not sure what "a block issue" is supposed to mean here, but indeed
if you drop the annotations from non-IOMMU functions (unless, as
said, you mean to also add them further up the call trees), then I
think things should be coming close.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|