From nobody Sun Nov 24 22:31:41 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=1720155845; cv=pass; d=zohomail.com; s=zohoarc; b=N7cMHFi0n3Rsj9ZL8kuifx5F4CgsMmkkP4Xal5j9blmbyLkO70X+LGW/lM/WbivQaBYdR2YX+7AY1aMiV0zBtgi3finoHNuDn1h+bViCE0TVzV0LXIbFAqHquKFYdZ2TiMV4Q+wAy6XFDhBVqk3I9IqWWz9iZEEjK4w5G+mbhzw= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720155845; 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=+vlW/HnbLcXMR2jiiiKIos58VNaFzsvBUZnsSR8WMWc=; b=n5ingNbZ30CFDAqTfu5FTA4sJORgNgKyuLYOSDwPx3soJBer2YTDdXDhUnLNGAPZVjexkqz/0YmkSW9Ka22S+DBWyCQpdRiErcKpOyzSgqfrzQQ/d4HP/vu3kzlmKjHthj6SR6mV4uV4ODBBD9Xcwjw5cInMhD+Of5ZqLyfUu50= 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 1720155845025322.3550265134071; Thu, 4 Jul 2024 22:04:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPb6X-0005MX-R8; Fri, 05 Jul 2024 01:03:29 -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 1sPb6W-0005M0-KO for qemu-devel@nongnu.org; Fri, 05 Jul 2024 01:03:28 -0400 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 1sPb6R-0003dt-HP for qemu-devel@nongnu.org; Fri, 05 Jul 2024 01:03:28 -0400 Received: from mail-vi1eur05lp2168.outbound.protection.outlook.com (HELO EUR05-VI1-obe.outbound.protection.outlook.com) ([104.47.17.168]) by smarthost2.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2024 07:03:20 +0200 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by VI1PR07MB6542.eurprd07.prod.outlook.com (2603:10a6:800:179::17) 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 05:03:18 +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 05:03:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1720155804; x=1751691804; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=+vlW/HnbLcXMR2jiiiKIos58VNaFzsvBUZnsSR8WMWc=; b=c2UwBF2V+agf3SjBFf4lkJJIKedPH1dx8/goqud5n3QySXaiutg5jzpC ss07hUZJx+XjniahZlcgk5KcEtn2PGISlf7M5RxVKE5WPymQNvFo8YucR d6xthEWucyyXKcFDHnoLCsq8q7Xgzz3EZapx8fzJ0s0/G6oXUurNeBx5B umzQOdkKkAO64Oyg8TNH8srVexEoYRX3h/JNZN1opn6SweP4Fk8ySafbq wR5y3+h1tFUicqwYAY4+JFRWkMEHR4jbjUzn3ZFgGWnFh9aoe4lJ1cOLg wNM3nvO6nMywKjPZscD7rmOqXRHbZmbqy3LkPjMJdqvtZ9B26kA37+ujJ g==; X-IronPort-AV: E=Sophos;i="6.09,184,1716242400"; d="scan'208";a="15932577" X-MGA-submission: =?us-ascii?q?MDEVUNVIeB+2nLfWcbH5HR5ei1ZZqTvmKgKffz?= =?us-ascii?q?sv4HmSrZ40dfF3Rm8da38FIdPdgnAkRrmf4en7GlhrkwkQ7uV7gFkxXN?= =?us-ascii?q?nm0d6deElYFf6kr8JeDtYTx4s5fL2bT1HypnB3MeInEa5LfT1qJh3OmB?= =?us-ascii?q?Z7Hy02n8uPUDR1ddos8A3yaA=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YlomwKmB21uWsKKaJqfW6zG4a4+OztCtzowJs52w8rTBKsHqS2y4xw7hP7BslZIpTaIWOV1ZMAgYdI7mD0e81vDPlVaNqW2KYq97AqNhqh+SFTlHPXRSFi8Q5Mj7ROomo992YA3rYmfG2jAv/outPuBxBaBA6cqtYMQPEiEgSxjE/i5+R3ajpTa4Ymm9laQjcIj04FVz9XN7W6/V0qFhce1XLyRagDmfVB/afQgbLra6hYLBhX3KQ+nCk8B+Vs7L6byeAV+P/viWJ6aeCdkFaZF4O1JnBs+bznBXF08baPW4DnkY5E3qW5kjHnvs2QfDgkNJW3X+FxND9QOYNffqqg== 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=+vlW/HnbLcXMR2jiiiKIos58VNaFzsvBUZnsSR8WMWc=; b=EicSsr0D+fCcnrJpyypDqQYJra3KYDIGstzYoBp8t2WaPeVA+yRY9svcc/8O8XSKQ8RZWZDB0iMztot8UelFve2Et6kYk6QyGk3kV2ISGCNWoXl5tPzU6z4RGe9zK1boBsaP4Vs2sx7SNERxvvWyMl/46qiOJMMUG3RiJXedRPDM3LK24ZSu8B1/98LOvFh/WbSD2/FxRwxkjCp441nFHWxnIVVakM+CAMaFQOSptP33GZGkz5cwmrwP92ZuEjBLGXukRJyX6ABoer6+3BiI5sEF/TqxFw9fj763DYTr7IJqLYrK7enx7iLEMqW4bNLNZolxjCSLLYv0HS/i0Tvr6w== 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=+vlW/HnbLcXMR2jiiiKIos58VNaFzsvBUZnsSR8WMWc=; b=os+2s7hN90coL8gbIOQQEvrrfsa5xp8u588NWQwqqMj0+z76JWziZZyoq/PZSja1XUeI6JLXiLfU8a84jSg8sfOT8B2xo7luWYqG68F/p8zaKsV5DD00hRmej/FtArPrd64SLbI1mdm+SNnCOlITYCYqSkghkcWjYd9kCby7weeLVMGUESVAUFTDJ+bLfWIK/vc+XK/VfbJkvtDAZzPJ4KBVJHLlU71nYIE9Rbp9KpoB6NwwnkKiDKsajrsBlSWaJkpA/cMv+eQRZbq+sVotY3D3OFCubLAbhxEyIr8itfAPrsYaBgkAhWxOje29bDkJLY2ajpZaodg5kIvCcyEzew== 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 v3 3/3] intel_iommu: make types match Thread-Topic: [PATCH v3 3/3] intel_iommu: make types match Thread-Index: AQHazpimYumHqjSOhEagUatp7yyYIA== Date: Fri, 5 Jul 2024 05:03:18 +0000 Message-ID: <20240705050213.1492515-4-clement.mathieu--drif@eviden.com> References: <20240705050213.1492515-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20240705050213.1492515-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_|VI1PR07MB6542:EE_ x-ms-office365-filtering-correlation-id: 9a1b8379-de84-47e3-947e-08dc9cafc935 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|376014|366016|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?UTBBSjBCZ1NwSzIvV1Rha21yMTVidmdDeExzY0NacFltbEdXRUhqNHYvLzZv?= =?utf-8?B?N1FzUE1sWnVMZU01c1p2SU92aWxaRnFaZTB5aVVzK0Y1QzJLWG9YRlRQQlRD?= =?utf-8?B?RFh1dVQyejluWXJpOUJ0amRDbzZLZnNNK2tPeXRWQ1Fmblh6SU5IU1NaMU95?= =?utf-8?B?dUhTZk9Qdlg1dVNYVHRudjZIZ1hCODd3aW9lak9KZTlCZ250Q09E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230040)(1800799024)(376014)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?c0p3b3NXNjRpYkpFeEVzWjFGY2wzM0xOQit4UmRRcS9GZkUxNGlrbmhLWnJZ?= =?utf-8?B?Z3B5YkV1QzBaellyRGE4a01Ba0pRZWdycC9SR0xIaS84YmdtK25qU25GN1JF?= =?utf-8?B?UkVrOS9MbW12RjVPUy81NE90UHNQYWpJR2tXZlZNZkR5S3VMbzFJcE85Q0ov?= =?utf-8?B?b2F4YXJyMDArNjVkTDFjeVBURG55QkVHMGNCaUF2RHVySzJDQWRmVFpNMmlF?= =?utf-8?B?UlBrdTQ4cU1JZXBFbkxvMlZMZyttVzdWc1YzUTV6SkVNVEhuU04yYnFVRHZZ?= =?utf-8?B?L0l2ZkQ2N3hCVVJTV2lrdWNvWEI0bUpHVjMrNzVLbUdaVmsvblRLcUNkS0tZ?= =?utf-8?B?QzZObnREWFlTOFQ3QlRQRllRcVdLTHdsSERNMENqTVVwV2E1MGlXMnVKeE40?= =?utf-8?B?dWtOa09vYTFmZG9DWG5OZWVKa3QvRnB1Mm1JUEx6cUFGVzE0MVY4MXpQK21L?= =?utf-8?B?ZEY5RFNOSDRpNnlqOEVQYjhpVVZYR0J6OS82RERPQ2NGRUdndjhxM3lDdDlq?= =?utf-8?B?b3d0RXlYTTRMUmZkVXdBWTE1R05rMlBNbHRZTzlOaUJscDdJSGJjV1BJRWNr?= =?utf-8?B?elo5NzZpc1B3Wmc4QzNIRDFOalh5L0JUZkJXaStWdlljTHY1c2djVGY2NXBJ?= =?utf-8?B?LzNuOEx4T3FZdEs2WVFuZ1pGaUZJSnhXQXV2UlJPZHVSY2N1ajUrd0FIOFZo?= =?utf-8?B?NmQ1U1JzbjdNZ3pkT1dNZmpGT0FVdS9FbWI3NjRRN1hWQjJ0MWozYzY4cHRW?= =?utf-8?B?aWNDUlZ4Sml3cyt0WTh4YlFSc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ZVFWbS8wS2ZzVFk1QUhneUdBRHV0dHR4WWpV?= =?utf-8?B?bldQQjM4MVVFWFUxdnVEbm1qU1REVkQrMzUvQUdoanlrSWRPZ3ZiYVdPbHVM?= =?utf-8?B?RjNYR3F3SVRmRTdkSGhzRENhZDZMMkJROTB0WElSL0Q2NUZwVmoxZkpCZVJF?= =?utf-8?B?QmZyZ2x2L1czOVAwN0tqeXIzWkNiMVFacmw0QTJpWGQrQjZGVHJPNTJuZlJO?= =?utf-8?B?MkpLVy9EN1RHdmVqK3hSTk4wZjR1cHhzTW9tWGN5MThjS3R3YjIwZUJrK0hJ?= =?utf-8?B?RkR6TkxnSmxmZWNrMDI0a1htb1NUbndPK2F2ait6VTQ4NzVpZGhoQzNPR1cv?= =?utf-8?B?dWFBc1VZZ0d6TStWSmliYTRMK1FrR3l0TXd6RkNtUE9ta0tPeWFJekw3aTZE?= =?utf-8?B?UjJKMFo1RTVrc21qRzNPZVdFQmNZcmVwa054NXE1YU9ZUkdwMTE5SEdBVERV?= =?utf-8?Q?jrvK7kn5UbkgqslnXfPf3GE=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <5CDF6DCABFAA834885835EF427752511@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: 9a1b8379-de84-47e3-947e-08dc9cafc935 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2024 05:03:18.8503 (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: LI5sklwAeSNQFRJ7ajsYxWZ1yhYBSWMDUZFRzQAmVqI69BAH7xrJq89L0yFImgi7u/rjj0vXp/C0vDyge+Wp8MrEqPcqXcXbOfRzedf/C7QuBEZ3wZDFEdam/nQ5vODk X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB6542 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, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 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: 1720155846421100009 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. Signed-off-by: Cl=C3=A9ment Mathieu--Drif --- 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