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

Re: [RFC 1/7] x86/iommu: make AMD-Vi and Intel VT-d support configurable


  • To: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 21 Dec 2022 08:51:48 +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=IQq/3iVC2wrZ3RIdjdGxTqD45D3qADRObX10SilQecI=; b=dk26cDvAafoIeEeQ1HVChjeXnRhs11gwKbgXNscWfzmBEDay+tE6kc5ebh8Pp5XK+xNl+0f2vQt/tj3TTXNssGGrAqaqzgPbjyx4IiyOYnPvqvoXzpHKN2XRbJdjZTtIdpWbxlkHtN9COk0HFiHWhnL4Ac67f4bqZ190qyUhICiMtLHsrw+izQwS+AxuvUD34U7I06Hc3fGABNs0Ruf1Bz7bGx3k7s5GghYwAkO+4E+f1ZH7ezujADnxroy+qQhr+nx7rSoaYi8sZSG2hfV1GPN5HqyDMEq9Ati0P25cLwmTN6ixzVe1Wo+Ka82gZr6iHEv7isOEGbTHE2AdqdGzxQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ek4CYI3L+JZvEzK0DHECvLkbjtSHaVUPgMcyNnSaTO1gYOq/2rh+4VNgWj6WxqQap0bcS3Dui+M6hCu4A4O5Nsu0/CPVoGC9t/R/0UpSLW3lXvc21SvdFhgz2MlIjfFSJPPsY4LrGzoKhAQctFmc1GV3NxAY/gqGx4UWJjIYQhRROth0p/M9mM6rxsMSv8cCSZYtRtXCOer+8otelim9ab6eEGFAedHFJG1/DavtchrsqpVRaF/Fa1jmIaCjDC7yXRalR/qc4qJH8X5AWuB+Og7gwmCQL9wOuRHPtWuqKHSOuC77LHf2NLdZJEQzWEvAHMbNcr+WuwO33a/mgiEY0Q==
  • 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 Monné <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Delivery-date: Wed, 21 Dec 2022 07:52:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 19.12.2022 07:34, Xenia Ragiadakou wrote:
> --- a/xen/drivers/passthrough/Kconfig
> +++ b/xen/drivers/passthrough/Kconfig
> @@ -37,6 +37,22 @@ config IPMMU_VMSA
>  
>  endif
>  
> +config AMD_IOMMU
> +     bool "AMD IOMMU"
> +     depends on X86
> +     default y
> +     ---help---
> +       Enables I/O virtualization on platforms that implement the
> +       AMD I/O Virtualization Technology (IOMMU).
> +
> +config INTEL_VTD
> +     bool "Intel VT-d"
> +     depends on X86
> +     default y
> +     ---help---
> +       Enables I/O virtualization on platforms that implement the
> +       Intel Virtualization Technology for Directed I/O (Intel VT-d).

One more thing Andrew and I have been talking about: As he has mentioned
elsewhere, IOMMU support is needed to boot systems with more than 254
CPUs (depending on APIC ID layout the boundary may actually be lower).
Hence it needs to at least be considered to make the prompts here (to
be precise: in the much later patch adding the prompts) dependent on
EXPERT, to prevent people from unknowingly building a non-functioning
(on some systems) hypervisor.

Jan



 


Rackspace

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