[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC 0/7] Proposal to make x86 IOMMU driver support configurable


  • To: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 20 Dec 2022 11:09:33 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HJgwyheY1nbA1kwZdxLhgY1wrXCNf02fI8FmSUuOyPU=; b=mZik+mOxMoWTOJiPaonzIKgbudLRcpJpu4Jlj5ak2037HN4P/rLfIBotqhs/NYeXLMf/UihJorRndTPyqYJ/UjEyEXYm9Exnb8yGJaF3MHUutS3IQrlLvRerYJOYGtV2iuSwXbao7AKlhqkPcmU6tjV3bIh7wN4CTHXST1zRqqalT67vQIG4dZJq5pUf5+NVeLWRBi72Bh9g+8s26/MfMwrYF6O3YNWcKigu/IOi7fmx9e0gkEBMSIZldXImx/9UC+VHBR4eqo6lctoJESRR5dVcK5NCVNO4TJVRW4Qcchamo5GCr37DzbuTI2da5nlKvdK9ezQDNEvLBgXL9okqow==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SoUHknB3o9xGxmg/o83hGvzC+q+B0H3z1DuY3aLtvATFn/lsTf03HhVp2vWVAYq4dnHBUqxKS+w5KUZVeZc96xZh869NYSK8KVAfjwfEMZDhQtT8GP1ZczK6ajCgsA+4rD46NALkz9bY21Mr/+unLvbOvc3udOHYzv6NHtLp3ngR2hGZjuiYwQxV0UN2hCskA1xvhcx5UCptWEiiOgL/X5WmtFV078uWGacK0jHQqzz5YTmLQYlcjD1cIogl3Aa9Vjp6Jts3f/Kq43n3QBgtzlnxKpl6bsZp7vLgJDIxofvG6OP0Y1+pMtog2lHU3B5LIM7aiDktx4azFigNdEe4Jg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Paul Durrant <paul@xxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Jun Nakajima <jun.nakajima@xxxxxxxxx>, Kevin Tian <kevin.tian@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 20 Dec 2022 10:09:42 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 19.12.2022 19:28, Andrew Cooper wrote:
> IOMMUs are more tricky still.  They are (for most intents and purposes)
> mandatory on systems with >254 CPUs.  We could in principle start
> supporting asymmetric IRQ routing on large systems, but Xen doesn't
> currently and it would be a lot work that's definitely not high on the
> priority list.  At a minimum, this will need expressing in the Kconfig
> help text.
> 
> We need to decide whether it is sensible to allow users to turn off
> IOMMU support.  It probably is, because you could trivially do this by
> selecting CONFIG_INTEL only, and booting the result on an AMD system.

One other thing Andrew and I have been talking about: We probably do
not want to tie the IOMMU vendor control to CPU vendor one. IOW we'd
like to be able to e.g. build a hypervisor supporting Intel (only) as
the CPU vendor, but at the same time having support for an AMD IOMMU.

> For the names, I don't think AMD_IOMMU vs INTEL_VTD is a sensible. 
> Probably wants to be INTEL_IOMMU to match.

Or simply VTD, covering the case than some other vendor comes up with a
clone. But of course we have that same issue with "AMD" and Hygon ...

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.