From nobody Mon Nov 25 07:27:57 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=1717394665; cv=pass; d=zohomail.com; s=zohoarc; b=WD/iHVW9TmC01oMbaa3QKixvS9pIrebPcT8SdoARRyfUa/V804BA0YOGknEo3IOdoyDSpiBtZkWhMwUpFfhzzIG7RabMmYw/bin4TNoBoj3baMgNvkyJjO4GiIWvPQLDd8RT2IvASYmPipBZh49NMAOl/vwSOsMTjy6nVj7XWf0= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1717394665; 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=S5v2LajcwCAxqit1K5GGaK+F/ETgt7e1xSPiPh6VS/s=; b=ljlmKbc/jzxhyN6OALRSKsZ82pgCF71XJdjVIQTDP2vrRFPXHdVQOrXJlzBgp/mwk453A9D+BSne7kI7CFqSQkNbGsC56C5NRTFYhGQ8AJ0wjK5zPyHF+W0BpE2PgvQjZgJy6eMqsRY+rhauXZHIy0OeZmWD4L1yURPtmuHIsbU= 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 1717394665726916.1466070165378; Sun, 2 Jun 2024 23:04:25 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sE0jX-0006cL-9i; Mon, 03 Jun 2024 01:59:51 -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 1sE0jW-0006bj-1J for qemu-devel@nongnu.org; Mon, 03 Jun 2024 01:59:50 -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 1sE0jT-00070x-KQ for qemu-devel@nongnu.org; Mon, 03 Jun 2024 01:59:49 -0400 Received: from mail-he1eur01lp2050.outbound.protection.outlook.com (HELO EUR01-HE1-obe.outbound.protection.outlook.com) ([104.47.0.50]) by smarthost4.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2024 07:59:43 +0200 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by VI1PR07MB6238.eurprd07.prod.outlook.com (2603:10a6:800:136::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.21; Mon, 3 Jun 2024 05:59:41 +0000 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com ([fe80::fbd7:ca71:b636:6f9d]) by AM8PR07MB7602.eurprd07.prod.outlook.com ([fe80::fbd7:ca71:b636:6f9d%5]) with mapi id 15.20.7633.021; Mon, 3 Jun 2024 05:59:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1717394387; x=1748930387; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=S5v2LajcwCAxqit1K5GGaK+F/ETgt7e1xSPiPh6VS/s=; b=sNlNfVGiHXqUHVlp/kMH0CtBUbC6YJZNzflDVlshgkdAaa1Xi8H307/c t6FJgGpG2og+e/NwFiwbwC86gEXIMO+BP/8K4jNjo+u+wpjHWo9PInZND Sg0Jd1vtLVKLL/hEYiCG9rS4PPfVQmpJJZI2n742iCPJJ5NceFRXB7QZk 9kgPDUYovCMtmGsXpgC7elTBYw7frvl6yY2GMp4k51St6gahduhzNslkk h9GntLdZpR4UaYE1rZxFivaXp/yYBxWOxAdEW4kjzuZFWXp5ve6eWSugz rN6uL6iNdjd0/k5ZMoY+6BqiKpkyCjhG1nK65V4fd+l/bOnGVVWTL89gP g==; X-IronPort-AV: E=Sophos;i="6.08,210,1712613600"; d="scan'208";a="13815870" X-MGA-submission: =?us-ascii?q?MDGllue0+6Hs+LKhCB7wXGGRUxeGB/JfQNCbpI?= =?us-ascii?q?qQX3u0wDfrUSmnlyrc6+8/BTxDp5+AX5yb+y5d3VMkiHBJJaUKEpiMIB?= =?us-ascii?q?YQnSg4EjYCsDWidNt8THWSnTRHIxgtwqpz2d6X5lUFjQ+NDW6ShKCeWf?= =?us-ascii?q?uCnVKtZBMhSnZ7cXVNKVLwbw=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZYlB7NXk5mWmgipxECiLj3rmkPqj1j3bzjlIg0UO60OrWLRD/UXtfUbdz3LJ0XMfXX4EMoH6EhuwF2Ftd3vfN6rj7bsks5a046+D9XLzPUvINJrhw9AxK4WbIfBb+NGDyBmN/9UsJ2wBuGFa+gfZZmZ3nTGafbhqSPRpaLjJYlYBfc7IYVgQvpsz8nXkTjBFXSrvVQwu/wxt5K/HlaM2Jz8FUrbaEjqvSnNLLvK5Pqgf0Kgaq+MOpP/rNQHjgx//5r8Ma9/z8/0UwI5IsK81B/0jozovdHZEGQzLHlXG7Vz74cCYc+2KlW+k/ANehXr9xivXL78tOUL257V16/tz9g== 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=S5v2LajcwCAxqit1K5GGaK+F/ETgt7e1xSPiPh6VS/s=; b=GZ02WCig/skTNIC440oWDEfxePnpo3A+531x/Xr2cB9RB3ocHbV+6PmoYESTswOsbtzQHVlC9Gx4T6Bs++Lpn6NJaRSjD0GdPiIpcN2Z13TtuvmEiLQM1RSQy17qlMT/rqhV4Fgz4/1qr4BkkbeOTNv1eRoArie2LvnUdRoVkS6iQZhb9SthUt4DQgHpNbt/3IjpHnkkJauPDPsj/YnsTPoEiV4Ff4EB7uoDCCpS3IVsaC0wgdVn4ZbNGTQdd6p3GsxPbebNhUAPZFlw8EXDpNO8G09ZjaoXZMaB5DEWG1Py38NeIA48EEEpSckpx+smfU5NJYeq6PH9M1lEv0ASLg== 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=S5v2LajcwCAxqit1K5GGaK+F/ETgt7e1xSPiPh6VS/s=; b=A+oAs6mk/u7QyYmDpT1FKli+gZq0gfIf0IMt9pkxOLa1VEhQAoxmpOVXLK/QVwMF9nBfYXRdnSmR96I8dhO1Hr+IybyZCNsExWD9ZmsjiMWrEgaibQQ6FR2BsIGBgPMbMD2nptWRYmwRmyCtEW4DstMHM8JROr4N5BvdNLgwbg9JaavD9GHXHGqCSYVJc908IoR7v/f6oJFKcA8EOwrQnKx+pg+MCoffS94u3eZfqNNXi2C5OelBZGg9Jkjg7JI0vd3QoOekQiHHhV3H2NGaH5Mft/cLuI0KzHanjXfCfjgtYtkUZZeVu+JT9cFrU/JEPcrqQmL8hO3+GBTSBwKdjQ== 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 ats_vtd v5 02/22] intel_iommu: make types match Thread-Topic: [PATCH ats_vtd v5 02/22] intel_iommu: make types match Thread-Index: AQHatXs5E6voFkhgJ0eF3xAba32ANw== Date: Mon, 3 Jun 2024 05:59:41 +0000 Message-ID: <20240603055917.18735-3-clement.mathieu--drif@eviden.com> References: <20240603055917.18735-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20240603055917.18735-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_|VI1PR07MB6238:EE_ x-ms-office365-filtering-correlation-id: 9b99948a-8874-489e-53bb-08dc83925c4c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230031|376005|366007|1800799015|38070700009; x-microsoft-antispam-message-info: =?utf-8?B?NUxGNFdjQVZXREhiZjFqRndjaTZUL3o0MjFNNmovbTcraWpFaTlwTGdiTGZ3?= =?utf-8?B?Q1lKZnBoWDBjY0YvSzlFMDJrVmtsZ2hZTXpzT1UzeWozQlFYM0VOV2V5NEZi?= =?utf-8?B?WmRPQXpxeDI1di9XY3g2eHQycnlzNm1EVE9ubVNjRzRsSUI4WTJWWkRFWVla?= =?utf-8?B?ZVBFNFhi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ri9m?= =?utf-8?B?WTJLRlU2dFZVemJzazV3NzJPLzdVRk9sRmJMaXR1L29KQkM5SkVEWks0bHdR?= =?utf-8?B?bzV6TS9aS1VsN3I4OXgyM3Z2UkFERjYzMGJiVmtIS0ZzMGUrWUR2dVdxZkNv?= =?utf-8?B?ZkVSalc3ck4zTVBhNkl4SGgzV09sczVvTGRYREk2d05lR3N3YXpkSWd3alN1?= =?utf-8?B?N284Ujlrd2JJc3NabDBXek42cFk4aTZPQ3JqbFpITlovWmp6S01LWVFUMHBp?= =?utf-8?B?WUJCV3hSc3c5a25xKy9sNVBTZHpORVBSS3ZxY1E4bmd4N1RvMTJ4Q3R2dzQz?= =?utf-8?B?Tis1cEdnMzVVdjZuaXIvNVEyNEd0eTNpN3gxRnRyNmQvMVJuUjFtOEF1TWxQ?= =?utf-8?B?cmltUS9SMGJtTkxzaDAxVG9la040dXpmSG5RUjRtUFNDS01iYmpDVm9pVVVR?= =?utf-8?B?Y2NjMHk5Q0hZdi9pd0llaGtlaXNmbG1CYWcwNmxwSlBKTUY0VmxreUdxOUJt?= =?utf-8?B?aDRrVEpETzluZEJhZzlONVEydnFmbVpsRjhsS2FFeWcrbmt1NFIzMVRGREVZ?= =?utf-8?B?bXJNd0NPdUcyblZ1M2dpcWd2SVZVY0tDOVViM09RY2ZMYk1HK0VSL2VFWW93?= =?utf-8?B?bFMyVi9lWk9HL2lWWmpWVjFYUG9lY1E5aEFxZWRYSlJtajF2bEJ5dW5USzBS?= =?utf-8?B?Nk0rNko5Q1htOThhYWhocXgwdGMrN1hlMFY5SFNraWpxcU9qbGM5R0h5Z3lL?= =?utf-8?B?K1JnTHU1UlRZTlFUQXJ0dz09?= 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:(13230031)(376005)(366007)(1800799015)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-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cCtDSTZLOHlt?= =?utf-8?B?dXBYSzk4TVQycFJkaHZNMXRvZThnNU1uNmpES0k0WnlMVmdqWis4S3NJcmVN?= =?utf-8?B?cFQ1QnJFZVNCN0VkRkZCaUYzWEdEL2dOVGdtQmVIRjdjWDlDcElVc29TaVlh?= =?utf-8?B?ay9INXRaWEc3a2dydDg0ZDgraUgvZFhkQXRqQklwemtuYm1TRWhhTVJ4bXB0?= =?utf-8?B?SW5uMFRlN0hvQ09CWEVPdXF5Z0JsU2JHTklDd1IrdE9PcEtXdTB0MXZ3ZzV6?= =?utf-8?B?Nkx3Wmt4bDFncnZneDRzRTFwY2c5NmxLYU5YTW1iMnhERTl3am9DTndISGxH?= =?utf-8?B?YWRCVUtuWmZ1Q1lVRVhHMXhkVmE0SW5idTVibE5vbzJwNkN2eWU2SHVEZ0Ir?= =?utf-8?B?MkRTQ0dTTWNBaUhmNVN1OTZndnVaV3NzdTBlVlJaUWFYNmRRVjJSNnBLNW0x?= =?utf-8?Q?Hy08hdBMV2ghGcfnEhNzsmQ=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <9141EAFAE0DE124FA6CAA1FE14C67B81@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: 9b99948a-8874-489e-53bb-08dc83925c4c X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jun 2024 05:59:41.6296 (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: m3x0ZFedFXNSxXwXimWw1GqAFyfZvF/RrFfbBINmdleISVK3QfJNngN3lNpAiVvvta/4+XKCXPc+d9vv0CEF3Tcn/c+7U/bOpoytpRmebWKqe+t/pYJAi9r+6iZs7cjI X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB6238 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, T_SCC_BODY_TEXT_LINE=-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: 1717394667666100001 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 b4bbd839d9..908486c953 100644 --- a/hw/i386/intel_iommu.c +++ b/hw/i386/intel_iommu.c @@ -395,7 +395,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 1e37b98c65..c9a673585f 100644 --- a/hw/i386/intel_iommu_internal.h +++ b/hw/i386/intel_iommu_internal.h @@ -488,7 +488,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.1