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: <20240717082145.GA15484@lst.de>
Date: Wed, 17 Jul 2024 10:21:45 +0200
From: Christoph Hellwig <hch@....de>
To: Leon Romanovsky <leon@...nel.org>
Cc: Christoph Hellwig <hch@....de>, Robin Murphy <robin.murphy@....com>,
	Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
	Marek Szyprowski <m.szyprowski@...sung.com>,
	Leon Romanovsky <leonro@...dia.com>,
	Easwar Hariharan <eahariha@...ux.microsoft.com>,
	linux-kernel@...r.kernel.org, iommu@...ts.linux.dev,
	Jason Gunthorpe <jgg@...dia.com>
Subject: Re: [PATCH v1 2/2] dma: Add IOMMU static calls with clear default
 ops

dma_is_default_iommu still looks a bit odd to me - basically we have
the ops structure just to say to bypass it.  Why not add a single-bit
dma_iommu field to struct device next to dma_ops_bypass to skip it?
Then IOMMU_DMA also does not need to select DMA_OPS any more, which
would be kinda silly with the direct calls.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ