[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: Tue, 20 Dec 2022 18:01:49 +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=xA7NX3RceTIHXEDDBCrr4AsSoQVS/CluVFtq3qSJzns=; b=kSrDFGazW5V22cCLRcxjSh7IQIH+lia7bgDWa9LJyvQQO6C9Liku7to/rzWvPE/ppXMZH4G3DmzK2CSG2157KTd+cKFGC9XoaVyiMb8pPxfUkJzHw7UFlrjzo3cZ6kh10+RrlzqteFSWkIKviwdF7aOiSPmEImh+hM1ro19oNTi7sc0xckOE3+nca9H070dgs88YQ2/KrsF3q9IzVtR+qHyQIaU/w1v/hN+CzDs2ONmiJZPh11qXc9ZtH7d1ltPYBY7OJ9JJA0FmS+ldLAJSE2HZCxdK+JFLcdEg2Xz/xYQALvSm2u7DPADdPXJrm9+VyjVJkSnEYHeDpLxELIlI9w==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lULTcHBwPglg8ujZAkagSFakw6/MrK9dodZPLHNRzwjsRbKYn5a46780aVTo9aeBsqvLvGghm/pwVYTBKMYIa8Xocd/xB9+rnwiliFhraWvHKmR28xA8KBGd9McylHOi+RfQMqBdqB1eoGOiqOWOgPc5bISi7a6KXkuhc66VjRQ2Qpx7lPTZcJBnyi3XvltkBAG2XAvUJ8VR11rErc2QHGlHywYux0uoQyo0aJyu4yQvpxVHahCVFAQ+Yb9lzitcDH1um1kQka2SN59KbvgED0gPYyWl1gBVYjoRRsZ7tlvlWijISKVQ+HKVNWL7oqyzDPDpizvKYH/6QFFGqvZ5sw==
- 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
- Delivery-date: Tue, 20 Dec 2022 17:02:00 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 19.12.2022 07:34, Xenia Ragiadakou wrote:
> Currently, for x86 platforms, Xen does not provide to the users any
> configuration control over the IOMMU support and can only be built with
> both AMD and Intel IOMMU drivers enabled.
> However, there are use cases, e.g in safety-critical systems, that require
> Xen to be able to be configured to exclude unused code. A smaller tailored
> configuration would help Xen to meet faster certification requirements for
> individual platforms.
>
> Introduce two new Kconfig options, AMD_IOMMU and INTEL_VTD, to allow code
> specific to each IOMMU technology to be separated and, when not required,
> stripped. AMD_IOMMU enables IOMMU support for platforms that implement the
> AMD I/O Virtualization Technology. INTEL_VTD enables IOMMU support for
> platforms that implement the Intel Virtualization Technology for Directed I/O.
>
> Since no functional change is intended regarding the default configuration
> of an x86 system, both options depend on x86 and default to 'y'.
But do things also build successfully when one or both options are disabled?
I have to say that I would be quite surprised if that worked without further
adjustments. In which case initially these options want to be prompt-less,
with the prompts only added once 'n' also works.
Jan
|