From nobody Sun Nov 24 21:18: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=1720438857; cv=pass; d=zohomail.com; s=zohoarc; b=b5ETaJiFirVOXh67hHgYVju3Ylpa/jLPIAByccstVyUALeQ8feoPGl0AsvIAP0HNcdXDGshxDx6/bUH4OAdhK642UyDMip8cjgk30aJsN4PxjuI5zGdSAP9bOzJ5wYOdtX+yToF4Fl4KbQk8oe4UWA6n76p2+E55W+wKALC1rhA= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720438857; 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=la8b6EsER2myyyqfK0mnc02PBu9H7RQtt1F+MmsewQc=; b=mEv8rh1oAl+6iQfKq0beLbfIC2y0vuzcwBZ6Q5IqJs+RjLHg9VZcaJmbn4Q+GCMy6phrkrNTM11LPy8CJh3o5L/FgZE1Wehg8s+lZIY6Ys+hN2tM9nEG/qO1ERkxGOSDuwG9DlWa9c4jRVbBrsw0fkbBGfc1/EQTNLQXVMIBfkU= 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 1720438857394652.1451560743076; Mon, 8 Jul 2024 04:40:57 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQmj8-0003xq-4B; Mon, 08 Jul 2024 07:40:14 -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 1sQmiy-0003o4-Py for qemu-devel@nongnu.org; Mon, 08 Jul 2024 07:40:04 -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 1sQmit-0007s0-L3 for qemu-devel@nongnu.org; Mon, 08 Jul 2024 07:40:04 -0400 Received: from mail-vi1eur03lp2109.outbound.protection.outlook.com (HELO EUR03-VI1-obe.outbound.protection.outlook.com) ([104.47.30.109]) by smarthost4.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2024 13:39:57 +0200 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by AS8PR07MB7400.eurprd07.prod.outlook.com (2603:10a6:20b:2a4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.18; Mon, 8 Jul 2024 11:39:55 +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.7762.016; Mon, 8 Jul 2024 11:39:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1720438800; x=1751974800; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=la8b6EsER2myyyqfK0mnc02PBu9H7RQtt1F+MmsewQc=; b=T6KvGj3TxAFbywoEmYhS0j7j853W4cShUvu39047MthFVx+/jyl84yN0 FbpywVZK54SM3+z/YAqf6m8L5J/oBiV1XzEvU/RCJNXEmaB4r8bNPLOte Uwtvtv2PMrKXeyY5fauvcnCQxvjDm6MxVKSPHZDZmuE2dJPKVnqu4icaL x2Ck3fv9aLQfGlLiV9GQGcSAGsciikFoe0HW9aOF7K8LzuMtGjEP6gb9d 8hEPNTfXh0qmL1+q9z4Z0nsxiY2tik68vkQ2smGGnZZKqB4x7w+j2hWfs oEKpTvTiq+hSyj2fTG0NjVRZAY+zMJMbl3WVRlAnZbNuBGnp1uLILLfoM A==; X-IronPort-AV: E=Sophos;i="6.09,191,1716242400"; d="scan'208";a="16192496" X-MGA-submission: =?us-ascii?q?MDE9xd9uTUWmHiN7aWnKyofv+/EfU5l1GT2n1y?= =?us-ascii?q?RzwB/e/6YnwfwGVB+yWSORsoa+c0U62h0prL0amYIaaJHaOS2nLwq84t?= =?us-ascii?q?Rgpx5rwlDqw6nY6RQ2WJ/uW3gn9xNW+dy67NTivPN2WNuVXJaOet2FEm?= =?us-ascii?q?sF1yekdewnIuxAg9bb63tz/w=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k7Kla+nNF/f46vNEiFUQDvOm68hTMGOo+5/AEtTo9faqofYlbyI+P8+wq+FAt+UBQH9BKPt5d5eFUpcRL3iYfIzWY1bvRXrLaUaUWOTHdyTrryuKMlRGYA6AAlLfe0aMbH9/yAbucZF1JNGP8AthPeR/u4BNlBCUq2XhlMIpsTIlAjqGjZ56RnzgeOhmsHCJoBg6Sq2jefS2eyIlAYTVNqkfSUgHMnd15eBga0yhdMp1JdW8RwzyNGv0vwqNgX0gpB4UadLkHsXQ3m2wHR4tt5MVXw+Z9XGZL95zq5lAMPx4bZUYZjhw2/+Cjz1oY2MHnLJdVxW9bGXnrCMkv+BInw== 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=la8b6EsER2myyyqfK0mnc02PBu9H7RQtt1F+MmsewQc=; b=UScYjwVMItxfY+L79p8u7YUaDHb4PYXbXNxtMeiOmcoWvWVzdLyMzBZPGmhF7D9noZXuvLJ5eHqQ2LC7jLq9TrMpuG90fZoNHHc2TsV3GIlf/WmJ+gKuWD7qJzWer4CVW4GHhw8V2GfSCFULJ+aXJ+sOTuWK5RSnD1KGt0Wb9LpCGdaoiSIogt26RfqKwCNDCdGnP5/Y/X9qyKREF48WjYT+0T0R4xXaoaXi6kc9jcGu33Ux2VP50HCJhOMUqIZbCYLA0UAJscCyxzVgxqGlWW7JegW14pEE1B+NPmUEyf0jzAJuQ48Yn4wUkUzJ1y3pvU8oGmfvZnUgroa02b3kBg== 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=la8b6EsER2myyyqfK0mnc02PBu9H7RQtt1F+MmsewQc=; b=bv5WYFmFDfrDsx3mtcXq+iJgM5ywqlsHegyI0ytxXLgWtsW4nZEbq675LQKLZ7YUKa+o2KTLb9oL2wF0Mp7YxTWOnuVYNILC5FvbkPVEG8amYbyjLRsTAHbBYlEDZ6f3td5E0qFAYZDjYau16lT9dEMWsODkokdUThakqO3kE5bh2Q10CUR6YDJGlOREuoTcTeuoRU7KuKp23gBiRI03IIzG5QPjx4g5/S16savCBK7XWGSJbjNGBA0gKOIJHoRMNRIXvdfDMyjPAlcuQoc9mJxM5KitJcq6AAUajQAc1Eco4GwXibkAgh+ZstvgIXVb+/R7A+6kGEatFbHxjAbaEQ== 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 v5 4/4] intel_iommu: make type match Thread-Topic: [PATCH v5 4/4] intel_iommu: make type match Thread-Index: AQHa0SuOE0rt69ReTEOYvhH3NMq2QQ== Date: Mon, 8 Jul 2024 11:39:55 +0000 Message-ID: <20240708113908.19535-5-clement.mathieu--drif@eviden.com> References: <20240708113908.19535-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20240708113908.19535-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_|AS8PR07MB7400:EE_ x-ms-office365-filtering-correlation-id: 87fce5cb-fd61-46b8-300c-08dc9f42b092 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?RGs0SVFERTk1OG5tZkhOc1lMVm1nZVdscVdWSm5Dd2kwQ2VMd3pSL1ZOTGFK?= =?utf-8?B?cnlMSWw1OVFsYzEvUmdmaXdSWnN6cmZvZ0xuMndkUWlIbXhReXB2SlhZSVVN?= =?utf-8?B?bHhGeGtvSU1LbEltS3ptOEVydTNFRXh4VHJBSllKN0JlTm5DVngwWEZYRXEz?= =?utf-8?B?YW1QbFdkRkVPVC9rN1B5Q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H:AM8PR07MB7602.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?eGJZbDJVWXRUaXMrajdlcURtTXlJOXp3K21NRWVlN2k0QzVLSEFTV01CbldJ?= =?utf-8?B?RTUwOU82OUh4MnRGejRlZEFhRFB5ZU95TStHeG5UMVRmVFZXV01FcVpGdG5B?= =?utf-8?B?Y0YzQVRwM2pOcTF0TktjRHEvcW9UN25KaE9oRFFpSU1JMTN4NHM5S2NmYnpX?= =?utf-8?B?a2VWYVZHUmlxOXlsY0Z3NXJUSWtKOHRaamkrY0dXb3hIejJ0ODFRUzhWV0hQ?= =?utf-8?B?VGZZOGtzbU9LVXB4VGlLcmpPWVc1QzhhMDBES3g5d3FjeUJ2NExTYk5QeldL?= =?utf-8?B?SHEwT0dVcW5DVkFkZjVVcWJJNHJKMGhpc3RXdFFGLzhwSlovMVZrUVk5RlVX?= =?utf-8?B?VGhhcTNMRU9Lbmtyb0tkK1Y4SzU1VHZnbHl5VHZDQXFOcGJJMk8zdVRmZTJS?= =?utf-8?B?STZtT0czSlA1V0dnaFo1ZERuRktLaDRhSVIwQVVGTUJwSGx4VHQyODhZQ283?= =?utf-8?B?Ykd6RmhkRjAyeml5YTIyNEF6S2lURHFQdldNZXZnUkhCZ2lVdGhFOVlZa0Yr?= =?utf-8?B?bVlBWG9wN0xGS1c2YzU1TGYxcXZkeEFUbThKQU9EVkZTeXloOTNXcXI4SUIw?= =?utf-8?B?aVFkOXpXeEVML0tWWEMzSWxLblRXQ3Mzd0dQaTY3eWh5NnBLQ2FjT1hvOUlN?= =?utf-8?B?NndTSFRuaUEwMHoySHZCVWdGTy9ZTE15bzZTOWdtZE1RblIzNEVUT01IRnA0?= =?utf-8?B?a0lNcjRmZHJkelNzVDJjR3E4eDU0OXNFTnRqa2tEcklZNk8rTjUve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1BKc09j?= =?utf-8?B?RXpJQnZKVFg3d29XSzRNV2U3YUptUjRiUHZWazF5NWUvbW1CcHpwMXV2VTY2?= =?utf-8?B?MFdmYzBld0srQ0JRUllBWmE1VzV3ZDJWTFhXc1o5czY5ZVZOM0pDbk9aLzh1?= =?utf-8?B?N0FsV2d0eGdhVlN2RWppYVd6aGtyVmhmbVpGakNTTnZRb2tXMWlIZVBrMGhP?= =?utf-8?B?Y3NaWHVhZXVndkhaREg2WFpneDJCR3Zob1JQdzFCUEtjaWY5WUFMbnphd0Vn?= =?utf-8?B?cWd3U2s0UnNMWTk3MEZvMEFOd01qd0g1ZmtWRmdlcHhFd0NRQm9wb1haZWQv?= =?utf-8?B?WDZGTnZkSk9tVm5USVB5eUxlOVhlMkdFODBzMGdSNVpRbGZWTUlqR3Y4Yzdq?= =?utf-8?B?Y3pHV0VFNzllVWRzV1FlbEM2bkVGQm5SdElzM2ZIN3NCVGNXa3hGcm9GeHhp?= =?utf-8?B?b1RHZjJMR3FTZVp6WmFhYy95WGFmMGFlRW1UZGRQMjgwRVRBejMyUklob29C?= =?utf-8?Q?9HllXAUk55ZVnewpxIZL7pY=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <996E3B806C931749B7E7ED207FC690B2@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: 87fce5cb-fd61-46b8-300c-08dc9f42b092 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2024 11:39:55.8248 (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: am5unmpkSXmuVdbUvfFApVxu0w+DMXyDrcN047idqMfuqpTw46P3FCyJ/RBJa63V76LPHRrv1nxVEpJgrqKiV3+pT4fZmQuh/txMUoOfFLflkdTOyqM3ijQr26g3+8l4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB7400 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_MSPIKE_H2=-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: 1720438859572100003 From: Cl=C3=A9ment Mathieu--Drif The 'level' field in vtd_iotlb_key is an unsigned integer. We don't need to store level as an int in vtd_lookup_iotlb. This is not an issue by itself, but using unsigned here seems cleaner. Signed-off-by: Cl=C3=A9ment Mathieu--Drif Reviewed-by: Yi Liu --- hw/i386/intel_iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c index 37c21a0aec..be0cb39b5c 100644 --- a/hw/i386/intel_iommu.c +++ b/hw/i386/intel_iommu.c @@ -358,7 +358,7 @@ static VTDIOTLBEntry *vtd_lookup_iotlb(IntelIOMMUState = *s, uint16_t source_id, { struct vtd_iotlb_key key; VTDIOTLBEntry *entry; - int level; + unsigned level; =20 for (level =3D VTD_SL_PT_LEVEL; level < VTD_SL_PML4_LEVEL; level++) { key.gfn =3D vtd_get_iotlb_gfn(addr, level); --=20 2.45.2