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: <ZW7MnVXWw13W3yn/@yzhao56-desk.sh.intel.com>
Date:   Tue, 5 Dec 2023 15:09:17 +0800
From:   Yan Zhao <yan.y.zhao@...el.com>
To:     Jason Gunthorpe <jgg@...dia.com>
CC:     <iommu@...ts.linux.dev>, <kvm@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, <alex.williamson@...hat.com>,
        <pbonzini@...hat.com>, <seanjc@...gle.com>, <joro@...tes.org>,
        <will@...nel.org>, <robin.murphy@....com>, <kevin.tian@...el.com>,
        <baolu.lu@...ux.intel.com>, <dwmw2@...radead.org>,
        <yi.l.liu@...el.com>
Subject: Re: [RFC PATCH 14/42] iommufd: Enable KVM HW page table object to be
 proxy between KVM and IOMMU

On Mon, Dec 04, 2023 at 02:34:10PM -0400, Jason Gunthorpe wrote:
> On Sat, Dec 02, 2023 at 05:22:16PM +0800, Yan Zhao wrote:
> > +config IOMMUFD_KVM_HWPT
> > +	bool "Supports KVM managed HW page tables"
> > +	default n
> > +	help
> > +	  Selecting this option will allow IOMMUFD to create IOMMU stage 2
> > +	  page tables whose paging structure and mappings are managed by
> > +	  KVM MMU. IOMMUFD serves as proxy between KVM and IOMMU driver to
> > +	  allow IOMMU driver to get paging structure meta data and cache
> > +	  invalidate notifications from KVM.
> 
> I'm not sure we need a user selectable kconfig for this..
> 
> Just turn it on if we have kvm turned on an iommu driver implements it
>
Got it, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ