From nobody Sun Nov 24 20:24: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=1720505983; cv=pass; d=zohomail.com; s=zohoarc; b=Qfxs125KNSU/n/vAjhiBrJgDlaPjo63QRbDAOweoWeyiBR5C9GJqfKuK57BHnOUhlMpPr2nEqrAJevExeKk/uuiajaSTEcx0JFct6+u8KtnW/RiT3hwmd2ySDEgOTHeohLaE29Zu7zBUn3ftXV4i9LJj+FkWrndz1eULzEBz2xI= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720505983; 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=HE1nSNC+fM1pwokpWi9++/4rNMhNj9V1sCadInCpIzU=; b=PBm2z07apRGJtl8vXDieBNCOVeHYm/qPq7BiHDsGI6uazfNQNjj6FCr/HEU2blo5Pt/SiBRwKyDiU4bSqrF3UqJdV8OWzUCDEv7HCEN0lJ81irWrTQkJxh2wp+u7kMZYiZDaR+ql2XVXX3HKS5+cOW1xIAtgYxTav2piXJreLxY= 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 1720505983707138.95722757449494; Mon, 8 Jul 2024 23:19:43 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sR4BL-0001Je-BZ; Tue, 09 Jul 2024 02:18:31 -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 1sR4BG-00012v-Tg for qemu-devel@nongnu.org; Tue, 09 Jul 2024 02:18:26 -0400 Received: from smarthost3.eviden.com ([80.78.11.84]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sR4BF-00080Y-4a for qemu-devel@nongnu.org; Tue, 09 Jul 2024 02:18:26 -0400 Received: from mail-am6eur05lp2111.outbound.protection.outlook.com (HELO EUR05-AM6-obe.outbound.protection.outlook.com) ([104.47.18.111]) by smarthost3.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2024 08:18:10 +0200 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by DU0PR07MB9289.eurprd07.prod.outlook.com (2603:10a6:10:44f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.19; Tue, 9 Jul 2024 06:18:10 +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; Tue, 9 Jul 2024 06:18:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1720505903; x=1752041903; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=HE1nSNC+fM1pwokpWi9++/4rNMhNj9V1sCadInCpIzU=; b=A3BCthzvdCG/mtTL7uANeJ6zQF59Z1kvbEhkW21BjgqqfYtZ2CAig3f+ SZhT34fvlu6dyrooK4YvTY3DJ0dqT7ScWWhujYsJBhqDuaKr2hEtax8+G 6j3Cfk/HxMhAcSd2z7+l44Op5/Ja+OcNVdAnbtxj+H76ZEfmNCAQKNZcI UbDZHq1fQsEvonqu5QQQKMfcAVwiakOSBSyB39WdD7QKLouZ6HuytQQRd aoewIzry36AH8rnu18LCZ3xGuCevfnaQO7gezPXHvPohjLmPeWTUU2RIQ wGwheL03igXWvqfWaomLQljZhrEddaMxvTX/i7KkEjdp8awOxk+nsUhc7 A==; X-IronPort-AV: E=Sophos;i="6.09,194,1716242400"; d="scan'208";a="16131809" X-MGA-submission: =?us-ascii?q?MDFPZS5j2/q+i0Z6tBPGe6dM047gGEYsauk+J7?= =?us-ascii?q?SOTqw/NvwQbwUNzdyFOIYyhLWf1gP0slLarfvlG6e2nZxAJm/kiTRs2g?= =?us-ascii?q?Q99JW78/X8EjQf9Vl7csZj6Yv6PxDzHqhCLvfxT+1Ai2lbxSI28HMFn3?= =?us-ascii?q?75z0HI1tsWNdSsUP+QZICWug=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XoaAnCsJAc1ijvhu0vedsf6bnw8M1WeMx8Ny1odvho+FnklAfqjKUUY89wU/TnMWUDkXm+7uZwRyeGM2KudVufpDMX9EXGiL5RRLbgqTn4vqso5fl0PfgO2DC3Zq/bev9udrdT8yZNSjR67mc89cwN7uxafzv2TP3iO3a2kUkY5t0XGzksGeLskUU2YCmRw6u7CwumJPLtfsrWhMMm+n5gI8VkTlfxyJunvx7IF8CNhFvcugNG3iM9Zsb/7M1xH3NrSXZvVRyw2JkeZVy16HBIsEDrEV0lxlHZSiEjkN8rEydi11bqmn2ua9aJ+jAy0E6DUsRfkH52G2/cXV4LiMDQ== 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=HE1nSNC+fM1pwokpWi9++/4rNMhNj9V1sCadInCpIzU=; b=CQRAwL7BErkAgM1Val4m7HlAVwfwEJ+O6DVXegGpUD+dVcyuAQsrS94IV0fKEhaP2NUgXCw8iQbQ50xxfMcJ3DiaxqmpptQLnSBrVcnfDPLrq13fcL2nnB5d3XElCOo5D2K1y2ua/Oa5X8Ztc95Ld4bqdbGSI+ZYymE1eBeYFJdzJ6w79Zo+iR+y8K/oh8vgQZSG9I+ja0uYsemreuFzUwS1OcZznLD87X3FWwDzYYXAUTp0MjrdLHPPD9CAxb+JbQPAvfxlVdiSbsR1o1XkiJI7J7EBafyyOuSHk65undO8tmog8EyQ0i4TAUA/TjVNoOIY+DGHFVX854hnHRc4Mg== 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=HE1nSNC+fM1pwokpWi9++/4rNMhNj9V1sCadInCpIzU=; b=Zq7z9rHYulOPP1zJVJxfq7l4JqhmgBnH+M6iPgJ3ptsdHy/JpyCo+1Fb26GR2scEGIsOXMMyOYQoOSDFqAULeWAvrhPHftOSTiPSgfn+wyLu15mKfmd8spJlnXn45jSY2WGPAY47vwd8xG88/8CGXZlpiomWwqS/n7ESw1fY5k9mt6TgBgXluXvEF84atXHEtksFQItPVOrcIrzdyWVgA+Zvo1UjVbl4/XrzprmkS2bJ9+CHk3ZZ/Kc8yGg5UnxdiYIgidpA8wlcYu7wQV6shPMX1UwTxrB4pOVPFhsTuDoChTknqv240lpBZ95ru6znKemKlMBm/64AZUbh/vKiXw== 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 v6 4/4] intel_iommu: make type match Thread-Topic: [PATCH v6 4/4] intel_iommu: make type match Thread-Index: AQHa0cfF5MXBfjhIO0OC3hgSPePY0A== Date: Tue, 9 Jul 2024 06:18:10 +0000 Message-ID: <20240709061756.56347-5-clement.mathieu--drif@eviden.com> References: <20240709061756.56347-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20240709061756.56347-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_|DU0PR07MB9289:EE_ x-ms-office365-filtering-correlation-id: 27cd22fb-811e-4793-cad5-08dc9fdee7d7 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?QmQxWC8vUzF4bVBHQkJMUjNaNXRPWXVtTGZYQU9VbnlDdzB2SUp6RmN2bnBh?= =?utf-8?B?REVUa1d6R0pWdmswVGU5L0p5REFUN1Y0ckR3cG5ZSGlDUFRtWWp5V2JVcEVJ?= =?utf-8?B?SFlqakZmMjJUVFlzaStDelpteWhGaVNLS1ZCZU1aU3lzQmVZS3c3cjRVUFdn?= =?utf-8?B?d0l1YVlDTE9GZUx4a3h3UmE3M1dMSEJlajhaWX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VJCcStKa0RQOU5jbjBaODR0eW9ibEtMV0RXUFRqUUorMytmSHFh?= =?utf-8?B?TDRjSkU3WHJhT3FYNWRrSUJGZVpVdHI5RkoxL2UvQ3hkN2lDU0hIbkduai9U?= =?utf-8?B?OERzNUNNaXpmb0U5TWkrdi9GWktTSERpL2M2MFdZV25jNEQ4aFBYQmFRZUox?= =?utf-8?B?MXJQWDhia2VKdVVtTjZsRnlWK3p5OWpqOVNXOFJ4R2VCMzRXOFZkVUVwRi9V?= =?utf-8?B?M1UrREwyL0oyQWRuc21KSGllbnZPM1pPQWVVTUpCQk1RY1dYUjhqT1lHMm1j?= =?utf-8?B?QmZLdVk5VEM0L1kzeHJzaDB0aWZlY1hHNUVkWllLRGluaTBndGxjRzNzNCtu?= =?utf-8?B?WG92M21NUmE3WkszdWE5WlQwVldUZzROZFpDdkZHWkFRNURheWo1OWh1TWRs?= =?utf-8?B?NlR4MkFIOGNtNzgvejFoM0JFRk1kTXlXQTh4R0dZYW5vQlNuQ0pqUUp0WFJL?= =?utf-8?B?WTFUUE9yTmFnSzUzejc3ZjBBSWVjaG4wV2UwaTdYT0taVDlDUnR3ajFsYlNP?= =?utf-8?B?UlRLYUVMV09LYkZYUU5CS2FFVXlORmt3TkRjWmRkMmNmSEZndVV6RUpnblU4?= =?utf-8?B?Z1RCYzdjY2lVREtlcE5OR0RFajFOcXFURW1LL0dXaVJSa0ZHM09ndFFTNlVP?= =?utf-8?B?N3NRSnRpNUpwUzFrRnJxRWpyUTI5NndLeTVCODJiQ1RNU3FLYmdxQndXVjc1?= =?utf-8?B?K29SWUV3UlNxM1VOQkc5Y0ZpNzc2UGRheFE1RThGZDNqK0VHWDVDTEE1cDdF?= =?utf-8?B?UUY2bmU0amRDc0JXQkptVTFIY0JGNGtEYlhjVGlMaGVjd0E9PQ==?= 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)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?elZ5R1hUdHY0RUgrdnQwTzlGTW9BdzBid3l2cStiODBQcE55aThKdzdTUVhl?= =?utf-8?B?VC9BSGlUSjNGaG9yN0l3YUN1YXJQcHR3M2hlKzFZNGNvTHhROUtRY1RpWk5i?= =?utf-8?B?S0dvMm5tRW9Weno1dzY0cmVUdTJWdVhPbWFCd0E1Ty9kckFiRk04dWtwUHdW?= =?utf-8?B?TDRxSWZwdGUyQnZ0ZThNS1N1L29nWnlIVU0wUUdhU2xpM1BuNlM4eEpxOTNE?= =?utf-8?B?QVVlaFJZWWYvSGJEckpiSzR6NEQxYlZOand0S05heDJyY1Viazg5MGRuQzF0?= =?utf-8?B?RUR0cEhkS2tUYkEzNnA3bU1HdU9CQ0pRQThkMjh0Vi94YjcvVXBicFJseGhJ?= =?utf-8?B?NEttTjdhUUNTc001OTgwamRlVjBYcUdGb3lwVzZ0YTNHcWY3RmtMY0FGbmh0?= =?utf-8?B?VnkvOXFZa05RWGRibC9HWFFUeHdqaFpsb0ZRZEVBZ1JXMzUrdnY0TEdSRmtn?= =?utf-8?B?ZVhoNnVGYjZqbEF6Y2c4eG9IZVNZVTJsZDFQZXIwRXpRZDdZU2hMTHBJUWxz?= =?utf-8?B?dmVZTDhGNTBLWkxOOFdlL0JKTVJxTFpyZHZuK0RqWm9WOGNRNlFDc2RJOGJm?= =?utf-8?B?Z2MwcEU0Wnp4N2szVTljZUhtKzNqM0VTd0IrVXgvVWJGWnNRQk9rOUROVkFy?= =?utf-8?B?TGdJZjdaeXgyKzUreXlrYXl1VWZMU1ozUGEyd3RmckpaamlLUXl4cUdrVlRZ?= =?utf-8?B?c0o5NGEwWXhxTDFqWHZnK1hWYUZwZzkrWDZsQnJ3TFlJV2kyVlNsN0xwcnBW?= =?utf-8?B?NFU0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-8?B?Y0xEeUJxODhUY0RtS0FJZUdpQ3EvcGx4QnlGOFViRTNhUU5hb2Y5TFRpNUQ5?= =?utf-8?B?dk1nNHBjVGZBRmdFQTdsNW9uSWxHcmpFU1BueWxGalpxbmlTN2RkbUpVbmJF?= =?utf-8?B?K24rOFRsREZDK0dTeThhQ1pSaFRDVGRkcjJabk1ZL1M4NUxRQWkyNGpscFk3?= =?utf-8?B?ZzEzaS9odjBNM3RZc2FrU0lhSEorTzVFZjVqQmdHMU9PRGM2ZmRiQTRsNTAw?= =?utf-8?B?bStyb2NlMUtrUWZCZjFud2YwczJYSFpueGR5dzNJRHJ6TmpQYzY5bXpsNGdQ?= =?utf-8?B?cldrTXA3dzlabHhzSUs2bG1ta0RvVDVJODhNZkl3M1AzNmV6U1Vrc3h0ckR0?= =?utf-8?B?ZDFtb0c0OSt6eXdISlZJT2dtSkVvODd6L0o2S3hYeC9QV3JMUGRFMG1uYnQ0?= =?utf-8?B?Y2szMG5KVElrTUcrU1hOelpjejVrdnBidTVXMEowYkx3V0trQ3NhVXdRODB5?= =?utf-8?Q?gE5NpsrQylNgAK52DaXpznU=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: 27cd22fb-811e-4793-cad5-08dc9fdee7d7 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2024 06:18:10.0764 (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: dPcv0/PFd4XEMh0678dBJwmGAT7kEkY9M2WPek0roMrINYT85jjAPA2clr9Ed8Oe48BfYI2HIMvBECgIERh5Go/qt0U4SBkOYgqwMDcZHlybQmZ3enco7mK121Vd4auH X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR07MB9289 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.84; envelope-from=clement.mathieu--drif@eviden.com; helo=smarthost3.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: 1720505984442100007 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