[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 15/21] xen/passthrough: Call arch_iommu_domain_destroy before calling iommu_teardown



>>> On 31.07.14 at 17:00, <julien.grall@xxxxxxxxxx> wrote:
> arch_iommu_domain_destroy contains specific architecture code.
> 
> On x86, this code will clean up the ioport_list which is not used in
> both iommu (i.e AMD & x86) drivers.
> 
> On ARM, the toolstack may not have deassign every device to the guest.
> Therefore, we have to go through the device list and removing them before
> asking the IOMMU drivers to release memory for this domain. This is done
> by iommu_dt_domain_destroy which is called by arch_iommu_domain_destroy.
> 
> Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
> Cc: Jan Beulich <jbeulich@xxxxxxxx>
> 
> ---
>     I didn't change this patch as I wasn't sure what was the conclusion of
>     the discussion on the RFC

My perspective hasn't changed. And rather than leaving hunting down
that previous discussion in the list archives to every one of those who
read this, you could have included a reference here.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.