From nobody Fri Dec 27 07:52:52 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=1732866513; cv=pass; d=zohomail.com; s=zohoarc; b=dfDHEVvoTGaF4bUrEvqCFA7kM+nng3/wpyg3VEechll1vkkcWIj3qy/RWNMOIMDRj6RGvcqsY5xAuAVKymIdp5P7nV0Lh7FBpI6/KT6+uf3EZgUpz71ZkCL+2bvP1F7yvnfFudRUK66yb7pKpUZtruQYytHYtBYgM6SKL0uSeig= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1732866513; 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=QWd2tkeHQbBwbBNdDBZH/aGLavqAFkrtdTaIu/gE1UU=; b=TTuGzesrlRcuV+938lCvrW97r7SMbXq9GAMmgYyoKU5lOep9uUJC25mR3GaYVphASKgGIiHEZYUxXJwenodGG5pbrumkE1CmeO1Bhe+5alB0cVcySQ475O9vJvuEaTjz+WOVniYIeb+LTfrNjTxhceBzHaYgHoiFJ3spcTZYd90= 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 1732866513312162.5593974437221; Thu, 28 Nov 2024 23:48:33 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGvfT-0007xv-9z; Fri, 29 Nov 2024 02:43:59 -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 1tGvfR-0007wx-I9 for qemu-devel@nongnu.org; Fri, 29 Nov 2024 02:43:57 -0500 Received: from smarthost2.eviden.com ([80.78.11.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGvfO-0002eL-JA for qemu-devel@nongnu.org; Fri, 29 Nov 2024 02:43:56 -0500 Received: from mail-am6eur05lp2105.outbound.protection.outlook.com (HELO EUR05-AM6-obe.outbound.protection.outlook.com) ([104.47.18.105]) by smarthost2.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2024 08:43:51 +0100 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by AS8PR07MB7847.eurprd07.prod.outlook.com (2603:10a6:20b:39e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.15; Fri, 29 Nov 2024 07:43:50 +0000 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com ([fe80::fbd7:ca71:b636:6f9d]) by AM8PR07MB7602.eurprd07.prod.outlook.com ([fe80::fbd7:ca71:b636:6f9d%5]) with mapi id 15.20.8207.014; Fri, 29 Nov 2024 07:43:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1732866234; x=1764402234; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=QWd2tkeHQbBwbBNdDBZH/aGLavqAFkrtdTaIu/gE1UU=; b=UCAqjRcpkrj24LZ2UPK1XySl1aKa6ZgZeuHgBxfolBBI14XIarKIJMeN mt4S0I2o9r+bWj3Lo1H/G7lujoszpvHppyyWB1/kpdx7eDftFGDgGaPtU jJcV+KijzWFB8swV5TA1YU30IF+7OdHu5V/Z/pIKVfh5XoGa5jrD/AKnR zh9qUb5mrYcadBmiUSqSQq/HYD8wUBQPKyL+RJbHeRohI8iS1b97Y5tvC eUPbbZZp9OKA1oeVpjP4H7jvV/atKDBVIJTQhfgCwy0jSVcMnNQI0hez9 8ZdEBrPjdKZIGSofUkBkYT2DziMBGSqDY9rfT9RaVA/0pSWHT4tWRVgSn Q==; X-IronPort-AV: E=Sophos;i="6.12,194,1728943200"; d="scan'208";a="25670793" X-MGA-submission: =?us-ascii?q?MDHrc9yHZwufgdxk5QNh0KWEmN8lJhM0ovdCA2?= =?us-ascii?q?j/+g2WGFdsIypo51rtvf+xoDXAI7uWKeJOpuhFHzl3CDwvGh/t12Ieg/?= =?us-ascii?q?Q+qQUg97XnZqZ9W4qbvO1jzup59VurkcXqUPQ/UkdH/o3qvIzi/QxpZ7?= =?us-ascii?q?WjHwqjnmOyonIRPGURUkj1cw=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sFJ93EnwlS6GFrynhraqbxx/WbCL4yTODxzg2AKiuJOdQC4c9JnNwcwSQRSVYP/0MMeUxgXXO1n751CQe7lCtK1ZZmm7XBwMd6I1mf34u8vcv+pmGMkbXJTqR9b25xKENjbQwK09bd2N5AUXAm9Q6fEWrsRO+C7hhIfSMssiM3q33tsaab1Jbtq8TPfkFyVc3nHyCvNrikXd45+pTPdSafoOsGtpynzyMmpcuV0nEEwO1HTXSuyVGetJUjHhr3Xl1bknBzQZDcZA0gdmj++Oeecd6j+z9kAupZhRGC/GpLMiR71ADS3RdJHuFGvEGqZvSlZ9MmJEk8w/Xz1sC3flpQ== 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=QWd2tkeHQbBwbBNdDBZH/aGLavqAFkrtdTaIu/gE1UU=; b=PwBrqrncBjHZn7rCgg4dFW6TgW0ySowcW6MWBw9JnPxe2mVh6hxwHpkaW7NWHVldS6B9urSnyaMVzcKJd7O69HHaN0bnKR+v4wTfHQ9KCa3cklTsCdeEefXDK0bDIrf3/Icl8QqMM2OW3DU+QcN4P1q/5fMwSBmXbEzJU1cpm2RwQeOFkHJXmBFvERm0MzlhdAVlnl5J7CW3/bZZ5YNhDOHeJeVCl4wmbKRcB98lkaG2DEaQLPAjuTg4POL0snUcVt+CacPv7GBMePtMlfX8sC5aSDFaJ8EpEBJH56PDffpOJQ1B8BPks9F9u5n4vbBPpp+JH+evk6ySyGBCQrBAOg== 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=QWd2tkeHQbBwbBNdDBZH/aGLavqAFkrtdTaIu/gE1UU=; b=FquTm4/vuVY0T5oJSItpe7fZnpVoYhbstkqnuEXmgUplEVC+JP6WsmQ2vB8crpvbaKpC1SuO0ADoyAoJvvzZ6+HiupcOFpV7PhERHRjG1sP6OSPzWcLmQm1wM5e2kD1rci3lsus42YilwTQsrSZaFr/B/rM0NOTzUYTU6yEj1Zwuw07HAYsBzV6yLVIf6yg77tUzZKHXbmf6kiZN2cxkiHJoZj+zby67aPLefVy5KVR4PsYbnG8wDkLGt1CRMvkkyoyxaoG4X2d0O7pfGFrVyqZiecQpuheLbqPiK9yfL+UNQG2ev8aw/SHDeBQr9Ot/AiZBKkzwEC/TEsjsACGZWw== 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 v1 02/19] intel_iommu: Declare supported PASID size Thread-Topic: [PATCH v1 02/19] intel_iommu: Declare supported PASID size Thread-Index: AQHbQjJuc09ui8+1N0yV5gvXicUETw== Date: Fri, 29 Nov 2024 07:43:50 +0000 Message-ID: <20241129074332.87535-3-clement.mathieu--drif@eviden.com> References: <20241129074332.87535-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20241129074332.87535-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_|AS8PR07MB7847:EE_ x-ms-office365-filtering-correlation-id: 482a81b7-2561-457d-c727-08dd104990d5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|7416014|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?a0JPc3NCYzRUblUwbXo0SXR6Yzh6OHdLcCtxNjNTOFR6dlRZSHVXYWU5a2pQ?= =?utf-8?B?amRZbFVRU1dmSU5FdUtvUkVEVVVoQm9mTVdKMWppY2JnMVBoNkR5WSs5NmJE?= =?utf-8?B?NVBMTEQvTDZaTFhRV3lVWFFSSmViN2F1QTFBMTBUYVFQaVJGWT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:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM8PR07MB7602.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(7416014)(1800799024)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WUNjRzUrbWpoUDFCOEhjOXRoczh0aGNiMnkvVzlzOFQrNXVlUFMyRkUyejB2?= =?utf-8?B?bFd6emp2aldySThudmtDalM2SWNkZTFQMkxRTXM5NWlaWExYWHNWR1JPKzRi?= =?utf-8?B?YUxSMFhNby8zYWM2eDdOQXE2UGwwZGNGNkx5MlI0ZElKKzJYdjdrL3BUd1Ev?= =?utf-8?B?eGg0L3lsdWU1WXAxa3RTbE1KTER3bmNZcUpHSk5VeXBMVVVNclZWSnBTNGVL?= =?utf-8?B?RDVvWExKbDFYUGNEY09RUEhkVWFIT3h0VUF1TGVxL3dkTzNsV2pWTG1oUy9Q?= =?utf-8?B?Q2FhdjQzVjdYVVVqUXVRRVJkdWFJSUxUait0T3gzblZ3Y0lXakN2R2IxeDlV?= =?utf-8?B?ZGQyZ2RMVXlLWHI3ZFdkMWFDN0hObE1qOFhFZjhKTFhGQUpmTEQzOTFqRDY3?= =?utf-8?B?QVFDMm9nZVRldUxLaEI0SE9uWWc3TzFFeHFsS2lldnEzSGo5NEN4ME5jd2Vt?= =?utf-8?B?cHh5c0s3SHA5OUh0M2V0TXpNSGd2YzVSVzhpRHJZRFIxRHlwb0FBTzlrUkNz?= =?utf-8?B?R29GTlZVOFpjc3FZeXVTZFU4ZVFDRWRnSzVOaXgwZ3VvNHYwY3pwZzU1V1Nu?= =?utf-8?B?VHBMa2IzMTh0UWpOb24rbkduSFk1S0dVRmJPaXNwbEcrLzJzZS9MSmRzVDUr?= =?utf-8?B?N1E1cFlZcGJ6K05oUVZNbjFJNnVkQUdVWVZtUXdpeE1hM1dVeWFlempvalg5?= =?utf-8?B?RGtNc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f-8?B?MzdtVWxpQXlrbHZNNUlrVzFmZXo0T1NmYnhFZ0JrWERZVW0rYjd4a3ArWHhz?= =?utf-8?B?SmhUbEhHWFdzcFhtaUxSSjA2cnZpTWtKbjZjN3pnWEFXdmVtbXA1WEJnWVVu?= =?utf-8?B?TFVhVG5vOUYwUHJnMjZGdVB5NnVSbmNYak4vUUhnaVVnaTFmNVU5cDNBS01w?= =?utf-8?B?TUNqR3JyZld2Ny9YVTQ1OFRyRk45SENFKzRWTldyS21PSlkxV3JubTdvdzcz?= =?utf-8?B?WDFEdGxRWnhFRHVBOFlWT3hJUjRxeitWeWtTTVR5QUZZbUQrdkk3NWR1MXZD?= =?utf-8?B?N3VzVWdiTDBmOWRmSnR2WnkyMFdrVStsQVU4NkpuRVdFb3dXbjhWQjgrY2U4?= =?utf-8?B?SDlMbUxaQUsveU85OXBMUjB6eVBVcGNiN1lpQk1KSmpkclVhNUVYTmlTSjZu?= =?utf-8?B?QUZuS2dGNkE4d1NzZERGN0xORUJ0NzB5TUtzakg3ZTJZVS9XVWJTTGYxZW0r?= =?utf-8?B?cTRsdzZIOTFmV3BVRXVNdDhyazE1YmtWbXJoUmhIc1pKclpxS0dNYTZsMDBZ?= =?utf-8?Q?ZF2hjCqsKAc4V7L0jjn330o=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: 482a81b7-2561-457d-c727-08dd104990d5 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2024 07:43:50.5046 (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: 4y1PUksNre6bx7Hvr4cRz07PVCzurKh9efFNKHBvmx+oGekAG3c7bNgeqX7XNq213VlYRpfCrTIl5idkmaicRlSRlEJ43skqoypJXFjwH2tn9WN2kxX//y2L0j03QppA X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB7847 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.83; envelope-from=clement.mathieu--drif@eviden.com; helo=smarthost2.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_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_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: 1732866514530019100 From: Cl=C3=A9ment Mathieu--Drif PSS field of the ecap register stores the supported PASID size minus 1. Thus, this commit adds support for 20bits PASIDs. Signed-off-by: Cl=C3=A9ment Mathieu--Drif --- hw/i386/intel_iommu.c | 2 +- hw/i386/intel_iommu_internal.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c index 043426032c..aad132e367 100644 --- a/hw/i386/intel_iommu.c +++ b/hw/i386/intel_iommu.c @@ -4575,7 +4575,7 @@ static void vtd_cap_init(IntelIOMMUState *s) } =20 if (s->pasid) { - s->ecap |=3D VTD_ECAP_PASID; + s->ecap |=3D VTD_ECAP_PASID | VTD_ECAP_PSS; } } =20 diff --git a/hw/i386/intel_iommu_internal.h b/hw/i386/intel_iommu_internal.h index e8b211e8b0..238f1f443f 100644 --- a/hw/i386/intel_iommu_internal.h +++ b/hw/i386/intel_iommu_internal.h @@ -192,6 +192,7 @@ #define VTD_ECAP_SC (1ULL << 7) #define VTD_ECAP_MHMV (15ULL << 20) #define VTD_ECAP_SRS (1ULL << 31) +#define VTD_ECAP_PSS (19ULL << 35) #define VTD_ECAP_PASID (1ULL << 40) #define VTD_ECAP_SMTS (1ULL << 43) #define VTD_ECAP_SLTS (1ULL << 46) --=20 2.47.0