From nobody Mon Nov 25 07:42:15 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=1717394655; cv=pass; d=zohomail.com; s=zohoarc; b=F2D0PSunjoddfc5zex+m6Vpys2QItQXdEI0vQ+deNKHZdjj21v4yJTFHu6vpm4+dcIV8l/XnjnyBxzIjjTZVDQEYk1Bb+7PmMZSrcbMimcKhSihVQVEsm7qd3ZxuhNS90XZStv+rH8taN5YQGTXus5FVNLuXf8V0eUQCw/ZrdMI= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1717394655; 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=tdlem/PBmSzX9se9OAGRAEu7sN2rybtDsPNqgzPwTAQ=; b=SPrDtJlOXyp0YurpTXTyO4a+asqGFap248UKVtQx3O+bxgG+TI1ZN22REUSok2U0rIkXIvbf7bFgZGJA4IMhpZQ4BzPaGgQT5wOG8NPV35jgMhqUaWPjxIWqKWMkKZlidfvsMGuHD4ljNz6Ac1dyjZGRVNN6hpItCXJWMSgDBYE= 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 1717394655986430.1247680580242; Sun, 2 Jun 2024 23:04:15 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sE0jX-0006cN-S0; 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 1sE0jV-0006bi-VA 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 1sE0jU-00071B-9h 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:44 +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:40 +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:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1717394388; x=1748930388; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=tdlem/PBmSzX9se9OAGRAEu7sN2rybtDsPNqgzPwTAQ=; b=L9fRDNYovOXpuDffxjQhO3afiRvfie65LeNR8IjWY46B0u5o3aafHKSH hki6XB3GH29roxdxN359c/RbU5oKA2ypUMH3Vl4F2iGGC4roAjPWcDDG7 dxfEGniyBnhPJyaYpCyuImcWayxG4diUPwG5Ieo+FyTLMMHSAnvzsMxBd drzLdvizN7jkap5b7zq1SHYuPqWfHPo3yRHeG75wzvJhsbqPmNP71c/Um rr2XaaDJJFqrbUQZIxfd5Wh1Ix/prR5RQ7aWm8m3c11Wsnt+9HRx4zk4w 4GejusI1GlA7mv66R5b8DELsqTVtft2WsE2ji9s9vBT2WidCRk2AAm89t g==; X-IronPort-AV: E=Sophos;i="6.08,210,1712613600"; d="scan'208";a="13815871" X-MGA-submission: =?us-ascii?q?MDFldeXDG5/ZzBI3dHlAZr39yEMq37mNhSwxlu?= =?us-ascii?q?/4KoHb3+NzTZnfu2c5lnNGiOI+BLE2OjLnoBcrBA/yvg+nrEbNkWO645?= =?us-ascii?q?JjA/A3LWTzr55N5gaxVpRsa9UxXfsVaTZHpVSeXL0MG2jL166gEuYThL?= =?us-ascii?q?Rw/CJt3DPGEatehPvIeDv7uQ=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dMC/Kg6IKWl/hqLuocqxX0bLJvUFyEKZmhoUKcflV1d9y6fytatARP0ppLVzkbdJGWkx+rtYsJ6MKPgGMDc+rQDk5qmZZbej/WXO2X641sKPuI1uQmWAL6/NXxre84UOIffOO60yI0hPMfq1ptZxN/IAuskINQBkI46wZemdk7R1ntK05TjbpJglPkEiJaERcILHJHilPVDfQRSnvSPy0D+/OrAWoSLyCC/4x8QEj55hkJBi706WdWL76PRjKZX4fsaQBABUl1E9d3WWrGYDuQd8UErsakCbtvdBYMSe/UVkbV60r/SkZDJdgc94Jt7/929YnoDI0hzwv4tcQOR6xg== 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=tdlem/PBmSzX9se9OAGRAEu7sN2rybtDsPNqgzPwTAQ=; b=dVukMWfGs7O6HclHZL/UUSsjNG5IilH6mWvNbiBlmA/gefEvfoi0OZSAPxSy5tU6JEqfYjjwBZusthcoTzwkT6p7A/ezfgN8JNGgnw1TszcIqDgeaAzc+WXusI//iC/m6LTcV/3Sy5isQvY6vocw8ljTwT2V5kUUANP59SiLcqvkzaYjXzehpPNucxpt6pgzJNXy09VbwWXh9AfesybxYFM2h65C4BxAusPPrt1+G/wB7FwzN43Eauyjp128TWzBBNpXLr1E269SmHpTmQ6tGduHZlC/83BoAtYj2hKkjMh1iuPat0SmplDCsqI/cH0fW7A+74JAgtvUg8QgkASH6w== 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=tdlem/PBmSzX9se9OAGRAEu7sN2rybtDsPNqgzPwTAQ=; b=I+bL7OiMscZ3VDvj2B4hngyv6PZvOS8QItY8cckyuZVMLv9vRRuYG48Vx9fssnouOL2BkKNXBZ3SwpRqFv9+jCtaJckTrVnlMjI2q3dh49ppuvqcF20F0MeB2YB7w4zkauKx4zqS9IOZt7j5JUEL5vSBrwiirc83BP15ThrKd+Xkbb8kxctTztgVs30CQh1dDSGiUWwB1edro2Wr6Q3527mKxW/6hIV1rJ0eeFfcYQ0fDeKmbgzbrJJiJyc2k7jgBZPc+8bHLRIpnQeqJzgTvhExGAME+UeUTvT9fbvAOWLO3gZdQkfDvD7Wtn0Eo7doYV+LjymW4XYknBt1aUCN3A== 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 01/22] intel_iommu: fix FRCD construction macro. Thread-Topic: [PATCH ats_vtd v5 01/22] intel_iommu: fix FRCD construction macro. Thread-Index: AQHatXs5gC5VI2sPeE+aetPJapEaBw== Date: Mon, 3 Jun 2024 05:59:40 +0000 Message-ID: <20240603055917.18735-2-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: f98125ef-7e50-4ba5-7d44-08dc83925bd7 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?RCtlVjNwYVNISDIrcjZVWkwyaWpmUXVtOEo2bEpWNHp1V2Z6VktJbVJUWExI?= =?utf-8?B?Z0kvNU1oOURtTVpuT1VYVHpJQTNqbWtKNlJOc0ROdUhpWTcvemVjYVMrN3I2?= =?utf-8?B?c051eWtzOTkwWW9Nd0JkOUlJc3FKbmVnYVJKSXpabHczTXVrelUrUTZ3czlF?= =?utf-8?B?b1hpK1ZFNmdBc2JCbGRKMnY2TndYc0NuajlBU2ZEd3p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wVUxDVkZ0cWxyTjc0VGxrRVkwcVpWcmxBeEFiNzFNNUpvVm1t?= =?utf-8?B?Tm5RcklLUnY1d0tmZllpcld3NEFKWkpYWUJUL1RkTDlwSUxxMVlQMW91bkFD?= =?utf-8?B?SlY1SzhsV3U5Wi8zK20rbERESGp0RVdEVXZKV1R6bllGd3pPTWF6elliRjd5?= =?utf-8?B?S0d3V3FnakR4YzAwUnZ2WC9HdmFmd2pFR2YzOWlYRWl2VmNXeWpBcU1jN2tj?= =?utf-8?B?b0tUbGJCM0QyOGRuZmJnWUdxUjNrcGhDQTFDMHlKUDhrU0RadWxnRkZWZlFQ?= =?utf-8?B?MnVZZUk2SXFXOEJPQTFQZGlSaG93OXNsMFlCZGRES3AwTFFOOGo1Zkc4WTMv?= =?utf-8?B?Tk94MTZSOUgzTG9UNkNwY0pyTTFWcEsvUEhKbHJ4M2s4T2pDaFRKZWhmZk93?= =?utf-8?B?U1hOa25Ua0ZjMmZKRW5rU1ZKTmRrYXRxUDYyR3dxZW9qTU1NMk5nRllPWVIv?= =?utf-8?B?WUJCMUtNWWgwdWNDcWloSXVhT0s5NWc0OTdRYm9xOXJFdzV4WW5YTXZMa0c3?= =?utf-8?B?K01NTkNyZ0ZyWDBhdVdQMFFXQW9BdnM3Um5ldjRtbTNmcklFdTZmOW5iaXJE?= =?utf-8?B?ajRqcVRQbmxOREY1cGZMbThKelkyc1BkYmR2cUw3V1YyZ3lDb2YzdU9CY3di?= =?utf-8?B?L3VZVXVSZU45NnNlZGZKajJiZDFTTGxXRWdiazRHRnlpZTBSaHNzdzdmZ2U4?= =?utf-8?B?YzVGQ2RhaWFmSUZUK0pSdz09?= 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-antispam-messagedata-chunk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?utf-8?B?UVhPd09nMVAvK2U1Tk9lRndMeGNRaW45NlNsb2VwUjdHREZsQUI0enJFcnlK?= =?utf-8?B?MERPeTlGeGwvNmFmWlcrNDhvYVJuaW1vUEs1UGhmU1h4MnZMN3RhZkpOQTB4?= =?utf-8?B?ZmI3ejhqOUpYZ2lsZFlsSlJJdjJnVGtiYWY2NjgyL3RqKzR1aXMxZkFSei9r?= =?utf-8?B?bG9lMUFxTUVwMXNSZ3BYUHV1eHNoZ0VHZ2ErVmpSUmtzYTdMN0RLbURoQWNH?= =?utf-8?B?SFJicG5UOEt1TGtXbUp6b29nVzZFbWFFaEVTZDA5THFOOWhqRWJEWE42Rlh5?= =?utf-8?B?TEI3Z2ZYUndFVERUMXJhd3VnQ280a0dwTFZiNEN2bkU1MlllUlJHdGR5Rlp3?= =?utf-8?B?VHo4MVVTQ0lUZVJaTkQ5U1IyZmdBVmxPYzZERk5QbnNHd2VpNmF3QTJwT05W?= =?utf-8?Q?HMTeX721KzKIlNYXuV4zPBY=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: f98125ef-7e50-4ba5-7d44-08dc83925bd7 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jun 2024 05:59:40.8659 (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: 3VMocovnmCy/RjDKBpX85DeVZHBo5sgeV/Y4HKSi3C/Bef6cIVBHBCNgkO0cRwKao+4uaFN23QqZa5ZPMmBDcbEz2wIoGByKyEtWjXshn16t62Br/Qi4l3Y2hfMeLClg 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: 1717394657608100002 From: Cl=C3=A9ment Mathieu--Drif The constant must be unsigned, otherwise the two's complement overrides the other fields when a PASID is present 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 7d0420e15d..1e37b98c65 100644 --- a/hw/i386/intel_iommu_internal.h +++ b/hw/i386/intel_iommu_internal.h @@ -272,7 +272,7 @@ /* For the low 64-bit of 128-bit */ #define VTD_FRCD_FI(val) ((val) & ~0xfffULL) #define VTD_FRCD_PV(val) (((val) & 0xffffULL) << 40) -#define VTD_FRCD_PP(val) (((val) & 0x1) << 31) +#define VTD_FRCD_PP(val) (((val) & 0x1ULL) << 31) #define VTD_FRCD_IR_IDX(val) (((val) & 0xffffULL) << 48) =20 /* DMA Remapping Fault Conditions */ --=20 2.45.1