From nobody Sun Nov 24 23:53:42 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=1720177418; cv=pass; d=zohomail.com; s=zohoarc; b=V/9RMNSl+8MGQeu4iiGEmXie3VRJsa1X23OxR1djj2dvJvK8m0rdd+fnzGJ9LeVG7feo14XYQyR4OLVSWc6/jRezPex1oP6BgmbMO1hZtPyltQEW9FGmsQoIjaM/3Vn51oAt8sxEqZYVCRsviNmgwBlhB4ucLjmwWil67eUQi/o= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720177418; 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=pqwkHTle5zShwb1UCmzN30OIyPBuDlyHBRRNtdojXrI=; b=lC2aZxN0jkm+elun+37hfq4WIoPuxT8I1oI+ESUFVBTTNEzJFAjAquZTlPtBFs95LX/itSUiSTpU2DYDcXy7+aXxVj1LyAG0p3GHjpkmhFymnEIjE64S3tZtDFActvgITk8eQNE6kCaegp7zYbRUxDbKzYodCE466+iRAeYbEl4= 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 1720177418960263.10249838740583; Fri, 5 Jul 2024 04:03:38 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPghl-0006OH-8p; Fri, 05 Jul 2024 07:02:17 -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 1sPghi-0006NM-H4 for qemu-devel@nongnu.org; Fri, 05 Jul 2024 07:02:14 -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 1sPghg-0001Tp-Ql for qemu-devel@nongnu.org; Fri, 05 Jul 2024 07:02:14 -0400 Received: from mail-db8eur05lp2104.outbound.protection.outlook.com (HELO EUR05-DB8-obe.outbound.protection.outlook.com) ([104.47.17.104]) by smarthost4.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2024 13:01:58 +0200 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by AS8PR07MB7303.eurprd07.prod.outlook.com (2603:10a6:20b:259::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.11; Fri, 5 Jul 2024 11:01:57 +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; Fri, 5 Jul 2024 11:01:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1720177333; x=1751713333; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=pqwkHTle5zShwb1UCmzN30OIyPBuDlyHBRRNtdojXrI=; b=KtlUg61o4xBgsp771pGfLGfMsGbaUokSTYZVkFrclZjDf/0k0byce6a4 /AFQubHaejnkCAflm9AvlCPkL69UeSzmlfpzO/nFcIU3Ax1BevxjowDDe r5FckWFTS0XKR3CUvRUNIGsJHBRu+CiCgAW0Nz7mxXdRlob1Ih2eVGGVc 3qD3Sxewc3et2ShcEq8Z6ahvmyDwY5eRe4bnFeV7TmFWfCygKjXPG5Ruh lQk7SGmZTL02OxQXNOUj32/urmum4eVxcc4FTLJStm3nndkSyV50s4pW7 R5f1LDFE9w82FYMEXlht0Xqs1doxmcizaMLmDnFJI9TfwWktL6vljRXj2 w==; X-IronPort-AV: E=Sophos;i="6.09,184,1716242400"; d="scan'208";a="16056518" X-MGA-submission: =?us-ascii?q?MDF81VNHdETT8m7DUYm1R9HzmQbRFpR8fLT/F8?= =?us-ascii?q?LkxX/MCI2D9ADG6pHXGr2A7hQDbAasZY1S9rgG0bewF/yzzrxiDiMN4n?= =?us-ascii?q?exmTYKGyb7FyhPZZ1QgSWF58Bnp79tRMmInaGOG5V/qBUcH2KZL0uU2r?= =?us-ascii?q?Eh3orgL67uNvnWFPbdWiijvQ=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B4rLa4Z6fUS0t6UNSRAqXF/K1V+moAB/dSv3m36onN6ScJv74vKexUsxA1IjpERdAmsmnHgwVLXDsTJifVTacNih9qhlIQL/LCVdwQsyaxvBpFl1mFK3+ovztAKEByKLfI59kuXb6tPMW56LcAeRdMQaUelXrzLbWYsMpDvWIuvDhkIbbERa27MnEo+fe+Q4VH6Y4WhtyuDhem5GUcdcRrDEfaWEiiAMqoNsFj/toSMsOIaiYLbFgLFna2Q8m5R7wHlUjAOn3rw4l0PqkXcVJCWCQ60EScPhkeeJQxF8lx4dCZ9CWoLx0Z0u5MFQpkX3RgiGCctIp8eat6KhLN8wHw== 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=pqwkHTle5zShwb1UCmzN30OIyPBuDlyHBRRNtdojXrI=; b=NSSDa9RtAqT2epk9AExU491oQ1iDF6nQdrMZ8VovPayGOuZPX0TnzNDSe5aWbphHDeQGv5P3JtEOGnMEN866OSoo+YsjxVNHnO8KdBdOCAl3UpakHtprhUGZ40IjIeg1Y5ZsIbNDXiCtlurGS0ytOwSzY54CDCgTDTDdngBXOHJof0nO0NXLYbnZUL5+RT/LDieLjIukJ+ppa+TyRhTMDjHqPFKlIz+T2IpEFULz/APvXFUCsKT9XTdEefrtyjMa7M0yIPkMsEXlgDemu4JYtjVM90Uq27/kHDTc2ROYSgT7NKapORbwbLbzPG7OE797L4Y91Z8pjUC9A04epo6Spg== 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=pqwkHTle5zShwb1UCmzN30OIyPBuDlyHBRRNtdojXrI=; b=Grgg6BmwVm7Dxp1YUghj0k+OKHaESzI5/HWL6cX3OiJ9raaCtr9t3Fn4F0bKUbTY/HQMPLzCO+AHwwibfVDn0Xrmy4i+PCbRx8OXHGwf6Ch+4krRWhGBs8Pmky4Tfyq2ky53eRlVuYwzL4Cn7gmJP7DmNglQqh7efnlwIEU8k4ONb27eDBlfevYBLqLC/IltpciJqbsRqKjMGCyRlH/1GdUV5DPrevv7NBWVgYuorfDJOR4pyHG9RSYzs4tthpgv9s25xOo/KNVWEg6Rze2iablElD9PIqF2eUaLnZxpI7i461uKy8WRoe1XwFiKEnv77MqvZeXNBZI+ViMw6cQcAQ== 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 v4 1/4] intel_iommu: fix FRCD construction macro Thread-Topic: [PATCH v4 1/4] intel_iommu: fix FRCD construction macro Thread-Index: AQHazsrARhZLqun5JEis8sZiKlyPAg== Date: Fri, 5 Jul 2024 11:01:56 +0000 Message-ID: <20240705105937.1630829-2-clement.mathieu--drif@eviden.com> References: <20240705105937.1630829-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20240705105937.1630829-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_|AS8PR07MB7303:EE_ x-ms-office365-filtering-correlation-id: 5bf0e129-ae69-499c-a499-08dc9ce1e300 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|366016|1800799024|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?VmJFRUpuNlVMODJjeE5xUjNCYTQwa3UxakN3SjJ2WXJ4LzN3bytlVmZSeUVH?= =?utf-8?B?QWlKalNLckdKSVJkR0tXZFQrRlA1RktlZnduQ2dBZXFJTEdvbGFRNmk1THlx?= =?utf-8?B?dGlFNlp5OXJvUVA2V0d4REt4QnJRb0RValZDTW04VVpybDY5ZEFQajA3eUNJ?= =?utf-8?B?Zm5Jb1dXUkNBK2xXV0xnN0VkWFFDSjcwQlJFNGJoSzJm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aOVhVRnF4TmlvejhBL0N5QklpelJpajFhV0dy?= =?utf-8?B?RzJKb25tVGlTdlNLOUN1L3hxQkcySEppYWl2RHZMck5uVWtieks3dWQ2KytW?= =?utf-8?B?VXY5L2xDR3hGbTJ2bDByNW9pUC9Xem02dXk0dDJhczRRNXNCK2ZjTy8zYVZ2?= =?utf-8?B?WlRLRGQrWDNpZm1SemJCMWlYcHcwSURRblFGWE5CVXlUV2x1dE01VUlZTG9O?= =?utf-8?B?dnlxOFpyV1NOdkVlTEswRUhISGZ5eUtrblNEMTlYYkducGZTNzJDSkEvVFRx?= =?utf-8?B?alU1Q1k2Rkx5ODRqa0k2YWNscmlqZHNaLytMNi9nZ2lKVWc2SmgxL093ajlt?= =?utf-8?B?QXdxV3EvZWpEREpTblhnZTFGaTgwd3h1TlhvVVU5dm0weWxnWU9IVFZFdEEw?= =?utf-8?B?Yk1ERS83aXNYL0pVMDhaenVOSEF0azRrbDk0WWVlMFZ2SCtYQlZDNFdIQTAr?= =?utf-8?B?a0l5aXoyRzVtQTFLSWVRbmVNbGswZTJoTW1DUUxlemttOEVyMmQ0Y3hpMUNv?= =?utf-8?B?VnhVYUVIZWJERld5MC9jTUwxQWZlRyt4KzRtTkxuMm5zTjZ2TFI1V0lpKzVK?= =?utf-8?B?YzZVTFFlUDF2b2luZmU1N1FtYUJoY0ZHUXRJM2ZUaHNoRVJweTU5emN5b25X?= =?utf-8?B?U3lSZ29OMUNOSVJPdk9FYlFpMm0xL0JGVU05a2JxUk84QXN4UFNPSjMrZ0lx?= =?utf-8?B?M2g1VFlVTnJHdkNHOU12ckhHckRHSTIvVVhVU3BaMnFxdUYzMkNaaXdxcUN2?= =?utf-8?B?dG1rUHN0TWNFdk1nbys5c3F1S1lmbE5kMUsxN1NKRHdqM2c9PQ==?= 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)(376014)(366016)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cUFhOHlyODRWK24zRVVrR05sRWlqQi9UeHhCSlA2Y1UyS0RPSDNuQ1R6MndX?= =?utf-8?B?VnVMV0Z4aThkaDZZSE9BVkdxT2o5ZWdHQ2lTZUlmOWozN0JENTczcU11Skdi?= =?utf-8?B?ckxxNjkyYURZSUl3ZW1Wa1RxRy9YMnh6MUtveU12cmI0ektJUWVxTXpsTTRi?= =?utf-8?B?WitFNHdtUVcyWm44UzRsaE4xOWdPWjkyS05iUkpCUHRnODJVNkRBUnRtbDdk?= =?utf-8?B?dHNDMjZKbTJXNkZDT09Qb1YwWlZUOG4yNDgyZjZPbWN1WGhER1BxZnFzUUVv?= =?utf-8?B?VVRLUVZVcGs4V2s0RVhreUFkU3p3eFhwbW5IazFmanQyTjRPU1ZWYTVwTWtZ?= =?utf-8?B?YTJNdGxrdWdqOC9XMlJORm1zQ2FOSGFoRmpRSTlwbmd1WmpzMU9BL0hKQzAv?= =?utf-8?B?dmZpQlhtWWE0MVVqcHBxS0hhVnptWGRKVlc4RGJqZnhzWmdFbmozVnoraWNn?= =?utf-8?B?Zit3VDNEMDR6ZWJUQjNkb282bHZtSFI2MWVUMTZya3g2SFU2YU41MjcrWHlD?= =?utf-8?B?ZUt5L2RBZlFNazVkei9TWmNreEZvOEZvZm5iMVRDVU96c1cweTJ1OS80V3Jj?= =?utf-8?B?TndaUVppMnR5Q3N3ZHVuUEtIcXgzSDZUa1FpMDNWOXRrQndUNU1yUXlGeVpw?= =?utf-8?B?ZFpLWVVsY1FRSVlpM1RFNjNiSVM1Z2FuUENLcmFxd0pGVTZlc3c0TzN1Qk1r?= =?utf-8?B?NVh3ZHBabWtyaXRXbDVqRUk3OUlnMFJvbmlxdHpobGtrMnI5VXRRUlFBdHZL?= =?utf-8?B?eHJ3K0tsQStEWlZlZFl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JmTWZrL2dJWVNXZ3dacVFvYkV6VDBLOG9oWW9RQmtSTURwVU9i?= =?utf-8?B?U29tYzJJK0UzbGViOVo4QXBNWnAwaEZ5dks4OVB3a2h4NVRBWXVHNWxIanpu?= =?utf-8?B?ZE9HZGt6MHV6Z3F0Si9YTGhvQVBJb240ODFMQ1RsSk9yL3JGdVZZNS9yckl0?= =?utf-8?B?TzlxbW9HUGxmVHN5R1NIVHRPWXNpY0JCbTI4czNpYkdKeUtqbDJ3MkQ2OFN1?= =?utf-8?B?V1RnWFhqdkdNMnY2aDVScTk4OHdOSFZGeFdIWXRvUXlpRjJiUGpYNU9tNmQz?= =?utf-8?B?Qnp6TEV5MCtYaVZmU0w1SWtwMDJFTUp4ZmFZYmdzakQ5c1I2enZvWE5meCtU?= =?utf-8?B?UXJNQVp6Q3BYZ1pUaWtGajNNRTVCOU5vMFNTeEZNNTczRmlibWhHdDh3Y2Vs?= =?utf-8?B?K2JqUXp4b0FYU1hBQnN6L3ZBaXpUSEo5bXlzSjQ5V0ZHUDlmNVZRMmNvTCth?= =?utf-8?Q?VkLWX692Hb/O+SPONe04lxg=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: 5bf0e129-ae69-499c-a499-08dc9ce1e300 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2024 11:01:56.9537 (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: 9C1uPOXehEW7YKHzXo4VgdMTlsM5hlWE+ZZG2vB5F8pf7IBzBvN80uQxNq1F3jw4Q/Y6gzqNKUluL+v/LLG6N5idWWVRDFT99qb0OHEk1Vmnh8uq0W21zzErNnXJ8Zh3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB7303 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: 1720177420904100003 From: Cl=C3=A9ment Mathieu--Drif The constant must be unsigned, otherwise the two's complement overrides the other fields when a PASID is present. Fixes: 1b2b12376c8a ("intel-iommu: PASID support") Signed-off-by: Cl=C3=A9ment Mathieu--Drif Reviewed-by: Yi Liu Reviewed-by: Zhenzhong Duan --- hw/i386/intel_iommu_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/intel_iommu_internal.h b/hw/i386/intel_iommu_internal.h index f8cf99bddf..cbc4030031 100644 --- a/hw/i386/intel_iommu_internal.h +++ b/hw/i386/intel_iommu_internal.h @@ -267,7 +267,7 @@ /* For the low 64-bit of 128-bit */ #define VTD_FRCD_FI(val) ((val) & ~0xfffULL) #define VTD_FRCD_PV(val) (((val) & 0xffffULL) << 40) -#define VTD_FRCD_PP(val) (((val) & 0x1) << 31) +#define VTD_FRCD_PP(val) (((val) & 0x1ULL) << 31) #define VTD_FRCD_IR_IDX(val) (((val) & 0xffffULL) << 48) =20 /* DMA Remapping Fault Conditions */ --=20 2.45.2