From nobody Sun Nov 24 23:55:38 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=1720177375; cv=pass; d=zohomail.com; s=zohoarc; b=Js3vgNbATmk27RlS/9cp53HwZmov+dSC+r/UiJ7Oy/ze5nIRaGTqmQIl8s98ULTJNewhABoCeJbF2ey+ccj/NYszSyJpO8ZrrJllUNOw0ngZp2WVICbVHUPI7MHC42LuQRBvB94F3qZBHYa1xiBqve8QFeJ695aZBulLKKDjfq0= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720177375; 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=OSaq06YEpf0TE4yDv2Vg7mB2AzPZeqdCRli7T3bqPdw=; b=RyA8alAH36eTbcourr/1lcQ2X3QgyeQzzDdpwW0UCjm7AwHquXcwnO2O3wrpyVWI3juhOSLAGK9OPaWFYNDAXHdLNXFlwmSatjEsRTGL08CRyCrI8wDtBwqVHkxPPhXoetT8Yw1FwgdZBfLijKmNLn+WjVq0ezZQoxqTz3rHOS8= 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 1720177375678855.0710291870862; Fri, 5 Jul 2024 04:02:55 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPghg-0006Jx-E8; Fri, 05 Jul 2024 07:02:12 -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 1sPghe-0006I1-Vx for qemu-devel@nongnu.org; Fri, 05 Jul 2024 07:02:11 -0400 Received: from smarthost1.eviden.com ([80.78.11.82]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPghc-0001TS-RL for qemu-devel@nongnu.org; Fri, 05 Jul 2024 07:02:10 -0400 Received: from mail-db8eur05lp2104.outbound.protection.outlook.com (HELO EUR05-DB8-obe.outbound.protection.outlook.com) ([104.47.17.104]) by smarthost1.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2024 13:01:59 +0200 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by AS8PR07MB7303.eurprd07.prod.outlook.com (2603:10a6:20b:259::9) 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 11:01:58 +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 11:01:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1720177328; x=1751713328; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=OSaq06YEpf0TE4yDv2Vg7mB2AzPZeqdCRli7T3bqPdw=; b=kF8qC8Mcl6zHFh5zGFIF8a+DMgnWj5WcVa70fHCPxVQKrxJUcW/4WF1H K98znyXKETOVm9qMueccOsb2Vv631Sj3QsC6hXU1lmb0yFc8qWtWqHE6S /O9jUR7pLoACt9AuWsjVVYUYvhAAblfaf2ZiCK6/KYZ9+POGwEhSDUgBe kynJn5X7AkZJhhTAI1qomNpdu7Sm4u3ziORtn2iHzDMOLCpI4DrZKYTJ7 o+k6v/pn8vbor/gGtIFt5vNvdI1RqXJnsQxTf2sMWGHmFjOmzAct2zbmr sfm/qquXNVEFJfDr9ANiJWCcBV1z4q9A36FZHDWBBIZA3SI/qapksnDYl Q==; X-IronPort-AV: E=Sophos;i="6.09,184,1716242400"; d="scan'208";a="15949129" X-MGA-submission: =?us-ascii?q?MDELdEO0ckOqF/CCJ2pgPrUNKVnLZSHeHuV81h?= =?us-ascii?q?5wCHEhM2BF3GJao2wap3IYGJYC8d9J3JkxDB9j743Slinf+FdouwRkdu?= =?us-ascii?q?w1Y9xwHDNTm7gGWN8GTy6fkfOQqQrX8t7tijS0e5Pjc9WvlYABlE0D61?= =?us-ascii?q?H0g1M7zNGGDQDeWD8Crw17ag=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S8zARc2q0+tnaC5rOoak4mfa929Gql0NUkM1L/mRmSUMDqFiZRugYHcRx3/nHKEj9FmnI1NrY/AE7KrZSH49xVdgagLav2km6vkO8H9s3B9MQaPVKHLaSa5lO3KPGXSdR/FI+DRlcWgBaO2GaF+DBmhfR9yhpM6Bll70YBcd0ConNgMzEpGmZNjFMtizoQif+w74UHSW302tNgttvuhu/D9KFEyl5nehxNmNKnV6CNcKDFaILjbQiCfINzYDobd7bkq2B1VNGSeiwJvNgguocm4FzML8dK4lbXuxHygbvZWxNle7LFRfFIv9wS8t+peKJnVzFT9t3eni0GLVrYsioA== 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=OSaq06YEpf0TE4yDv2Vg7mB2AzPZeqdCRli7T3bqPdw=; b=hV42v3WhqiDnq1fd5KIY9imlPLcDFwMlhwOLudUwVbRYvABHfG1RsgXfcCBjosv6fZeG9h1mcygA8/bNqR4IvirQCAXVwl/UuKAieBBUhmqcjios4gYnmE2vlvbdGpk8tGVI61BimIbSdXA6uio0B9KERhYn875Jz8NbREkOYw6MF8k7QLVXFIEUUvDpml2LmBevhC3q+TAEcEgNDsi1NlTRa2JQsnr6Cdz0h6PmZYPNlZVawuP47tY115IEIqitj/4IsQI3ZyJR5ZepKXYd+T+XATZXMZrYWORSouzjF6CNgU5dYMOJ4VijholRL2eS1SFBf7QMNXk819i/oBX4eg== 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=OSaq06YEpf0TE4yDv2Vg7mB2AzPZeqdCRli7T3bqPdw=; b=VLKmbFUa5/A7lfoVX6QNRiFnS8U6SpLBZYP3FztIHiV6zvOQuTLtm1uae0R+CDK5ZbLKjZYS103+4TmYasQQWVDQPC0C2abjzhA69AYxJqk0aqqu/Aq10WEs57lEd1xRMl2mRAiIQc8gNaZm7q/fAcTcEmyxW9K4i0Lh3CVTo0kDQ0KDyQI1ywfmjGE+SkmwxwZZoUue7Ia38QJLFBl2EQagzrCz3dKrTdtdW817kACHSw+qoBQr5b2m1+YvgiWRMhXT71cqqfAp5x8GRnHT6i+cgVSViU2bUz+Jb3HNC+n2ElqC13p5U9u/axPAGBYnQNXA/+ZVX2QT+x/lwLseZw== 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 v4 3/4] intel_iommu: fix type of the mask field in VTDIOTLBPageInvInfo Thread-Topic: [PATCH v4 3/4] intel_iommu: fix type of the mask field in VTDIOTLBPageInvInfo Thread-Index: AQHazsrBYascOMgzcUiBvUTQcBllOw== Date: Fri, 5 Jul 2024 11:01:58 +0000 Message-ID: <20240705105937.1630829-4-clement.mathieu--drif@eviden.com> References: <20240705105937.1630829-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20240705105937.1630829-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_|AS8PR07MB7303:EE_ x-ms-office365-filtering-correlation-id: 7a0ef729-7e27-4a8e-2990-08dc9ce1e415 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|366016|1800799024|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?dG1XbFFlK1h4TmtUQTVrZ3ZKbmI5NlVWYXhhckJrRFk2aHJrUDJpUjdqU3dB?= =?utf-8?B?VExkb2RDMUhSaDVzM0thYlNBcjEzWWtCZkFKam1hTEFIb3YrN1JpeWwrWjRW?= =?utf-8?B?b1ZyRk1IWHF6RWRVK1NuNUZLd3lXYVRYTERGUlVTeWlPV2FOa1ptWXg3SXkw?= =?utf-8?B?Zm0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:; IPV:NLI; SFV:NSPM; H:AM8PR07MB7602.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cjVxRHFQUDVwV0xXTEhjeGp4VXVNNDlCTEVDN29uQjNwZ0hJamh4M0RtUUJp?= =?utf-8?B?K1Z1VmpweFBJR2tvRzZ3QkJ3TDkvT2EvNDVFa1N1ODZZNlRuOHhuVnN2WHUw?= =?utf-8?B?Uk5vOXZOVzBsNDhMZFV4bmYvN2prVjdiT1NWSDJyM0hIS2d2N0l0R3FmbUZJ?= =?utf-8?B?bjNlNm05N2packxyYWlhMmpBc2lDVEJIcjBYL1FHSGFmbVlELytrOHRxM0xl?= =?utf-8?B?Vjk0Wi9kWnlSTFVoc0RGRTN1OUVBL3Q0TUdBeWR1VzZYNU5zenZ2NFR6V0NN?= =?utf-8?B?eDN4NDNYRVNrNmwyTzVQd3NRcTJqRHRGTjh2ZGpCeHYvT29RSVg0MFkzUHZs?= =?utf-8?B?dlp4N2FGeFZwbjFlRTdZSWtncyttb2h3VjAyRndWZDhIa3dqbkRZYTE4TGl3?= =?utf-8?B?V2lKVk9xdUFlNDRmek5VUzRtaEpmWmsvQklseDY2YmlLRWM2LzhYYUUvRGgy?= =?utf-8?B?TDZMdjZiTk51UW1wMmJORnFBdE12UmFvS2txQXZNZ1B6SnVqZlQzeU1ReS9D?= =?utf-8?B?c20yTUhVeUJuSTdaODZ4Z0czV0tCRkpjMzJvUHJuQVBvMml1dnkweGdjZnls?= =?utf-8?B?anhJWjRYTUtoaHVGdXRWMFZtRHVodm9wdnVJaHh2akdZWEYxcE1WWDUyL0RY?= =?utf-8?B?c2VQRGtXSHV3MlkzSUoxbVNBajF5YUhadkxUMi9BNGVNcng1TVFhVEdDeXhu?= =?utf-8?B?VmZqUkJMWFpiNTR0SVFwWXRoeDFRUUk2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zb0JGano2YUFmMC82QWV5ZjZrOFFEOWJ3V2pvYXg4?= =?utf-8?B?Vk95ZUxsczNjZ2g1R1IrUkp6ZGlsT09yTW9JREkvRCs0WVBmZk5NSGFVN0Rm?= =?utf-8?B?cFJvSk9pYkVjd1NUSXNETHlrd2ZQQnlBUlVzakRtL3pheHJqallrSVBCUUho?= =?utf-8?B?U01lYnVqQjNkRTZLcWYvc3cyaVRRbDRVaUZPRXh2NG5UWEw5U3hsSG1KS0Zz?= =?utf-8?B?bzdwME1QbUVJMk9RNThGVU5iZ2lySW0rYVI0RjNkOWNUSXNXVk95bXJxQ1Bm?= =?utf-8?B?UllXWlZaVGZGeko3bFBNeFY0emJWUmdJNWZ0c1MyZUtFaGZDUHpmNEMwYUJK?= =?utf-8?B?UXlVVTZiajFrNkNaem84bTdGRFgvbjJVaUdGc3hQNW1GOGJ0VkFpSWQxeTlY?= =?utf-8?B?bVI3S1V3SjQxVGRzMHlKbDB6OUp5LzdRVEQ5MmRuOHFaZFAxa0pMaXBkSjA5?= =?utf-8?B?aHVjVThhR2xBOXBWTzhVL3NqOHlIN0w0djd3VUFNZkJ5eXVHTGRzMFNjcUtE?= =?utf-8?Q?HDHhJCJfbAokGLvZrSxe6So=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <8EEA1010084F264FA4F043D3AF8B381B@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: 7a0ef729-7e27-4a8e-2990-08dc9ce1e415 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2024 11:01:58.7402 (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: wHKx/EbFjDpd4Y6ju1/wHpqV3oHUlvVrBn0K0/OJIYCAJqilVyypnMh4iUAntz41uLjbhaPpT8RtnQBoALCem3d2rWeZZheuqs2giEtpB/dGUc+SncD7sAWoAhonFPne X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB7303 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.82; envelope-from=clement.mathieu--drif@eviden.com; helo=smarthost1.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: 1720177377143100001 From: Cl=C3=A9ment Mathieu--Drif The mask we are trying to store into VTDIOTLBPageInvInfo.mask might not fit in an uint8_t. Use uint64_t to avoid overflows Signed-off-by: Cl=C3=A9ment Mathieu--Drif --- hw/i386/intel_iommu_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/intel_iommu_internal.h b/hw/i386/intel_iommu_internal.h index faea23e8d6..5f32c36943 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