RE: [PATCH rc 1/8] iommu/vt-d: Track nested domains in parent

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

 



> From: Liu, Yi L <yi.l.liu@xxxxxxxxx>
> Sent: Thursday, February 8, 2024 4:23 PM
> 
>  static void intel_nested_domain_free(struct iommu_domain *domain)
>  {
> +	struct dmar_domain *dmar_domain = to_dmar_domain(domain);
> +	struct dmar_domain *s2_domain = dmar_domain->s2_domain;
> +
> +	spin_lock(&s2_domain->s1_lock);
> +	list_del(&dmar_domain->s2_link);
> +	spin_unlock(&s2_domain->s1_lock);
>  	kfree(to_dmar_domain(domain));

use 'dmar_domain'.

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux