From nobody Sun Nov 24 22:53:31 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=1720155850; cv=pass; d=zohomail.com; s=zohoarc; b=CwBQvasXF1eITuGOeIGHL80dEy/wYifAsf9+5NG2PdpA0Qielz7dFYeXRyqSmqueq0lyN1qJoJBpo7eUZ/8I+kqI91ItQl/J+Nr+qwr7mczUaUHCCwmmx/btA7g6BtPdWPCsxvNCKNStQKQ2ClwSU+27OAMXDNYjB6uYafKl274= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720155850; 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=n+KWipWUJfWSA2mhPfNQC43RVT4lkeLpK+cxoqpKD4E=; b=NrwYunT2ckVo/Av4SFAaHX6grWBWC8eIecrcOJNCETnkkWorPOgwpMZxkxByzabMq2qqaN3CHVlMcfuJVvLi13LEaFte+OWI1Y8s9IxA0uOUI26cAY5fZpq4O5J1bbAufJspmnZ5wy14LTHSGL9G1nQbfu3HWpv6Gg8myBVv26w= 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 1720155850188197.8082338281431; Thu, 4 Jul 2024 22:04:10 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPb6V-0005LS-5B; Fri, 05 Jul 2024 01:03:27 -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 1sPb6T-0005Kz-DE for qemu-devel@nongnu.org; Fri, 05 Jul 2024 01:03:25 -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 1sPb6R-0003dq-BM for qemu-devel@nongnu.org; Fri, 05 Jul 2024 01:03:25 -0400 Received: from mail-vi1eur05lp2168.outbound.protection.outlook.com (HELO EUR05-VI1-obe.outbound.protection.outlook.com) ([104.47.17.168]) by smarthost4.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2024 07:03:18 +0200 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by VI1PR07MB6542.eurprd07.prod.outlook.com (2603:10a6:800:179::17) 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 05:03:16 +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 05:03:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1720155803; x=1751691803; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=n+KWipWUJfWSA2mhPfNQC43RVT4lkeLpK+cxoqpKD4E=; b=VnOqRd1Lpmc7D01+DqUg8orV9wHWGyE5G2RDg39PDLVlAcyutTjj6pPk baikHeNg6wy8ILPP1WPizSaIT2TO69zT3lFmzjWmrd4l9lMcCH8TgirsH bRh1Qq6SyxdvgfBcg2Y+We/1w3CuWxAqhyfnSJU2cDDxS/JAQUxuRr1F+ iRfmqy932ypIhj602v7rFn0oYo64tw3/+dW5bGQbdeRsANx0kM+3i9tIV A6EZ0h78/kQodGkPz+ySfoN5t3vxI8WtgnVLpay7LfXJtdx7pYjw02ngZ EZk0NZwickOHref8tVo2Mx7h+uqID0g/eofzwnWbnj9qB9ReUuBpYTcMR g==; X-IronPort-AV: E=Sophos;i="6.09,184,1716242400"; d="scan'208";a="16030231" X-MGA-submission: =?us-ascii?q?MDGEHUwOIuPgVdBdVf16c1kNXZ42L+f3kxqHpL?= =?us-ascii?q?BabrcBpQbhj5jg0Rgy7ECm1tWpS1V6KyJzyn7DPD/xFiQm/aMWQYHdgH?= =?us-ascii?q?SK3MzEN79eLg8L2Q9m+kY9YzHEqL5f+39YNtV08440beR2BZv5EPGf/n?= =?us-ascii?q?NOIeKawb/mM4L51kxXcjje2w=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OZeR8yOeCg/GnOujNsxAs9NfKuSsk/9qDxXwjxOCkZ11bALkQk+2SffCu0dSj8A2RyBr3Uk8T71gDrBpeSqeC4QP/1yN7DQDOAE80F68XhRQ+hZwLxy53XLBY3cz+c9828+tBcPkOHDP5Ynsh4suRNjw2/CJL/eIXtAnc6d5gkuM8eRaVH5JGFE2rtrhHIygebNBHGAd+wU/TAs6KaGnGetOyVvPbB4sIm1Ea12cuvConXt6efCVBE/U6atiT5OO1/a/CzchptY6RkilOyxt+ShLFPvUuTY+L6bnMe16/ctf/n2fnT0bgMxOqgcufT/MCj9RMB9jBSz1sntkbgmxKQ== 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=n+KWipWUJfWSA2mhPfNQC43RVT4lkeLpK+cxoqpKD4E=; b=axgUejzfv28JHZhnt/dwpsGSlco7/2EedyIlQ8GVH/DqPRnlaAk8AGs6YWAd/Huv83P+WleO2pDzTvu1qFNQW9Kh29lGRMf26QFzmTaEr88OgdnUyDjqSlx4oFHLPFSJdcEPLbLCl1GH2tSKnffOIpls4w/RedOOfx/X2JdGMsGAEltEqNYTnN01kVAepwmO/pVbISpOcLRc8ZKFCPGSA92785uqDrIDfYMS962EducTDF/g4ovF074zZmslLbLD6pxlIEm+eC9c3VhVv0lqP+sweRTGPiX0Ao4b6pxVilm7GDBR/4ZZ+ir9XoEIcYeXxNea7BGEEhqOUYZbHuLEKA== 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=n+KWipWUJfWSA2mhPfNQC43RVT4lkeLpK+cxoqpKD4E=; b=Sbf5drm6Ecp832cjI/tgQtbLh37hRy2bfH9p4cgeJAcQGJTwm4WWNheWuhW5CxgM8KJAjjeEGjnp5c/QyjZi1X3G8BojJGGb9IhMn7Vx5JT8W6MN825lFHALFgFEtaNpFUWma5VuSTwR/+BnS8BymorDyXgN8QpG26UJj6rrjZUfVTQP4swwVlZbvyQ+vP6Om4/+9RyWhTvn4WeXPBa2kt1f2iLqxTiCCJ0fGPXIvGmBsrCgkq2tZcMw3KinIN7rkCDPdy+uNEPrP2I0l5gOmbhO2lGH+WAT9p30mwrmslgwezpNWBd5bact0Nep0HFLR8pdMqevY9M1fmz/ekhJLA== 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 v3 1/3] intel_iommu: fix FRCD construction macro. Thread-Topic: [PATCH v3 1/3] intel_iommu: fix FRCD construction macro. Thread-Index: AQHazpilPvi8AA6UY0+AS7/gkgP0ZQ== Date: Fri, 5 Jul 2024 05:03:16 +0000 Message-ID: <20240705050213.1492515-2-clement.mathieu--drif@eviden.com> References: <20240705050213.1492515-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20240705050213.1492515-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_|VI1PR07MB6542:EE_ x-ms-office365-filtering-correlation-id: 91f817e6-5f3f-483c-79ab-08dc9cafc7ba x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|376014|366016|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?bVZIMXBod0kxU0NsL0g0RU5wRy9WRlVPSlVPQmJSQ0xrS0JMRFZhWngzakV0?= =?utf-8?B?cVRaMWU3eDNTNTV0QkNtKzY0RTRycmN1Qm9OMWVJM0FyQTVHTTFvVzBxTENX?= =?utf-8?B?L2I4dHlSSUY1N21IM0NPbWcyZS9jUDhod2RFOXptUExtZ09ZT1A2blB6NnlC?= =?utf-8?B?bVJkeVQ4TDVXaTlNN2VZZlNXQmo2ZWpk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od.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?OVdzMWJvUGNwREQ5M3ZObWc3bmpRcm9qa2ZxK0NwVjRRRDBqaFpGTkFpYUxM?= =?utf-8?B?MFVmR3ZJQmpvMkc3TDRPTU9tOElVcFVWdWQyYU9Sak8wWmlrZUYyNWVJaURz?= =?utf-8?B?aWNiTk5POGk1MmRaejBZbWZDcGlPZGd2VGVpaFQrbHRRM3dqUXpxc2tJZ25x?= =?utf-8?B?Z3Y0cGRUWnN6a2RHMEZONFpsN21PVDRFL1hMdWh6aGFnb1NzNWZET0hnajA5?= =?utf-8?B?MkxCVkFjT1FBMVNaZmd6REtWRjgxNUlrRHRUb2xsR1IrS1cxcU5YNTNlRWp5?= =?utf-8?B?N0pJZEl6MktpWWtOQVJ2a1BkQWdDWlZLTmJVYjMyVElreGlZMmJhUUJvdWtB?= =?utf-8?B?ODAxOFg4YnBqQTlRVW5ZcndKL2g2TEhuQ291YmtYVDVhT2tWcjJNWXNxQXVC?= =?utf-8?B?WnNxWlB2aEhlNXZJbUZUb2F0WEYvTm1DeDA3OUkxbXZodEVwK1JNMEJJOXRJ?= =?utf-8?B?VG14NEsySHFOS3ZXcktmSEdvNVZoQnBSeWdiNjVmd1VxV3gvSnVtYXdRQmRI?= =?utf-8?B?Sm9aczVMZXFZTkdYZVpXd0hJYXNMZW1ua2RvcGZSOUYrd1ZDRGtOK1VYWHV1?= =?utf-8?B?ZnMvdllwVGRyamFmMVh5OHd1Q3I5SlNNWHpETEVVL2J3N1FUbWg0SXRXejdh?= =?utf-8?B?QnFmQlZFblRyYXJualU0ek1Kb1Q5VVRGYkgyTFJqSGZ0Znc1U2pJWW85dW9X?= =?utf-8?B?VE5ScVd2K0tzU3p3V20rMXRSUFFpMzhnUVkybVNsUzRCSllmZmJVb3Y3OW1N?= =?ut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3dzaXRoUmdkWDgxRlcw?= =?utf-8?B?SzlDTHlTUThWQUh2RXVKUm9hOEZ3aURHZ01sYVFlaVM0K1FMSC9mTXdjL1Fx?= =?utf-8?B?M3NweTVkZ3JqSHczWGZvYmRUV2QrZTgvaXpTQUw0cS8vRHo3OHlCWGFSOW1l?= =?utf-8?B?WFJ1Z0NrKytzdW9JWlFrU1lmVVFGeHpiN0tET1pHQ1Q0bHlHS2sveXlvc3pr?= =?utf-8?B?S3BNWVhUOVUyaFBmenAwQzg4N21ybmVJNnpwNEk1L0FDbFNYOUZFazFsandF?= =?utf-8?B?UnhHZEgvUTd2MzNGMmE0a3FQS3FvdU8wQW5renpiQjZDeERsUXpNZWhXZ2Vu?= =?utf-8?B?Sk1wVVQ0MWR1cmVKS2RrT0hyOUw0Mmphb3JVYWZLMlpsd2thREtsaTBNT2NL?= =?utf-8?B?UzZlTEZTWlNpRy9LcENuTTI5RStndXlnVUU5RGtyK2pHdGE3ZTN1T0JWUU9Z?= =?utf-8?B?djYrenhYeFR5NVJXU1NkdVZ0SEZrUVlTY3dKVjQ1eXl6WmlvS0g0VXoybjdB?= =?utf-8?Q?l9PjXzsYnfK7cdQOSvK+5vw=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <2544701311DD0E478C9928077DE812AA@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: 91f817e6-5f3f-483c-79ab-08dc9cafc7ba X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2024 05:03:16.3538 (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: v3wRJh1LyciE6IKtL6Y0lHkVN24JQgS03yEJuRiVo9m92U+oXaFWs8sx5+cYyxb4/zFvhgfljHqJuMyqFuJTJ4UMM6134HlX4C7za08tmHtGHg5FhVGXKVP+2qJ2B6yQ X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB6542 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 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: 1720155851959100001 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. Fixes: 1b2b12376c8a ("intel-iommu: PASID support") Signed-off-by: Cl=C3=A9ment Mathieu--Drif Reviewed-by: Yi Liu Reviewed-by: Zhenzhong Duan --- 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 f8cf99bddf..cbc4030031 100644 --- a/hw/i386/intel_iommu_internal.h +++ b/hw/i386/intel_iommu_internal.h @@ -267,7 +267,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.2