lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BN9PR11MB52768F0FE6778D3DBA2FF2B88CBA2@BN9PR11MB5276.namprd11.prod.outlook.com>
Date: Fri, 9 Aug 2024 08:25:14 +0000
From: "Tian, Kevin" <kevin.tian@...el.com>
To: Lu Baolu <baolu.lu@...ux.intel.com>, Joerg Roedel <joro@...tes.org>, "Will
 Deacon" <will@...nel.org>, Robin Murphy <robin.murphy@....com>, "Jason
 Gunthorpe" <jgg@...pe.ca>
CC: "iommu@...ts.linux.dev" <iommu@...ts.linux.dev>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "Jason
 Gunthorpe" <jgg@...dia.com>
Subject: RE: [PATCH v4 4/7] iommu/vt-d: Remove has_iotlb_device flag

> From: Lu Baolu <baolu.lu@...ux.intel.com>
> Sent: Friday, August 9, 2024 1:54 PM
> 
> The has_iotlb_device flag was used to indicate if a domain had attached
> devices with ATS enabled. Domains without this flag didn't require device
> TLB invalidation during unmap operations, optimizing performance by
> avoiding unnecessary device iteration.
> 
> With the introduction of cache tags, this flag is no longer needed. The
> code to iterate over attached devices was removed by commit 06792d067989
> ("iommu/vt-d: Cleanup use of iommu_flush_iotlb_psi()").
> 
> Remove has_iotlb_device to avoid unnecessary code.
> 
> Suggested-by: Jason Gunthorpe <jgg@...dia.com>
> Signed-off-by: Lu Baolu <baolu.lu@...ux.intel.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ