From nobody Sun Nov 24 23:06:53 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=1720106031; cv=pass; d=zohomail.com; s=zohoarc; b=LjETi7bwSUgRMSNS3QXoVevGWaBC5Y2LUBHbyyOs2zNIm+sg1ouE1o0WCjxxKpVxVK4URMaXYUgxEgk8aOZv0UbB9edQe2LcK7xwLPTKseX6btt1j29MDibazpm5VimEe/u/KrddzNcxY+jG48XMPgktN/ro2OmTAD92CeuM0sI= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720106031; 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=iBpkynY43mL8XVpRQnuzbD1QM2hvJ56uVWjBhaZKJG8=; b=RAOvCXVnA4O3STJ74jjRmQdtcZaa6yQvqYoMJn42Y9NvJjbDtn8ZUHFVAEDpq+/i6+S7ff+IdK/pe8WFjR5wAFeF3elIDG2sbFqaK4a9TAuwZr7owyLFtYgPxKLn6PUxgLWS/pHU3YjsA3qrYjlWczGb437rAIv2N0l7wfhTqSM= 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 1720106031753387.0839685508306; Thu, 4 Jul 2024 08:13:51 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPO8n-0005Wv-GB; Thu, 04 Jul 2024 11:12:57 -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 1sPO8l-0005Wb-1q for qemu-devel@nongnu.org; Thu, 04 Jul 2024 11:12:55 -0400 Received: from smarthost4.eviden.com ([80.78.11.85]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPO8i-0002sf-8P for qemu-devel@nongnu.org; Thu, 04 Jul 2024 11:12:54 -0400 Received: from mail-db5eur02lp2104.outbound.protection.outlook.com (HELO EUR02-DB5-obe.outbound.protection.outlook.com) ([104.47.11.104]) by smarthost4.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2024 17:12:50 +0200 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by AM7PR07MB6455.eurprd07.prod.outlook.com (2603:10a6:20b:137::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.8; Thu, 4 Jul 2024 15:12:49 +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 15:12:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1720105972; x=1751641972; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=iBpkynY43mL8XVpRQnuzbD1QM2hvJ56uVWjBhaZKJG8=; b=aEwev2yvboMjsxfSW5hhl730nUtVyF+l2TNQN+ww0Sj9fHS1igIgN4vz sgyp7uN9jIURU/G9GACVNeBjdv0FlOdZp+1EaqsjtWqHddoBVcw8i3AcO +9Yzb9WqV7y9r5zGRgzseyKYl9eJVcW5TLNUVsxRmZhgAg/mDiJFm9jCR ys+EgFJYgho0uS2RXbFPma19jNZg7Uf/1qkCLDV0PJq/nWQp6IS9w6Qca TxmLepd7tVDUpb3YcZbzbhgQl9TYRU2nn1fzrb6GcuBjM+X8LKnqWJjEd FljrehuMFco8kmXlujQLKuGyUAhA4WFQm4NJJ9gsy1JGFMKFYAMaJ+OYO A==; X-IronPort-AV: E=Sophos;i="6.09,183,1716242400"; d="scan'208";a="16007273" X-MGA-submission: =?us-ascii?q?MDE+f+j2sBrgrESUPvTtDkOgbPpwntNHhiTMWU?= =?us-ascii?q?vzFvhOiSnoHeB0c1JPs/WDJjDHNgvernO0cjMgJmaQLYeCVG/GPIeOXj?= =?us-ascii?q?4G5O1+V0fRSkv9u+u2lyjhP1OOKR87njb8yLQJFWwheIfL2FwgVQm7j0?= =?us-ascii?q?Tv4uqRk78xRtn7rr3nXebhKA=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cjwmznCH+oubcacRiQwB3iD9vmFBrCdnDpZ2fSjtoRnFXSL5DUSdrwblOdraY0wNtdmSe/aCRk5R6nb5SJenIF1glZUQWGW+kpK0U7vm4xd5B0m0XxH6M60R3okBF4V014q8f0p/A+jwloBakyEKlzy+Y7aGXDgG0j7tXy5qgLHTTtGdqNwmK4M6I8739+inD/IXgWzVcU3IvJM4d+vIufoQxJ2XDt9u7xs3YCxTMQAA/K+xr+YqGfgTTxetTpvPZELF/4XzJljBSKb4E1pX8FAl+L36/fC3mGtoDxhwfyBxJg+IekVC1FVH0IXxWmu/twWPqG+eBl54dI+A8w7eVw== 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=iBpkynY43mL8XVpRQnuzbD1QM2hvJ56uVWjBhaZKJG8=; b=BFlJKNYpyDxct7f1WFuMjvH+g7YsFuVEObisZ3ii3XSxaC+pPvrPjfC039E+jzFmfLcVTrPw+jx6o5mVEfvBOl3R0za+7By9vBpStJUwGmORzP9/BqPBIJEejXeEGV2a9OQUxYDjyCgYlrB2VJOhODmIVfdDQmIJ7b5XAiG3U8ET4HXKJNIJD58lTHdxJXvLH4ttUevONxHJ2WkwaazbNNSPZRMjVL/M5+kp2cdBldXzYq8hDHgBRws7tb5XSu73SA0vGcJtr1GauyOlk8m3yJAYTKNLlOvEqEufgorBLZ1i17kf7nAgsukdNi+/GSiDzLqG95HeC8Qmu7hLSva2UQ== 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=iBpkynY43mL8XVpRQnuzbD1QM2hvJ56uVWjBhaZKJG8=; b=obEaaGD3llEmidi9L/0z97O0k6qITqUquppDJdYB3Mz32/kU73+zB6iew3LDofLNCEIj4s1dltlKpeAOCHMiXfmIjy9GFr/2k22kpvb9lMTrKBKYkUYIr1osqL9frIDMD+foEW0DiCEFAdaNpSAAvcXRLfryfhAercdjhNF50X27KzGmAqpLU07UacCAMHrEOCsxpDnmtht8ZBKWdQUbRR2M9FWP3uyXhxiEQABkCXBUaAZ/lBsJH4v4oOgF9KrnaIQ3uCwh1dbN1AhaNy9tRnfQDeqN2mxg1nrORw90Ky/WY4FgK2FXsXkHS87wiZQ1EYFimxPP/C+462onDiJ5DA== 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 Subject: [PATCH v2 3/3] intel_iommu: Bypass barrier wait descriptor Thread-Topic: [PATCH v2 3/3] intel_iommu: Bypass barrier wait descriptor Thread-Index: AQHaziSiPOur2dIIN0e52ufwAoMAAg== Date: Thu, 4 Jul 2024 15:12:49 +0000 Message-ID: <20240704151220.1018104-4-clement.mathieu--drif@eviden.com> References: <20240704151220.1018104-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20240704151220.1018104-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_|AM7PR07MB6455:EE_ x-ms-office365-filtering-correlation-id: 862794dd-7376-489d-9a9b-08dc9c3bc482 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?UGNLWE1RSTA2UGRZYUFaeVpCTWZBaElwTmxUZGFNVGR4cVhMU2hBSiswa0tT?= =?utf-8?B?bWljanQ5Mi9GSUVUY3hDZGJTYVhEVGFXbXVMQmtQMGhpcGd4SEd5MDVkZ0Rr?= =?utf-8?B?QkdUcVJKam95TUdQSzVaZjZmbjByZG5INTNxT0pUOXNBeEQ3K3FNb2FRQUpI?= =?utf-8?B?T3h3UENjSkR2aWNRWHRQVitBN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PM; H:AM8PR07MB7602.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?L1FaaXhFUFM2VFNMSyt4SDRhSzhDRStzTjNZbE5Uc2NjRFFBVkwxR0dUdmpn?= =?utf-8?B?M2JYZGxGNGVNMnZtckRUaHZlU3pPMjZNT1pwczVud1lzaXlhZkFYdGdxWVFz?= =?utf-8?B?WmZsYy8rQkhMczZOQ0xVQnRTc3pJNlM1eUVycHdCbUVNVFdhVlJadTJ5SUJT?= =?utf-8?B?MkNOcmRXYkI1S3VSYUZlcFJtaXVSdFR2WU8zbHg1Qm9VN0J3c1loY2N6Qzdv?= =?utf-8?B?SldiaVlXUm1pS004cFh1ZzA0Y0lKWXdvSityaUtQc1krcGpKckE2WXpqTFly?= =?utf-8?B?MTl1TXlzS3Fpb2pjVHQxV1Vrc0NncTFKR0lHaWxqTDF4UEY2WFlrV2EvTWx1?= =?utf-8?B?Mm12RFAzV1RwZ09FUk0zY3p2YWN1K1d3eFh6a1FwMURPTVhML1MvdWJYQ0dV?= =?utf-8?B?VERWR21nVVFGYTQ4RHhMaTNMR0NIeFhqWjFveDR2d3hiczA5YWxSSTNKLzhq?= =?utf-8?B?RUNjWUhDckNlaldBV290OHZUV3hoRjhhZDVGSlZ4L2wweEJ4VDdQaktvNEdK?= =?utf-8?B?T1l1eWdkUXdERjhaSlNUZHVRcVZLbUh6OFQ4RHF6TTRSRTNNMExZRUowTEUx?= =?utf-8?B?am1jbWZXNGoyZ01jUmE1ZjkvaWY5NDc3azlYUnI0M2lJVDZhYnhDUGpMU2Ft?= =?utf-8?B?MFhqS1ExS2pPQk9YU0VpRHVsWlRCZnRWNXExeHBzMjE0QUhsL2NSRFhHbVZh?= =?utf-8?B?cUV2KzVsRmFCSUZ4ZUZXREVQSjVEWkE5WDJ6T2hrMUszNj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DemQ2bHB4UGlBQU9SRnBDSFlQN01NSEFJ?= =?utf-8?B?QlplT3J0Q21PYmdrbHB5TDhCSS9yMllMbnhwTFptQjVsLzlsSHJ4dHFUZXNX?= =?utf-8?B?a0RYcFdoM3hxTnBTazRkMDFXeXFoQXVrWnJTZWViUWhGYlFTNVovaVNZWWhV?= =?utf-8?B?bCtyZXlSaGkzWWQ3RzRnYStuMXJWNUZlRndNNXVzV3dXdkQwOHB0U1R5STVv?= =?utf-8?B?U2RYbmxXbzgrNE9ya0xsZzBVeUxHYW5zZ0E2NHVIVkhNTXdPSTdvTmZkRXNw?= =?utf-8?B?SEVoSEd6OVJ0Y2RSSnRmSVpHTWpvdVN2UzVYbHpHcUx5anhxSFUrbDFBbFkz?= =?utf-8?B?cC9XMkFEb25GNG5YMDdObVcyQ0hEcitNd0NxWURYNFlIcHFKOHZQN0hLZTZh?= =?utf-8?B?bjhleDRDaTR3QXYyT2RrdUJTd0xMOWhQQkJibWRDVUJKYVR2WjFVMkk3d2lK?= =?utf-8?B?Q3NsRnNRT1FVM2dzL01wN0lPemVWdUF5b0dHaXd4YmpTYmFTNGtnN3Fncmdi?= =?utf-8?Q?VLZGaXG5M5lFH5y8eoTauqM=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <1CA8D6BD41C829419E7823F8B02CA48E@eurprd07.prod.outlook.com> 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: 862794dd-7376-489d-9a9b-08dc9c3bc482 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2024 15:12:49.3463 (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: V2T2A0UDX+hx+lVNyijoBAK70/4UIDM8j/soRFrGZNQZorUKSMbCpfO5Zepxj/iDyMIX5ncluERX9JnGjySuhwr0iAOy1t2i0SXNfHmsU7wbsiPhaHE245pni6EoGAHg X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR07MB6455 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.85; envelope-from=clement.mathieu--drif@eviden.com; helo=smarthost4.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: 1720106033562100003 From: Cl=C3=A9ment 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