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

Re: [PATCH v2 2/8] x86/iommu: amd_iommu_perdev_intremap is AMD-Vi specific


  • To: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 11 Jan 2023 16:03:30 +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=UeZYyUPop4VvJLAt7/aINgFGYQAOIKFvFeiRXTQo8g4=; b=mVZmY8xqziqujV6fPO7T5BbDrC6WcQ+m/P5qkM7gFvhZBsLbGSNiT+dzYkNPJRNkUpja7G2oxlXQEcYO1lY19BYdFF8KYOrAR81QaNO+Lkm3+cSHkGGWKS3GkEiYPf1NOmYvDK1QgsLtLRUNDegB33ClpDEW36E236AYcefkGJd7D0cCVjVd7IC1aLF3pMXe6JYXV37KX48IQ4LSZVa+DaxyWyoNNQ0YdWddIFWRnXpDLiBbMXfVOXvpyhLEOz9CoQRlsDllMT5lbIXsvfb/zHSefNuXbfKSS1ERMEE84bvvWhRuZS08s4d1cve+fodlcnRxz9DTIdEon7AZ0jiK7Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kH9vcWJ9kkOGpKMUpOq6ex7oKL1dSmJZ1RnC+nAoXuildWt1487dzMy+sqfFyD4nny+jKv1zNhB0iMpSgUVfsq2/sx/G/9WeQMKKORUx336pZMkt38mUuJnQZ9IUV0eFeG6UjIK2/PV3AgQn24yw25RryagKppoHs6sW5EyY23l71d9TR8FbAPP8ii7ftBquSPZBxs+6gM+yPa1SZY5czD7AO+svguPuTJrkQfKbyF0zCF2Oe9rj46JrqOeo+xcbuUOjemDAyO2MQ0KBoraW6TYB3g+5Znctz0K9+tWn43sN+CxOoUSgcbua4Ad5BnWc7ZnT/B8BV+w6fjAQqlvNRA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Paul Durrant <paul@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 11 Jan 2023 15:03:43 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 04.01.2023 09:44, Xenia Ragiadakou wrote:
> @@ -116,7 +115,11 @@ static int __init cf_check parse_iommu_param(const char 
> *s)
>                  iommu_verbose = 1;
>          }
>          else if ( (val = parse_boolean("amd-iommu-perdev-intremap", s, ss)) 
> >= 0 )
> +#ifdef CONFIG_AMD_IOMMU
>              amd_iommu_perdev_intremap = val;
> +#else
> +            no_config_param("AMD_IOMMU", "amd-iommu-perdev-intremap", s, ss);

The string literal wants to be "iommu", I think. Please see other uses of
no_config_param().

Jan



 


Rackspace

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