From nobody Sun Nov 24 22:51:08 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@eviden.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; arc=pass (i=1 dmarc=pass fromdomain=eviden.com); dmarc=pass(p=reject dis=none) header.from=eviden.com ARC-Seal: i=2; a=rsa-sha256; t=1720104551; cv=pass; d=zohomail.com; s=zohoarc; b=lI0S0Pn/GffsWl8eA1vdS0j/iCiEUJnupjvLDc0SHNiGCphx7SGIqvdJBix+OpyTdUMO3btdde/fa0k2z/wr7e9xRPaTUXbduUtjh1/GikX2DJiJWbBg82R5pWLeLochvrAJHPZck9r8hzKlf33ecB/7Xn0+IDj4CbHTs9x1/Mw= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720104551; h=Content-ID:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=QQb36lRclXYTkFjtwY0m8Lyj053oQOM+CfZ9/7UX5G0=; b=MOW1eO7mMF9SZc2lZ1W4QTeUZTNsY92HLHITVyTLvE+G+hOcwFflv0kqjhsHXyjuGI2EDLCu+jwxWBoMJxr3IBvr5nULcGwCsn4ZPuXpojOQJb9rBw5JAFR5OgTy1g1R+SeVcJkhjopI2OBfMDyMB+2luzVvhdzJs8hc4zoXEA4= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass header.i=@eviden.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; arc=pass (i=1 dmarc=pass fromdomain=eviden.com); dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1720104551423248.98195328250813; Thu, 4 Jul 2024 07:49:11 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPNko-0003SA-DR; Thu, 04 Jul 2024 10:48:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPNkm-0003RE-CT for qemu-devel@nongnu.org; Thu, 04 Jul 2024 10:48:08 -0400 Received: from smarthost1.eviden.com ([80.78.11.82]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPNkk-0003Mu-J9 for qemu-devel@nongnu.org; Thu, 04 Jul 2024 10:48:08 -0400 Received: from mail-db8eur05lp2105.outbound.protection.outlook.com (HELO EUR05-DB8-obe.outbound.protection.outlook.com) ([104.47.17.105]) by smarthost1.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2024 16:48:02 +0200 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by VI1PR07MB9499.eurprd07.prod.outlook.com (2603:10a6:800:1c8::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.29; Thu, 4 Jul 2024 14:48:00 +0000 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com ([fe80::fbd7:ca71:b636:6f9d]) by AM8PR07MB7602.eurprd07.prod.outlook.com ([fe80::fbd7:ca71:b636:6f9d%4]) with mapi id 15.20.7741.017; Thu, 4 Jul 2024 14:48:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1720104486; x=1751640486; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=QQb36lRclXYTkFjtwY0m8Lyj053oQOM+CfZ9/7UX5G0=; b=BYXF9B67ECto9NruHiUBh/LPTSuLOjRN4UK1+g8xBmqFyOQek45qaCpN /KogIaKwyKFvQXQtk4YsiB9nSmD3W1IUeaYnyzWrGvfOS+Qy5F87j1Yim +M9EOpxzcQdvknEc5znGHlhIiTO3eFOXGnqu1Na34Z86BCtipmE5rb/Ru yzL7EOfXyt3bNJsEN2IojELYWvuka4K3cL9f8O69ddRd5ZERnL/60u9vw EnnpwBhUnaTGCR1FNYSafGFF+Y/ltn7MPu0TGYogbDguMKhaxgpqyu6ow 1HhSPImxzBqfJTz/v/bsdPNK1FvHhsqEfCuKyexaKrJac0PwzTsaGatMd Q==; X-IronPort-AV: E=Sophos;i="6.09,183,1716242400"; d="scan'208";a="15900767" X-MGA-submission: =?us-ascii?q?MDE+WswcBz3JFwimMrhWkbhout1gA3DnuuzYTs?= =?us-ascii?q?vXwuP+7meO8zIjdl9RShBbQVmTV24g1iaJ7dMzvJ5rSIg/zDFycmFXW1?= =?us-ascii?q?UKb7IkxXc/3krlXdpKkKpS69AZLfjRPNBvK8GqhXxfsUVx7EmPPdRblm?= =?us-ascii?q?zDA2McNQjdZH+kb5R0mZb5zQ=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IPns+1ZQlcWikVS6E3wwOM1rHfGjWcTc6ye8KFT2VpbQsNymZNI7YTw0FirzV/0le7eVwLMsoKMa1a3mlmHDoVhLJF8Hkg6kW72enGS83N7du6mavzkSDxhao5jWPAOsOGzbQoqNZItqfKOkOSBRr/xzzifz9Sg91X0hCfMxkWg/xwhd4sO7h3WixxBPudDwLMyIiTIDnhqdtOLde8FME6h/MSnQvLsUoiQStIsdCrX/9iZzEcpnfkCx9AytXlZwv3ILFYfjsyjZhq8E7bar4UEnxu/lqegDeha1mHJd31BjyezPpxO7b0TXnRcwqAsZFMG/F3Np8unABtt7p3GZzw== 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=QQb36lRclXYTkFjtwY0m8Lyj053oQOM+CfZ9/7UX5G0=; b=Kvc7I5d/DJCq2Ys1jHK42uwoBnyJEoUM/+xWRGrsC6tEBWb/n45RYJEpdyWErCDzC3eWKKaHivGfmDBeiHP/20dh18XqAmHaePxHd6fcz2tUhDk2ht0tGZs5yhVgWDFEARRUngqcVwu0rMRmVKE+qaf2jAPftAyiB26mfBteJJfXjEn01ny8SGMFnkJ6WDIOMnZkVvO6Psgmh/5qmhbtv2+RjvqzhX90V29lYT6ptr3nBpdWkw+HtRyXFk+t3eny33H831HPoFtoEI+1WpGdS4iEd3maDz/4R8uxvoFn/jEAyimRF+O2K+iCwOo/pRzKTNQA9NRk43Dipo3iiC+k8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=eviden.com; dmarc=pass action=none header.from=eviden.com; dkim=pass header.d=eviden.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Eviden.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QQb36lRclXYTkFjtwY0m8Lyj053oQOM+CfZ9/7UX5G0=; b=LRSmNWLT82D4/6//I31gSEoeTM0gnWMlxR7ebQgtWXmpFFdWzoKv5EOx9kVuUSxqWMunlbN9YlaUSEkjGzx3cNTMeVzf5+er4V5QkpmUHrNyG1Ag3G5PxR0RUkoJEJF4GMfVuEpMDk4sYaUdyeCH1RCiJ09H3XSoRR3vavevcKN9p6DifUbp/GoZIonZZ9uV1q+d9YPIS34ITBQ4top1dWRvcQ8isaXfDNG3WQBq5+Kd3eKNGt3dnViB9XgI2iBkq0m4cVscAbwtn439h1a6SPuosfnmmmXWe60ga6NStSgVIZOVSFZ3/IMsyYmzSauW4w7RuGmiWHudQSnsdju3tA== From: CLEMENT MATHIEU--DRIF To: "qemu-devel@nongnu.org" CC: "jasowang@redhat.com" , "zhenzhong.duan@intel.com" , "kevin.tian@intel.com" , "yi.l.liu@intel.com" , "joao.m.martins@oracle.com" , "peterx@redhat.com" , "mst@redhat.com" , Clement Mathieu--Drif , CLEMENT MATHIEU--DRIF Subject: [PATCH v1 3/3] intel_iommu: Bypass barrier wait descriptor Thread-Topic: [PATCH v1 3/3] intel_iommu: Bypass barrier wait descriptor Thread-Index: AQHaziEqYSd3fPOVYk+uet6FPduJ+A== Date: Thu, 4 Jul 2024 14:48:00 +0000 Message-ID: <20240704144737.996889-4-clement.mathieu--drif@eviden.com> References: <20240704144737.996889-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20240704144737.996889-1-clement.mathieu--drif@eviden.com> Accept-Language: en-GB, fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=eviden.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AM8PR07MB7602:EE_|VI1PR07MB9499:EE_ x-ms-office365-filtering-correlation-id: f34f8d91-3a57-4517-6f3e-08dc9c384d40 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?UWM2d05tbUxxS1pocC8yeXBtR0t0d2hUV2NveHFUK05PaFVIZ0ZZa28rYmpi?= =?utf-8?B?K2N5OXZ2VHViMHI5dml4dzdzS01CYW5kSzh6QWJ0ZTArR0JPTml3N2Jzd3dT?= =?utf-8?B?TG1TcFhDKzg0VXIvanNVaXB5cExvc043K1VrTmdiVHUvY0xJMjg2TDNnZmZU?= =?utf-8?B?VW5KaFVVWHoybVFV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7602.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?azNSdTVSV2Z5eExDWWpqRFBCdXJNdXJXU1FKTzc2RFRhSEkxaEE3d1JJZmVk?= =?utf-8?B?L0FBejZicDZ1T1ptU01ncEN2VlFaUXFRK0hoMVgyM08rbGxyRi9yY1NkdXY2?= =?utf-8?B?RVZCMVBSZXlMem5VZnFDSEJVT0J6MEdqdmFBdzR0Q1F3OUk1TTRlcVlpSFBp?= =?utf-8?B?dUxTU3U3djJZVjlVWkZRUWNubjVvRG5QbGw4MmtUTzRKM2J6eGZXbkEvemE0?= =?utf-8?B?eXVqQ2o5d0lmcXJrbkV4eHJFM1QraTQyZFNHWUhjeW5PakdKYTU5WmFJY0RK?= =?utf-8?B?bnBxMythd29sUDBqekdaQTgyWmlrcDZHTVc3ZFpjaEhoK3NUdVJsMDBNS0lN?= =?utf-8?B?T1hxWkxVVHdVUEcybGN3RzBhVkU1TWw2VG53Q0xyY3phd2crWkM4SDFEVllq?= =?utf-8?B?YTAxbkZhaW1ZbVNCeHMzL3VLYUFFMW9TK1hsSFZ1akFTU1UrYklwZk01cFB6?= =?utf-8?B?S3FtZDhiSGgrdGFlNGl6N3VMNzJyTHgrd3hlSmNGRTdNbHZ0Wk84REl4aDUz?= =?utf-8?B?NmxnQXlaN0x1UWJ5ZFptK083d1VvMExST3BpczlDMWxVODVrQVplbkNXT2Jt?= =?utf-8?B?dWQ5OGtMd3c0Y0IrNlZ6NDRUaGcxWkdtZGxlMkRKWTc3L25GdVd2NWsremZ6?= =?utf-8?B?ZjJxT0FVQkh0NVlaaFBVZ2RqMTkxc3NRUzM4NzFoTmxmWmFEMHJOTjhiWVdT?= =?utf-8?B?M0d3OVZLM21ucTZadWhNZ0ZycnFxZ2lsUlRHUHJ0OUtIMWNTNWpNeDFRaD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ZVBMKzZZYndLYTQxcHpI?= =?utf-8?B?NS9JTm84NytlbStqOFBZWWVFTkhtQ1NMWWp4cXRoZ1pwUUI0Q0lPRjZINnlL?= =?utf-8?B?NWRyWGZRdExtQklHQVNYS2tBbi9JNGl5Y2ViQzNQOGk2QnZZem9raWR2MnJv?= =?utf-8?B?bzgyT3NWZWRTK21BVm1JVmNNL0F5cTdMUStRSTAzR0ZIUUYrME9zUExKWkZ0?= =?utf-8?B?aDYwWlRaai9hd0d3T0N4M2hpWmVvTnFYQXRsMUxReTN6dGluQ3NJT0J5L2pr?= =?utf-8?B?dzRjdlhXbTVpT1JvdENETncyL1RpRXlEdXNEVC9TZy9acHRObkxxNlZpajBv?= =?utf-8?B?dThOdERIOVBONkJ3VVFBK0lEQk5ZK3hxZ24wcDBmU3BXY0o2aFQyUVZ3ZWFl?= =?utf-8?B?anQ1cjVaTFJFazA0R2xlVnJSWXhVTXd2TWNEK2VRdWZzcEw3cVN3Z3pDdDRl?= =?utf-8?B?ZGYrUk5IcmVKbGhMaGZDbGUzSGpTTEhFRUM1a3pxdEFtRCtaTVhqWitYYm1E?= =?utf-8?Q?KQEkWKUmhBmj9veZrZb975Q=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: eviden.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM8PR07MB7602.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f34f8d91-3a57-4517-6f3e-08dc9c384d40 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2024 14:48:00.7514 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7d1c7785-2d8a-437d-b842-1ed5d8fbe00a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3uw6qK4VvCH60Qegk9xsPdXFvvgOBtf8hz3mv05GBpkH8qyz3X9dkVDgWnGWP/mknT3bYPs405WWy+bTGsvPm7XB3KObl5hC1QtpA1hAi8MpLjw05uAt/XFRJeFMCeuL X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB9499 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=80.78.11.82; envelope-from=clement.mathieu--drif@eviden.com; helo=smarthost1.eviden.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @eviden.com) X-ZM-MESSAGEID: 1720104552133100004 From: Clement Mathieu--Drif wait_desc with SW=3D0,IF=3D0,FN=3D1 must not be considered as an invalid descriptor as it is used to implement section 7.10 of the VT-d spec Signed-off-by: Cl=C3=A9ment Mathieu--Drif --- hw/i386/intel_iommu.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c index be0cb39b5c..12ea3a9aa0 100644 --- a/hw/i386/intel_iommu.c +++ b/hw/i386/intel_iommu.c @@ -2561,6 +2561,12 @@ static bool vtd_process_wait_desc(IntelIOMMUState *s= , VTDInvDesc *inv_desc) } else if (inv_desc->lo & VTD_INV_DESC_WAIT_IF) { /* Interrupt flag */ vtd_generate_completion_event(s); + } else if (inv_desc->lo & VTD_INV_DESC_WAIT_FN) { + /* + * SW =3D 0, IF =3D 0, FN =3D 1 + * This kind of descriptor is defined in section 7.10 of VT-d + * Nothing to do as we process the events sequentially + */ } else { error_report_once("%s: invalid wait desc: hi=3D%"PRIx64", lo=3D%"P= RIx64 " (unknown type)", __func__, inv_desc->hi, --=20 2.45.2