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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024012219-mushiness-implement-4fb5@gregkh>
Date: Mon, 22 Jan 2024 12:44:28 -0800
From: Greg KH <greg@...ah.com>
To: "Isaac J. Manjarres" <isaacmanjarres@...gle.com>
Cc: stable@...r.kernel.org, Joerg Roedel <joro@...tes.org>,
	Will Deacon <will@...nel.org>, Lu Baolu <baolu.lu@...ux.intel.com>,
	Tom Murphy <murphyt7@....ie>,
	Saravana Kannan <saravanak@...gle.com>,
	Joerg Roedel <jroedel@...e.de>, kernel-team@...roid.com,
	iommu@...ts.linux-foundation.org, iommu@...ts.linux.dev,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5.15.y] iommu/dma: Trace bounce buffer usage when mapping
 buffers

On Mon, Jan 22, 2024 at 12:37:54PM -0800, Isaac J. Manjarres wrote:
> When commit 82612d66d51d ("iommu: Allow the dma-iommu api to
> use bounce buffers") was introduced, it did not add the logic
> for tracing the bounce buffer usage from iommu_dma_map_page().
> 
> All of the users of swiotlb_tbl_map_single() trace their bounce
> buffer usage, except iommu_dma_map_page(). This makes it difficult
> to track SWIOTLB usage from that function. Thus, trace bounce buffer
> usage from iommu_dma_map_page().
> 
> Fixes: 82612d66d51d ("iommu: Allow the dma-iommu api to use bounce buffers")
> Cc: stable@...r.kernel.org # v5.15+
> Cc: Tom Murphy <murphyt7@....ie>
> Cc: Lu Baolu <baolu.lu@...ux.intel.com>
> Cc: Saravana Kannan <saravanak@...gle.com>
> Signed-off-by: Isaac J. Manjarres <isaacmanjarres@...gle.com>
> Link: https://lore.kernel.org/r/20231208234141.2356157-1-isaacmanjarres@google.com
> Signed-off-by: Joerg Roedel <jroedel@...e.de>
> (cherry picked from commit a63c357b9fd56ad5fe64616f5b22835252c6a76a)
> Signed-off-by: Isaac J. Manjarres <isaacmanjarres@...gle.com>

Now queued up, thanks.

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ