From nobody Sun Nov 24 22:43:25 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=1720106018; cv=pass; d=zohomail.com; s=zohoarc; b=fSmoyoifg1u+kC9aqlOefwdOIlP1t3iE4N2qZJL09UZIUpJBbb/h1IZf/vMy1IWjtwSnL2f5FLPg+PZ4oU2iUYaJ/Uy5wfnh0YaN7HMyrCtfr6SAzdwWa+rsnbDvAR3/zUisfCNvi8gm9qqoPDvK6NLVKZxafg3IZNeco46/vt8= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720106018; 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=YoEDiqSXeBOMuFcUpS2ye/tE0awOTVdmwpSMPRrvMks=; b=CuPJmFIgyj7H3WdWT5VpGDjJuYo0ZTOzQAAVIO8tw2eCQe6HEPaP5C7FBBAFqz8RDxlkTC9VL3SH7nBWNLeXbQAjtdG3ysXTAMAHOMD+7dVx66fxP/NQJz6lA+os/iibTKu/9B2XXNZYR5mXKIfox3E66ean24kIDVfLZEhHmAs= 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 1720106018034311.2298654210199; Thu, 4 Jul 2024 08:13:38 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPO8t-0005az-0B; Thu, 04 Jul 2024 11:13:03 -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 1sPO8r-0005aI-IA for qemu-devel@nongnu.org; Thu, 04 Jul 2024 11:13:01 -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 1sPO8k-0002sV-2y for qemu-devel@nongnu.org; Thu, 04 Jul 2024 11:13:01 -0400 Received: from mail-am0eur02lp2238.outbound.protection.outlook.com (HELO EUR02-AM0-obe.outbound.protection.outlook.com) ([104.47.11.238]) by smarthost3.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2024 17:12:49 +0200 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by AM7PR07MB6455.eurprd07.prod.outlook.com (2603:10a6:20b:137::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.8; Thu, 4 Jul 2024 15:12:48 +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; Thu, 4 Jul 2024 15:12:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1720105973; x=1751641973; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=YoEDiqSXeBOMuFcUpS2ye/tE0awOTVdmwpSMPRrvMks=; b=QdWBSNSjZs6cuvvIVWe+eUzNZHxn2NXl4QmH02XP5pbqUKXQlbtqZ/+s dNcesyTIaIIZQ8LbxVzj+NnRjdQZw3ckXP4y7+8xGLG+G3o7ipcK0LMtg tP6s6aD9SejF4w61/90qe62y+uQhl+CrCOwdc7PnBBkS2E9eNaJUpShZC pJBomOvKLmpo54mI+y2HppvspJyyjIBgHnjts/u5V7jyW7VkIXvKuz9hm /R1t+YcJ51QbuEw9OkLak2859fyWMrfsxjegpvGvqhydqYLdcvCzxphD3 jQ1MIJy1mdfcWds/wpBSeqGspvN5E+IJ2j6zXmGpH17WaovM+t7QVbytJ Q==; X-IronPort-AV: E=Sophos;i="6.09,183,1716242400"; d="scan'208";a="15910928" X-MGA-submission: =?us-ascii?q?MDGzkHGvFftBHh6nyWM5Tui3e99VGUub4u6NAl?= =?us-ascii?q?6eEdQBAlmFy8RlRwoiCOqE7IE2xNzdl+4HdR/BEcvUj/uwEMrZM0o9tc?= =?us-ascii?q?5XBxV9xiL/B1rzVSKk6ym6P4IvbGsCtRLAIxbDG1xew8S/gcORAGy7ll?= =?us-ascii?q?51eAdXUAGnjHDDS8mcSe4BUA=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n8H0koQKgoAHlkLEZJy3O8DTw5zyS44NjwFjmQIx7FKmM3CEKZcwiZ3l0gcdRToyXY0wTps3swJ38euwEmMaGi3LYMop2MuEvfj89jsZA7ulrvGAoKemZ6wSNV5+rIP3ReMmx97oJ5zsHi8JjgFMmPz6oGgTsrKhtEU3/06UEtiEfeplgn2ttQuYlmqJ2I+S4pZ3XuFSdcFCFUj+k8nIg8pt+F/K2gP3jui+xIVkaN0vjhqIeONgYqGviv/4TUg+HU7+oUWL8LWcbsseGxmuMt8n5phMWIeTZ7dCIbtioOE2+7jZ4KmhyVNTKazl8EYV/BVb3iEgPALqlNg9z+DusQ== 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=YoEDiqSXeBOMuFcUpS2ye/tE0awOTVdmwpSMPRrvMks=; b=NqGJ1ISk5ekE7nTr5Gu/XgPvjA/x7etT7l8sA4rkxM/hnUSz+e4IV5KvefqEh5Wd+qKKUR0RNI1zYlMz7tbHcqZqiFs3NRhOEiv/xNQ0RB97wYceXoJJ+WznH3ydEmyXWiUH5S6c0RUBNxjEACUXwL+mEwo0beOSBHpVGoe5+ZuD1m0SYg5F+I5H3xICsNxnruZS17NgLpW2VZDEf2caj+8B/i/Ziqjz0Cz/jx/eS/6VwMuLsU37dhhQsSKu9MOIuamKPk3CZ2/QdnCMO2N1tyUX+AWKVTHCwWZiQPHS/+hf5zo3hqEUQC8igNAw4H0NcdeCEZXOdHbks4rXL6qKfA== 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=YoEDiqSXeBOMuFcUpS2ye/tE0awOTVdmwpSMPRrvMks=; b=sRstGMeOliD8UB1IIKtqlDWe4FrVrBNFnY4r/o8Vt1B1CbSQYF2ZPnO1+INnbT1UIFyaLCumLLynST6Hrhnqn8wrXbd360UtCUXa9F4N9fZWyG8jTcL/D3EkBusUrANlurNBJuB+ty2GsWILX5X9851BMPjGPrrbLhv91JSAHa7x6OhUomIg5CkGS4yd6o9DPdYwJCc25Ymj6Y0srZp1zrpgXdcimmxTDKAQcVxpCF+JcfDvp0cwTO9qeyqijRggrqcwoIO8jn9XoBago45t7k+NDpeMc3O0/v0CiQodSTn87XzT0+f9TzP8rL8mCK1xQaEdMFjK6lAo4EbaNeTiew== 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 v2 2/3] intel_iommu: make types match Thread-Topic: [PATCH v2 2/3] intel_iommu: make types match Thread-Index: AQHaziShhEkI93qTq02nWGGZ+3bagg== Date: Thu, 4 Jul 2024 15:12:48 +0000 Message-ID: <20240704151220.1018104-3-clement.mathieu--drif@eviden.com> References: <20240704151220.1018104-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20240704151220.1018104-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_|AM7PR07MB6455:EE_ x-ms-office365-filtering-correlation-id: 8ba64991-c07e-48a4-a547-08dc9c3bc419 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?V1BBU0I3NjRuZzVoRGk5blJwV1kxL1RCT1RXUHFPajF0ZVpXZEEyRWJWS1FK?= =?utf-8?B?em9UdjhOUXZWMGgyWTNXM3Rqb1hGY0VKM1hCV0ovSUQyWUxXeklUZVUrNmg2?= =?utf-8?B?UEYySzJrQXE2aXplaEVwUWlWeGc2SURPd0Jlb3hBY1RKay9QcUJIZDZERGgy?= =?utf-8?B?bFplb1l3M0dmUDVXRTcv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; 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?WDlrd2ZaUUlqWi9yK0NBR0NUTysreEhZWlczZnBDZ1JyN21uSWp2NTNqNThN?= =?utf-8?B?OTBiNW1yMnFvaXczL09SdGdBaTFEVW5BT0NOY2pZeW9ST0MwcGV2VUYyVHBL?= =?utf-8?B?SWk1c1kzWWY1cU03R2ZJZXJvU1hUMExxSGQzZno3ZDNIbE9VWUVzeHlNbWdv?= =?utf-8?B?a0dMUHVVNW1wWk5JckhQaXNMWDROcy9uMytnYWY3a3IvOGF1Rm9VMC9ITVlZ?= =?utf-8?B?dS9sSUFubnpFU2FzaFk2dmxzb1FsM3pPWHo2Vmp6QVF6RWZUMTVpekhPSENT?= =?utf-8?B?N3kydGJ2NWl5dTZSRzdhVXR6a29Ua2Y0WHUrbXo4TEpPTVBPeGxYZ3FCdzVD?= =?utf-8?B?b1FBcjJWR1J0bXhjN25aZjVVWnAvY0NzOFVZQWNOdURPNzFRallwSksrQnp2?= =?utf-8?B?dnhwSUYrVnZlWjZNeC90UjlaTFU2MkFmV3lvRldxeThIMDhUYVJIcmQzYlhm?= =?utf-8?B?OE4rdzdtUWVPd1ZKb2VSejZGbERNYTdqQWhUZklZazkrMzJNMUZTMllQa011?= =?utf-8?B?MkxwL0ZFSWxuS2djUytQdWh5cDY1QXhCbEJtUnBxR1NCTkN3RGt2Y3krSnNr?= =?utf-8?B?eFRpVHFxZVNSY0QvdTRkS09LK1ZvQ0ppSDdKbThZb2FZYjdDcW5HYXlLRURR?= =?utf-8?B?Y3haTHJnNlhkdVpiYUY3SVYrM1l5QmFmZU4wSnBJZkxCWHZsSXVmOEc5eFFN?= =?utf-8?B?WjFMQy9NUHp4TFhlbm01WTVEMHlaR211Z080NjBNUzA3UDkr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ppVmdLZVR2M2owbFNY?= =?utf-8?B?Rm5GUk1SYm9aQnVhbCszZDF5d3JmQU4zNGQ3VkU2TFE5R0FBUlc0Zk9CWXRy?= =?utf-8?B?dThTdjNNNnJPeUlxd09meUhYd2R3dEVoSENBdkJqbXdaWTVMZ0FiY3ZUTTVu?= =?utf-8?B?dkdZZE8vOGlGd2gzb1p6TUJkaFNIa1c1c2pFSVFiVWhlNFY1K1puSUR1RnA1?= =?utf-8?B?WE80Vml5ZTR0bFpaZVhVRSs5bHVyNkdwQlhzb1ZYTkQxR0JBR1p2WGxhSVNz?= =?utf-8?B?QytIRDEwcWVkM3kvMXdWb1lLU21rSVRTQjJ2NjR3ZGJEcnE5U2VTazBGNFFl?= =?utf-8?B?S0EyQ3IzUzVpVEpnWTFiOHljVjEvdGIyaTB2a3dXLzFEWDVsbnY3UzJrWmFF?= =?utf-8?B?STNZd3N0bDN2cG5xdi9sUXJaajhaK3J2eDBvRk5abVhMcThFc0gvZ1ZsN1RL?= =?utf-8?B?KzRobEZlczRnS1VEb1NoMDZoUTNTbk1kRmQ3N210WDBZc3pjclJSQmpQeC9K?= =?utf-8?Q?PW6lpSlY8Awx+VvTkQ3Bdo8=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <82FB477312FDD042B15B559A837FA5F4@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: 8ba64991-c07e-48a4-a547-08dc9c3bc419 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2024 15:12:48.6189 (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: FfWnISGlKNQo5unx69g4eLSzuNhGzwm3jdYsCVEBN7EMQCMDWJ2gcZna2tI2EBwtEw6Re1YPWpDrvJeTxHmSRAR687tzzuFl+A82v5AdLMf3xILqUiccUmOJCrWzukKt X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR07MB6455 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: 1720106019513100003 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. VTDIOTLBPageInvInfo.mask is used in binary operations with addresses. Signed-off-by: Cl=C3=A9ment Mathieu--Drif --- hw/i386/intel_iommu.c | 2 +- hw/i386/intel_iommu_internal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); diff --git a/hw/i386/intel_iommu_internal.h b/hw/i386/intel_iommu_internal.h index cbc4030031..5fcbe2744f 100644 --- a/hw/i386/intel_iommu_internal.h +++ b/hw/i386/intel_iommu_internal.h @@ -436,7 +436,7 @@ struct VTDIOTLBPageInvInfo { uint16_t domain_id; uint32_t pasid; uint64_t addr; - uint8_t mask; + uint64_t mask; }; typedef struct VTDIOTLBPageInvInfo VTDIOTLBPageInvInfo; =20 --=20 2.45.2