From nobody Sun Nov 24 22:57:05 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=1720106040; cv=pass; d=zohomail.com; s=zohoarc; b=iYmqxAn20WYTqh6dvpUaY2VLdMXHuwk0eIDdMDB2B9xm/ti6k+nmzeBS3Q5EDak02PT4m4QpvmInKyze23joBblOA69QOqhA6Dm0NUnsBJKfJYcnAK0AgRQDDi/HFAAzFQ9Pi2ZqgA2VgClEt5yQr8kkVr5fnpPlahy6XF78SNc= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720106040; 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=iKgWTW73+sONWU+F9uuFcnPrFDqHO//Sx1zKx7/KBTY=; b=eNCgcNiT8AR7k09blwuWZ/O3Kj1VdHu6Ge/M9d+etFeXCXQyuN7GGj50bWrRZTg1kk6XfSMZE2nUE6GZPabau08fiZkW8wsu4ne/AmZv963UeDorxsODb/SQhWKNghKpT0Y2G4RtW3gmpvouppAgvtpMGOL/wtkn34mS77vuV/U= 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 172010604060660.84006656238273; Thu, 4 Jul 2024 08:14:00 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPO8n-0005Wq-50; Thu, 04 Jul 2024 11:12:57 -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 1sPO8k-0005WK-2G for qemu-devel@nongnu.org; Thu, 04 Jul 2024 11:12:54 -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 1sPO8i-0002sY-2x for qemu-devel@nongnu.org; Thu, 04 Jul 2024 11:12:53 -0400 Received: from mail-am0eur02lp2238.outbound.protection.outlook.com (HELO EUR02-AM0-obe.outbound.protection.outlook.com) ([104.47.11.238]) by smarthost4.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:47 +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:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1720105972; x=1751641972; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=iKgWTW73+sONWU+F9uuFcnPrFDqHO//Sx1zKx7/KBTY=; b=tDZeUX58b0BDrYyiqA5c2CBFCizDZnVX1yCQ2hD5VOWt/Ejgdn+peulZ yi3dSKeVlwy1tE4glxh8OGt0rQj9vChf5+P9PjgQ4OamF87qlmNfZiEA3 odAVTaE69/PCRAdYPaLP9BPl86cZ7kBx5W9w2bQJecOi82ft1DbX5MdYR laB37bOnwu7BQyyy0Kdun9i8HqQm4cxFbB569W3RP61ljUdV5Q1wSyRaN ueggQWduB8D82tHcfBXpc3B4xjC5aO2kSg1kk0mOliAZn9lk7j0JOIv0J 5EcR8VVPX6ymzfNYII+EW+ib8g49wyEu9aY3bjZNlQUQGMj5kmeibg/fG w==; X-IronPort-AV: E=Sophos;i="6.09,183,1716242400"; d="scan'208";a="16007268" X-MGA-submission: =?us-ascii?q?MDEs5hfOVmg/sN6QarBZfts0n2pZf+VekM9Y9e?= =?us-ascii?q?8/NlAHkLuGPXnBULwfU+bcaPkoiH4jYPbpyZYYh4NZlDrwX9btEBQa7+?= =?us-ascii?q?P5QEMz8FDsRErx6YNjU6IyNOK+IafgQobMg2nT0PDDJM/sCJ0pYcIeBp?= =?us-ascii?q?mqAGU3hV4S3cwogCRSXs3Weg=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PGS4DIUuDbvni+yF5gyWhVeLAJjU23GSoXnc+8lvn3iGNQNVaL2hQaGidr/fclqHNxps1ncQm7tF4wgpiJanO5gQDhenVwBGU8l2ezGtv2GpsyQPwOyie3rHrX73E2vVWfI28fNqEIfyu7BTZ5qAegqXQqiTa5rpXH+V4rJ/USFXLpxjOXHywReMwP9/ryShPBMgG4D/rsG8qrePpZ8GMQ8c+tSTLpNTZEzFX0rDGSYqzKR+Js+9to7C5LiLM0E8Oj/VC037OPJyeWyy5D2fs3glEW8mPIbEhAbm3we3ZL0vB4RLBK8wVhp4lpBsBw+/u3G8Nfv0BLIIDPndpkPWLA== 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=iKgWTW73+sONWU+F9uuFcnPrFDqHO//Sx1zKx7/KBTY=; b=VeYBxCdaLdeLkDzWnhtaMW72JtoRHAsJrFOQ/4Nw5+RVJf/6cs6b79g1crKkIV7TQaSkerwgiU76DUfUDwdW2iQjrt2sKru/CsDrBitfIFQgdHnuUQ4qJCqqlGi+qpxhJBwV89IHpGmmxKBe//PI4kbfQvJl3bW8zhaoqALYyRRHhJLSrueXgliwJCe0LEY7dBmK3nJLBzq/XjUK71p67nIg5oZVhAiM90gXUcPx6txFViMZ81OCdEZW38zFPxR+vERsz35yzfBdu7aMJd8UIHasd+BeIYSHeDgSqfp/bdxG9yPsOJRLlaIU6ttw3haohEHn57UOlQP6JJAzzWipQw== 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=iKgWTW73+sONWU+F9uuFcnPrFDqHO//Sx1zKx7/KBTY=; b=BQtAew+PcHHXjwpYwdsahY5VWwSxEg+shu5hLVZrDht2GCvKeN8rLNLJBc0fWyiT/Mh4dbk+rJYbc/evtYIl3i3dr2Q4y+xDfAsi77Dc+awNMgYeJWK2hdwF2Hkx1BRYZ5DwYYF2uwViFHGbnn2PJHCg1kwO5JSzxDVKlXWpuwwGbaiGCzjV1+CGONnlcrqJw23yC4B+DDY4FvPaJ92s50a4VxyKq7U5zOYCRjxgLdNq6lv7HaIk/Nm8reNhiWdCgNTWhnzq936nZBPFuemhum7sHr7wi9dVE6h0s/IcUCnL1NTL85k/8FH+6ZrWh17mRpzwUKyEAZmb1P42umVhLg== 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 1/3] intel_iommu: fix FRCD construction macro. Thread-Topic: [PATCH v2 1/3] intel_iommu: fix FRCD construction macro. Thread-Index: AQHaziShz6ld2iURc0GxUCRF+M342w== Date: Thu, 4 Jul 2024 15:12:47 +0000 Message-ID: <20240704151220.1018104-2-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: 900d6382-f470-4033-33d4-08dc9c3bc3a7 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?MG9iOWhsOU42R3FFdURmUk1xR2JDbEJSWDl5TzJiMThHVy9LUXQzQnU2aUta?= =?utf-8?B?ckRqQWtLOUY4UnIrRFBBdDVTOU1xWUNyVFhDZnBpZ21FNmdaMCt1d21ObTFB?= =?utf-8?B?cDB0d0RLbjB4cjdHQ3NkSmpTQWxDTEU5R29VMVYzdTJDcTFjTmdIWHdaTWFz?= =?utf-8?B?cCt5WXQvRkFSZGNyVnNHckkx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SPM; 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?cncyN0RqNHI0dnI2bGllNkg5SmxJaHVOekJDV203U3ZJOXJwSWdXZmxBcnJm?= =?utf-8?B?bE1ZL0M5OGZoZXZBeFlqQWh6RSszdXZKblIyWnIzZWV3TTVkb0N3azZ6eUU3?= =?utf-8?B?Nng0RHJSbitKN2YyUVJHMjRsdkd4ZWlweUthaUxac2orNTVTeE5MSjJiQS9j?= =?utf-8?B?b0tCRnp1RW5oRVp0VWxFZHZHdTQzSDVVUnlCaDNneHp0T1FoeVQrRHIxTDNQ?= =?utf-8?B?aTVYVUdWQWhtSHRqMmQyK2hxdW4xZ0VoVklXMndwQ1JHd2ZLZzRpSlRjRjhQ?= =?utf-8?B?QW1MU25ObGJhMkZrVFRKNStoY1NVVjZ4SzFCYkI3NkV6bUtmcHdPekJDcklS?= =?utf-8?B?M05BQUJkKzZSci9XRW9VcEQ4NktsMG8wd05KSWRJaTdsYmZrazNZL2UxTDdl?= =?utf-8?B?aG9KK1N4WVNVcDJXU3FwZjBTbzEva0k3WXNJUHRQVGhuVVZVVTg4RkRGQnZq?= =?utf-8?B?SUdVNFdmQXcxR2lEYitYUmQxZDN2aFNYNE1UV3hMWHRnMTJKTG5iWERMTkha?= =?utf-8?B?OEJ0QzBvL1RXV2NDLzUzWnNReE9qMTlObWlsQUxXT0lsSW1yMHhjbVgyK0JC?= =?utf-8?B?Ykd3dnNPeXNiMXJTVFFQVWNhSjRneTAvZU85U05uWDlqZE1vUFZ3alJlbDR4?= =?utf-8?B?OWlVeXpUcVBrUHhQRlN4am0zL0VDSXh0NjI4WmZrRUNVdXFsWGxhSklYeEwx?= =?utf-8?B?d0JFV3dTQ1BYZFBFMDBjMThrVlFIU0kzbkhFU2F5Zy9RYjB3d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UW5INTc3eXpoT1ZJc2RWVnJBdHp1bGM3?= =?utf-8?B?TUk2UTE1T2k0bmh6R0ZhaUVUaWpEOFBHQitmalB0L09BU2xrbzIxQzdhMzUz?= =?utf-8?B?eTFhai9CbXNMUnI2ZlNpbllzUHlaTjFkWWUyTG5kREZXUXJVM3VSZ2k3RDZy?= =?utf-8?B?SHlkN01nOXRRZE1yaWJ5ak0wclE2NjU5eEI2ei84UmlDaEJPbVhwMkJsZ3FG?= =?utf-8?B?T0tlZ3BBMzNXTXJnS0pFZk91WEcrUXZoWThPM1V0ajBRc2Iwb3J2a0xmdXRE?= =?utf-8?B?MDlXdzQ4eXMxQ3JDdGNwYjZTeUZNRHArb0Faa3RVa0I2Z2U5dEwzcTk5TCta?= =?utf-8?B?VHFSTHJSRktHYkk0ODFhcmQ1SmVjLzJHNllTeThiRWFOaEdyV0tCSk1SRk5n?= =?utf-8?B?bFl0SVpWT2M3UklyRzUvM2NZb2ZvVEgwZUhjT2lXK2t2L2QyV1p1RDY0MFNt?= =?utf-8?B?dUEveFdsai9iVUpIbW4zVGhvZTRKNGpaR1U2a0o2RERjL2p2eU9JMDhVZTVt?= =?utf-8?Q?b3WiZtLrYD4te38/y5y9LRE=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <4FA3C3152EC55743ABD06366529166EB@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: 900d6382-f470-4033-33d4-08dc9c3bc3a7 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2024 15:12:47.8948 (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: +Jvf2QVoqwZMYmtObPyLWHJjF3s/fSXl4p9Iwzw7rU2RLwvnUNwvnTOCK8tuljpXCt+/QI3anPU/Cl2e2lOcXbTWQ8YA6Z84Q27s33u9Xmg0rq0A49WSw/Lxdb/OeuGl 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.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: 1720106041597100001 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: 1b2b12376c ("intel-iommu: PASID support") Signed-off-by: Cl=C3=A9ment Mathieu--Drif Reviewed-by: Yi Liu --- 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