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: <aDCKsK2-zRkqge64@infradead.org>
Date: Fri, 23 May 2025 07:48:16 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Daisuke Matsuda <dskmtsd@...il.com>
Cc: linux-rdma@...r.kernel.org, linux-mm@...ck.org, leon@...nel.org,
	jgg@...pe.ca, akpm@...ux-foundation.org, jglisse@...hat.com,
	linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
	zyjzyj2000@...il.com
Subject: Re: [PATCH] mm/hmm: Allow hmm_dma_map_alloc() to tolerate NULL device

On Fri, May 23, 2025 at 02:35:37PM +0000, Daisuke Matsuda wrote:
> Some drivers (such as rxe) may legitimately call hmm_dma_map_alloc() with a
> NULL device pointer,

No, they may not.  If something has no device with physical DMA
capabilities, it has not business calling into it.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ