From nobody Fri Apr 4 03:45:59 2025 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=1740653731; cv=pass; d=zohomail.com; s=zohoarc; b=Rg89Lo+KVb2S0yj8ZAR1AZbvPR1TZblRwE5/33B16eD+kVsSnqqfHiKf0gdoNUVpwGGY3HbbFUQeuc/3KXwnubfd3LjWP7QaatNLh3RgtxfSrpU4w3hfxr/xWUkjuKi0RPqEhv/shzIL3e+PLDHmcZEsqN+KgQsno9UWzD/jLgQ= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1740653731; h=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=hoZrbtGYuHsZPQVh6qQr/BjRYamm9IIebfREKOYlZWw=; b=nToRmBBHUzwROEQ/h9zMDrCKNiZX3qhdg8bc+YMkysUkl1j7GL+VaG7gpKYrvtfYu/w7pZSt6CiYWJMe8OpgetOIzYHdzuVP2FO9OAbsQIqG9XSfWwzFaUtu2b8nrIaHqH5ZLj0LEkPL0D73KtfzQ+vbu8LbreLIYL7UwZU9QFQ= 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 17406537308711.079241349479048; Thu, 27 Feb 2025 02:55:30 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tnbXY-0004XL-Ce; Thu, 27 Feb 2025 05:54:53 -0500 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 1tnbXW-0004RL-Aq for qemu-devel@nongnu.org; Thu, 27 Feb 2025 05:54:50 -0500 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 1tnbXU-0005pC-DW for qemu-devel@nongnu.org; Thu, 27 Feb 2025 05:54:49 -0500 Received: from mail-db5eur02lp2107.outbound.protection.outlook.com (HELO EUR02-DB5-obe.outbound.protection.outlook.com) ([104.47.11.107]) by smarthost4.eviden.com with ESMTP/TLS/TLS_AES_256_GCM_SHA384; 27 Feb 2025 11:54:42 +0100 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by VI1PR07MB9421.eurprd07.prod.outlook.com (2603:10a6:800:1c0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8466.19; Thu, 27 Feb 2025 10:54:40 +0000 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com ([fe80::fbd7:ca71:b636:6f9d]) by AM8PR07MB7602.eurprd07.prod.outlook.com ([fe80::fbd7:ca71:b636:6f9d%7]) with mapi id 15.20.8445.017; Thu, 27 Feb 2025 10:54:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1740653688; x=1772189688; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ZMxFNyn4oXeMGzshPyBmqXxSzbY8yZSu5H9uG1CqPCs=; b=SSqLOCd/gHXzF9fdFCEpjmwJNTXk8Ss202Kr0R95+Iw3k53F2eJZWDnI HPvTD0MPG/G9MUlsxVguUHIcM8Oi53VWS3o1CgwPWDB/S3TRBnBPhGdES xuzTopGf7z13JkfzvI6aeodFWioHN+IuzeowTIiXkVVETOhjbHrc+WWpD LYG1VyiI0VMm/qzlPUBluZrDTujBbqc1OjVjK5kxnoIcsWBV9PcdNSWp5 6YRppkPXW5ObWDBRgGwpimHFio1DdIOd7zeIHM01BjQ/sMzVJKh0/pn81 57dKJ3IxxK1QwCjp/io0nDlAxyVyV12BysvyUoNYlucBLjQ1Z/iorK/EE A==; X-CSE-ConnectionGUID: Fc6bzjGZTs+zE9vGfET5lw== X-CSE-MsgGUID: TOvAJdLiRNarXPC16qrP0Q== X-IronPort-AV: E=Sophos;i="6.13,319,1732575600"; d="scan'208";a="33331826" X-MGA-submission: =?us-ascii?q?MDGrNni8qNpt8wvcHSa7MBnd3RKq4o4UNFkj6M?= =?us-ascii?q?JCX5SBqWo3DyKDWM4ApTN+DK0mMzg8HK7tWjSwno2xIg0/vMDbnCNoqT?= =?us-ascii?q?KXN97kKInSbDUiChVivpJUYw02wwHwyBTcWxSZLtl0f6Zp28xrlpOaZk?= =?us-ascii?q?QgZuQ5bX41H69LA6OeLZv5hw=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rZLBzZbBYskwJDpt45sm+80mcZXZU5xGCFKciBFqziIk+JwrrWLs2YWfGmn+VZmgHuRfpS9KYopNt0cOZzVv0uLOACXmC8+jtxhYjKfwhMMKLdTznilR7FTWxcZT9MwcarZTAKLaxRDYOgn7ujnGPF26feq1bMM0fNwpAhzEnKgBCPm0zKH0a885zjpC8jxhnj+YjSaCeHR+c3I3scAdJm6IKO2iyD6SDEVDeZz/5JYhFY38GIgu0UB5bLs7+SG8Wz7om0YLZPIPJ6MgAYFQZ2HfdlqOjbb2kuBx33fpOnvQTMMhZMm9wP+B2T4UIbm413pHjUQaRiiw2sESpRmd+g== 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=hoZrbtGYuHsZPQVh6qQr/BjRYamm9IIebfREKOYlZWw=; b=HgUgZHnAEAP+ATH15t+MiQ29jOZbyKT0heOMNsR4bPkPNWbWi8T2CoCi7/IGgf1A0kSzXUMbY59Dss9w7kvATX/dubRoFy35W9Q0QX78d1dZN9c37+0ZlszOKKFbBEEPmsprQlT0Ei9UuniHFj4WxFmzBB5J3TA7jpdHOOtnk6PlI8nyw+dnSELEQaK5+9E5QF6QljFOPWHCZtG5/WjBgLizD47rs1a+Dljth3n+PIusqtTrMhNkqLRtqQk3zUQAOZL7XHZ8rZiJZtcDdc7b2lwRavcZu7qfK3ddJsU8itrpupRqcpEcwIKtNckHCKsUOOAWPM4s5uViZkaGSjXfLg== 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=hoZrbtGYuHsZPQVh6qQr/BjRYamm9IIebfREKOYlZWw=; b=gG++oukmySyi0s9DUgb5OQsvbKibrdHPVh7ccb1ggmPH9NwLoGzTW5YrhCbW4BMAwzqNgNZr7R0VX8TeamF4vDqD1egXJ7SGXU/YhcBi4P4dwfJXJLGnURNWEK507tn4Y+xXrUMC5ELYvxbq52tB42E4At8Me6PDthCaBj/N1PZTYo1LgDQB8QthHW+9JXwHNhZUfsZ7moQaX6p/h2umO2puk2Cxv/O5dKnwlvk1OGBFI4Gz7CqcTCGM37UWYCHjJiQ0munkgzZJ+UcATtQRyDpw4U755EKKm2ZgxO+Sn1gYd08DlP9TMLKdAPGxhc+7P1Pep+j5tjVUJNlWOSmAlw== 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" , "tjeznach@rivosinc.com" , "minwoo.im@samsung.com" , CLEMENT MATHIEU--DRIF Subject: [PATCH v4 04/19] intel_iommu: Fill the PASID field when creating an IOMMUTLBEntry Thread-Topic: [PATCH v4 04/19] intel_iommu: Fill the PASID field when creating an IOMMUTLBEntry Thread-Index: AQHbiQYAJAMnrNAMAkyZSDpfP8PREQ== Date: Thu, 27 Feb 2025 10:54:40 +0000 Message-ID: <20250227105339.388598-5-clement.mathieu--drif@eviden.com> References: <20250227105339.388598-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20250227105339.388598-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_|VI1PR07MB9421:EE_ x-ms-office365-filtering-correlation-id: d580c19c-2da4-4bbd-3f5f-08dd571d22cc x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|7416014|1800799024|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?/ZuGm98GWlmnd5zVvuRuodRYTkHkd2FN/cEfO+uciMJJfyIK1sdwVrn9d8?= =?iso-8859-1?Q?sF6Se93mmyWwnZ47JUJ0EkMQ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8859-1?Q?uCYba6hGs0cz1edw35MVSNPsx2v4NTvNGAIIIRo+WwONkw5E0KMV1rJgVb?= =?iso-8859-1?Q?RBoEhlh/UOpqJ7BKegzQpdyVFRBpH3bXF7hZBQkj4B+rOUkbhxEAJrGBCa?= =?iso-8859-1?Q?6BabSTkMVlo5WChmoNEdL9ehuP889YbO9/xDLrYEeP5VaFdvEBjw0y7XAx?= =?iso-8859-1?Q?7DviB0ykAwFRqo6PlUmRR5HNm3HiLBIhVEEO+af2Lsa8Hii7PT5JrujQ45?= =?iso-8859-1?Q?m59BDV9EwAtfVeyQz/iNG+jOlLaFxRoZzVbQxoJiG9O69sHWGlYLaTp4gX?= =?iso-8859-1?Q?JHoLygVNSfic9YVEPDViGEcrzy+Td7gOdIhtpufI5b9iKbT92PTc+YIJ+1?= =?iso-8859-1?Q?L2mVMV8UMgxS1CAhf2Wt5oM/AbZ2U3w3Az0Qqe4AdY2O/KLiUcFNifZ/g+?= =?iso-8859-1?Q?EBMIkkr0o3hOX4PJvJU6liwzlUMWEZwxfUVyY2xl5kmsbHOtFbbyG4XXkQ?= =?iso-8859-1?Q?+vsFh8xQN1ljDbG6eLp+8O5hI4QM0FkMakGopzbi5pStDGqlsWaJo9KG4T?= =?iso-8859-1?Q?SsyI/vPA+/6LlDmcfKmLn2?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM8PR07MB7602.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(7416014)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?dZgzYV07Hlg4VxgRe++MU5B5e92N9/a4pok5Y7M662ZTXRNTSXW8UUGzZe?= =?iso-8859-1?Q?e8Zcgzs7DwYdTg2YoINFcPscoQc1eCUWtWd9TreQLSgEID+80DdQxEw8oW?= =?iso-8859-1?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6GbWFT4ooCQc6j35H?= =?iso-8859-1?Q?mFpp34aZJFEQLaEiam9KcJbfFecvP3+G9SPFDVNHHqhtiUiAyz4eOutf1i?= =?iso-8859-1?Q?oNk6RDvOXzOkz9IGXerYuA7lsGTtaiVOrYOX+5lo5Zgnoa0XE54nb5HcB5?= =?iso-8859-1?Q?42OLUb+obestTyxtM3eqlKYimRD+9zMgQO68Fw4RU+HdQLnjdASbTonKPP?= =?iso-8859-1?Q?S069NTrkxMGBm/wx9sfAHOX5dAcKflYkuRqOhsYKaTjecYHbicqTvlR1sW?= =?iso-8859-1?Q?i0z0XPpzEcyW7C8ogwlriQ3P5JIqGr94Z4VpDeXawAWChPWXkjSt8CqvnH?= =?iso-8859-1?Q?/nazBHLyKlPRIEfzvVgtQJb4feqHcp0h8i4tJ5xdshujrLq9dGn9NipeVK?= =?iso-8859-1?Q?neVLP8p6+T0DpEYabm5MWe9upUGHRfz/X/9xcHt1mq5WJhKRb6RddtvGSi?= =?iso-8859-1?Q?dgqBIra7A9+4UHnOhVmEcxTd9U/YCqqEWOIFkcb08JI2ACarKSEqfYBSDh?= =?iso-8859-1?Q?V37tJKIy8i/k7aVDPXeWaPDyayzdsy9k+8Jx60DO9jF2GCfxxQqEBy4Fhq?= =?iso-8859-1?Q?piqaFclF9JQ6VyAmxIblxe/IWvGORrtfL3WTBHgns/Hm4rcgu6FIH16vrh?= =?iso-8859-1?Q?kQ90MgXvs31kngVD/j+aRZn8eVzoUmxOGszv7QnhmALrmp47fMSgzc7GlO?= =?iso-8859-1?Q?hwZNx/WO//EVtLIYirc=3D?= 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: d580c19c-2da4-4bbd-3f5f-08dd571d22cc X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2025 10:54:40.5935 (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: Z+7LlPP6/n5jDTVYzdArfwZtpAaAE3PfYBvLxP95RU1QScw3Fi4UHGVoP/0l9KiVdHNaNA7ZXvfFTrikKY5CzvcETryo8zmDb5jOaekfgElhWno2mrR+uqs0m6lZyoSh X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB9421 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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: 1740653732946019100 Content-Type: text/plain; charset="utf-8" From: Clement Mathieu--Drif PASID value must be used by devices as a key (or part of a key) when populating their ATC with the IOTLB entries returned by the IOMMU. Signed-off-by: Clement Mathieu--Drif --- hw/i386/intel_iommu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c index 1b4aaffedc..a360119fbe 100644 --- a/hw/i386/intel_iommu.c +++ b/hw/i386/intel_iommu.c @@ -2511,6 +2511,7 @@ static void vtd_iotlb_page_invalidate_notify(IntelIOM= MUState *s, .translated_addr =3D 0, .addr_mask =3D size - 1, .perm =3D IOMMU_NONE, + .pasid =3D vtd_as->pasid, }, }; memory_region_notify_iommu(&vtd_as->iommu, 0, event); @@ -3098,6 +3099,7 @@ static void do_invalidate_device_tlb(VTDAddressSpace = *vtd_dev_as, event.entry.iova =3D addr; event.entry.perm =3D IOMMU_NONE; event.entry.translated_addr =3D 0; + event.entry.pasid =3D vtd_dev_as->pasid; memory_region_notify_iommu(&vtd_dev_as->iommu, 0, event); } =20 @@ -3680,6 +3682,7 @@ static IOMMUTLBEntry vtd_iommu_translate(IOMMUMemoryR= egion *iommu, hwaddr addr, IOMMUTLBEntry iotlb =3D { /* We'll fill in the rest later. */ .target_as =3D &address_space_memory, + .pasid =3D vtd_as->pasid, }; bool success; =20 --=20 2.48.1