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: <20250121140553.GP674319@ziepe.ca>
Date: Tue, 21 Jan 2025 10:05:53 -0400
From: Jason Gunthorpe <jgg@...pe.ca>
To: Wencheng Yang <east.moutain.yang@...il.com>
Cc: alex.williamson@...hat.com, iommu@...ts.linux.dev, joro@...tes.org,
	kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
	robin.murphy@....com, suravee.suthikulpanit@....com,
	will@...nel.org
Subject: Re: [PATCH v3 1/3] uapi/linux/vfio:Add VFIO_DMA_MAP_FLAG_MMIO flag

On Tue, Jan 21, 2025 at 07:28:34PM +0800, Wencheng Yang wrote:
> The flag will be used by VFIO to map DMA for device MMIO on IOMMU page table.

Definitely not, the kernel needs to know and protect the memory type
itself. Userspace cannot be allowed to override things

Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ