From nobody Sat Nov 23 17:54:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=nutanix.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1723016345797535.7349350593506; Wed, 7 Aug 2024 00:39:05 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id C34C31280; Wed, 7 Aug 2024 03:39:04 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 0418A12CB; Wed, 7 Aug 2024 03:38:21 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id DE4F9D32; Wed, 7 Aug 2024 03:38:15 -0400 (EDT) Received: from mx0a-002c1b01.pphosted.com (mx0a-002c1b01.pphosted.com [148.163.151.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 46D1FD31 for ; Wed, 7 Aug 2024 03:38:15 -0400 (EDT) Received: from pps.filterd (m0127837.ppops.net [127.0.0.1]) by mx0a-002c1b01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4774QFUJ007770 for ; Wed, 7 Aug 2024 00:38:14 -0700 Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2042.outbound.protection.outlook.com [104.47.74.42]) by mx0a-002c1b01.pphosted.com (PPS) with ESMTPS id 40sgf67ub3-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 07 Aug 2024 00:38:14 -0700 (PDT) Received: from IA1PR02MB9017.namprd02.prod.outlook.com (2603:10b6:208:3ab::12) by CO1PR02MB8506.namprd02.prod.outlook.com (2603:10b6:303:159::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.23; Wed, 7 Aug 2024 07:38:12 +0000 Received: from IA1PR02MB9017.namprd02.prod.outlook.com ([fe80::d569:fbdf:590c:d616]) by IA1PR02MB9017.namprd02.prod.outlook.com ([fe80::d569:fbdf:590c:d616%3]) with mapi id 15.20.7828.023; Wed, 7 Aug 2024 07:38:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= proofpoint20171006; bh=MbEc/IMNAIv2z5MOyivYjRvW5lSY+S9JSrf9+d+ht +Y=; b=zwNWS2FB0Eh2VX+4rv+sEdJSQEVVrH57o5rZteZLy+RiTJmI8SUb017i8 zy1I2H7wH24qiLewWcTvi0MoSXI7nzwEEQURX6s5wT0aXUzA6O0dTC90lQDTjn4o YEuR0uYtDw8a5RXTjD5FtEltFS3l+wpMG65lkr5hFiJx7guHBfsc+NaRErE3KbUB xD4D5MMZj+5NNArKOXCwH/vYurkjNB8XbCNt+khOAOahis85saM+TJRdS/zmAZzW lqusALpbEyNjYUS6tH8H3ATvgMBOIjSZoTY7KMadBdcym3cFSJqe3myMaCth3HR+ OeUArZVIcf5MxMrXBmMm13R5BMoXg== ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=al1DmU3a7re/jTNJdAh5W25R6bZrfrQYXCHrwuFBJMXadLY0hr+b1SPWptKEEfCCttXpvGAx1iIUbNKvcB95ard3rBhsvuXItHIkcgf3WJYgCv1c+6rbLBDwCDwYS1UD68DsSo+18ZDjiwdBzc+qI8qn4tQaL2+vPq568aGpYJe4GpImXapCKKHM59Boj84OQ/DC+HDuiwhd4Hg0jHf9C0ne7U0ITBVSH4nGCVvpCLnIIo0FZNL74B+oifqUoBgE+wE0+pIXpH4jRsWjWz8wQkGh3qjAJGNIPuHHxcQEyFdfCq7/1/9X8uCVSHLl3tkDOrKUPYtXPMWBtq9TX96+5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=MbEc/IMNAIv2z5MOyivYjRvW5lSY+S9JSrf9+d+ht+Y=; b=uhFrHHXicNB1FlYlt0kuQfjaFfN0T40BROLXkp9R/SmbiPpokK32f1ogrOQDBWgG6EKe6ODtr7fu8KGW1ZYorLhwz/kfXoy2i5a3k4QhyEvLRmFyIKaBdlhaA2o102TjqZu+2OKz1FNGl602Lsg86IkChz+uh4OdCnPmD4APQlKMIX8f8pABi+TmP50rZHhg3VGwK34piwdif3jKSnXBarWmnkDvNJC1JDq7WfpUar7+3XmcdxEy202yX1Ed7x0wiQG4/I7WS4mMONn0p2Eobpmey3yTfa9x4NV9r9AADRnUOkyE0HCa1BVQ1DMbe/flmXjnIDmjrhlenyJdLiq4RQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nutanix.com; dmarc=pass action=none header.from=nutanix.com; dkim=pass header.d=nutanix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MbEc/IMNAIv2z5MOyivYjRvW5lSY+S9JSrf9+d+ht+Y=; b=A+COH/pDLzcCU0GguvdWz8TUQCEyjczy5PyT2QnU6VNPQtRaeHZqUXjrniXpmcbcqA86RK4fMKvc6nDe+GR90UnoKbInaML1UPob3q6z7DCFoEReO+69Mw30wZkb7hxOuHXQn4Zr1HLyqL3oBoebREYx+j3uyXHxdFncV5g1fO1ri4Pnibd9SWfU0cBCzSIntxHXSEJE0b+ZTtullPs1+BW+43nDWPm9MHt5v/cc8jahxtnYQ4v+Iq+CHk85wtOutfZHjVOyKXg+V1ODEjWksCSJNTBHBaik6Wg3WNAcavWjf8nPU0pfFAJ1YlE3hMU9G33dBpB2TebMtcpO1XvJAA== From: Sandesh Patel To: devel@lists.libvirt.org Subject: [PATCH 1/3] Conf: add dma_translation attribute to iommu Date: Wed, 7 Aug 2024 07:37:50 +0000 Message-Id: <20240807073752.64256-2-sandesh.patel@nutanix.com> X-Mailer: git-send-email 2.22.3 In-Reply-To: <20240807073752.64256-1-sandesh.patel@nutanix.com> References: <20240807073752.64256-1-sandesh.patel@nutanix.com> X-ClientProxiedBy: SJ0PR03CA0135.namprd03.prod.outlook.com (2603:10b6:a03:33c::20) To IA1PR02MB9017.namprd02.prod.outlook.com (2603:10b6:208:3ab::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR02MB9017:EE_|CO1PR02MB8506:EE_ X-MS-Office365-Filtering-Correlation-Id: e56ffd36-2c09-460f-eb23-08dcb6b3e402 x-proofpoint-crosstenant: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?Pko+aqGYmH+uM23O4eUyoY/rOYrHp/Db6XxdyEnrKMYaJCHr/v9SMzTUtiYy?= =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/XY54A3I8dsNqBiLlUmJ36M?= =?us-ascii?Q?4p0LphwCpNxol4HJukY4kOTZmmoFoIao0r7THyffOab2GoOP6qJbm2onGu3w?= =?us-ascii?Q?b+BLD2YDZLvh8PmeOf9Lut/VwqsuEcYlFl192vt7woXW/0eL2DqAqIE2m8TW?= =?us-ascii?Q?uHkZvdTBx3gEYntG7K4dTOiyeQw1R9L+vu22hsr5cH+Cbg16pDo6I46gPOGJ?= =?us-ascii?Q?0Tj1ImV916exgA/CQT0/yVDiZqF20lEbJ+w5jero67RrSi37SsrRyUqMkC4s?= =?us-ascii?Q?blsFkh80kJ+XxbY8TNMTHbQuTGnaLxyjJ/ks2fdRtf/54nTxqD+7SngYH7rk?= =?us-ascii?Q?2NnlicJrQHbp/VCfEVckLXwSgSfMuhIiqvkGri1M50qUMXon1DehA26i4pEB?= =?us-ascii?Q?Xkh71Tzm4UaxNLjvk+DHo3WyZKlZGOAneKNEqGuOT4gxTKZwxIDW/cntPXGo?= =?us-ascii?Q?fz0Uo80NiKgImpD8l9vz2ozj8e16vr9oclyQDiUOowx3RhRjYQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA1PR02MB9017.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(52116014)(376014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?CF+yM3GFquUwLmKG+KWVnd9zQMrMuMZ5cZaAOrnrwdvfrcpo8BJRUWRv34bO?= =?us-ascii?Q?GiViX0Zpu0AbgrHRJRS/H0SBK/lMjmHIE/hmSzQy9vOBvWvZN/yy5HCO2yz+?= =?us-ascii?Q?F/EpCjCVB06iQIuSgNOYT+HPgHnIvqwTXFIUTDppa7gn0excmbEwEY4P4p1d?= =?us-ascii?Q?K8C+Un++tQniaDfFQ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+NJJzg3?= =?us-ascii?Q?sYH5LY9WXjpWM73L5ATk+7K9YChlybkALeMGDobMyjX21coX6LsfYRpq29nt?= =?us-ascii?Q?QjM6pDxEC/QoWVvJyJTa40clqwnFmv69GL4B1CzND9l5qvdvjWJSicKUmBGE?= =?us-ascii?Q?TLcmfPnPG+o3TFyt3BAKWLkUJPCO2nA6arFi6ISvjooB4h2cbtXIkOL9gyau?= =?us-ascii?Q?E5XJ/dstbDvA6mByCubqgodKGN9xx9IW3A54ccAFYXE5FbM9Omhv5VKpI1Yo?= =?us-ascii?Q?/H89agtIdcLEvIGt2umZfx4dg9TXEjEh0v8hgRJ4AsmPydY3u9x0uvwGXiOw?= =?us-ascii?Q?zIRbjWwpNpqh2BUGQM18DKvoS4HjX1ovGxwuPL/AY+6jZG0Hni+R53S97G6h?= =?us-ascii?Q?qY62hF4eqxG2AqvwMju6dBfXQilFDUHFtwIK0kVmsu2Nkbw1ZNXd4W1LoHUt?= =?us-ascii?Q?yJqTDb6hw766wLS3bWltNzcqTq18kZnqtN8goy0G2DO787gBztGLcRTCm0i4?= =?us-ascii?Q?c4Yn4JY9egsTfPwK96NlHRyGj/wZslxTwnsitlTE/LsqkmB4f4RCnTQ4S5PZ?= =?us-ascii?Q?Bg=3D=3D?= X-OriginatorOrg: nutanix.com X-MS-Exchange-CrossTenant-Network-Message-Id: e56ffd36-2c09-460f-eb23-08dcb6b3e402 X-MS-Exchange-CrossTenant-AuthSource: IA1PR02MB9017.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2024 07:38:12.1518 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bb047546-786f-4de1-bd75-24e5b6f79043 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: a15xtUNLT06Pxxvlp8XJtmp1VGCq1py0E4nBCsKVvPCqA99gD8Hfs6jjpV87fEMQlYxcOvfoc0Pc/0GLy2pDwt75YxySq3mHQ5ft0i8Iba8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR02MB8506 X-Proofpoint-GUID: 34bjfWTpy9hBNdLfapUNmmgqCCxu5P2z X-Proofpoint-ORIG-GUID: 34bjfWTpy9hBNdLfapUNmmgqCCxu5P2z X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-07_04,2024-08-06_01,2024-05-17_01 X-Proofpoint-Spam-Reason: safe Content-Transfer-Encoding: quoted-printable Message-ID-Hash: ORO4RG4V6UJPP3IZC46WN5PTCDU7WHS3 X-Message-ID-Hash: ORO4RG4V6UJPP3IZC46WN5PTCDU7WHS3 X-MailFrom: sandesh.patel@nutanix.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Sandesh Patel X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (found 2 invalid signatures) X-ZM-MESSAGEID: 1723016347863116600 Content-Type: text/plain; charset="utf-8" Add dma_translation attribute to iommu to enable/disable dma traslation for intel-iommu Signed-off-by: Sandesh Patel --- docs/formatdomain.rst | 7 +++++++ src/conf/domain_conf.c | 15 +++++++++++++++ src/conf/domain_conf.h | 1 + src/conf/schemas/domaincommon.rng | 5 +++++ 4 files changed, 28 insertions(+) diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst index c56b739b23..a037ab65e4 100644 --- a/docs/formatdomain.rst +++ b/docs/formatdomain.rst @@ -8611,6 +8611,13 @@ Example: mapping larger iova addresses in the guest. :since:`Since 6.5.0` (QE= MU/KVM only) =20 + ``dma_translation`` + The ``dma_translation`` attribute with possible values ``on`` and ``= off`` can + be used to turn off the dma translation for IOMMU. It is useful when= only + interrupt remapping is required but dma translation overhead is unwa= nted, for + example to efficiently enable more than 255 vCPUs. + :since:`Since 10.6.1` (QEMU/KVM only) + The ``virtio`` IOMMU devices can further have ``address`` element as descr= ibed in `Device addresses`_ (address has to by type of ``pci``). =20 diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 86b563fbfb..d950921667 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -13931,6 +13931,10 @@ virDomainIOMMUDefParseXML(virDomainXMLOption *xmlo= pt, if (virXMLPropUInt(driver, "aw_bits", 10, VIR_XML_PROP_NONE, &iommu->aw_bits) < 0) return NULL; + + if (virXMLPropTristateSwitch(driver, "dma_translation", VIR_XML_PR= OP_NONE, + &iommu->dma_translation) < 0) + return NULL; } =20 if (virDomainDeviceInfoParseXML(xmlopt, node, ctxt, @@ -21467,6 +21471,13 @@ virDomainIOMMUDefCheckABIStability(virDomainIOMMUD= ef *src, dst->aw_bits, src->aw_bits); return false; } + if (src->dma_translation !=3D dst->dma_translation) { + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, + _("Target domain IOMMU device dma translation '%1$s= ' does not match source '%2$s'"), + virTristateSwitchTypeToString(dst->dma_translation), + virTristateSwitchTypeToString(src->dma_translation)= ); + return false; + } =20 return virDomainDeviceInfoCheckABIStability(&src->info, &dst->info); } @@ -27451,6 +27462,10 @@ virDomainIOMMUDefFormat(virBuffer *buf, virBufferAsprintf(&driverAttrBuf, " aw_bits=3D'%d'", iommu->aw_bits); } + if (iommu->dma_translation !=3D VIR_TRISTATE_SWITCH_ABSENT) { + virBufferAsprintf(&driverAttrBuf, " dma_translation=3D'%s'", + virTristateSwitchTypeToString(iommu->dma_transla= tion)); + } =20 virXMLFormatElement(&childBuf, "driver", &driverAttrBuf, NULL); =20 diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 95ddf5470e..eae621f900 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -2928,6 +2928,7 @@ struct _virDomainIOMMUDef { virTristateSwitch iotlb; unsigned int aw_bits; virDomainDeviceInfo info; + virTristateSwitch dma_translation; }; =20 typedef enum { diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincom= mon.rng index 7d58dce465..05ba697924 100644 --- a/src/conf/schemas/domaincommon.rng +++ b/src/conf/schemas/domaincommon.rng @@ -6100,6 +6100,11 @@ + + + + + --=20 2.22.3