From nobody Mon Nov 25 10:57:41 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=1716297204; cv=pass; d=zohomail.com; s=zohoarc; b=KxQo5qcwBsHRqSWyCbh24exO5VYxYPOQnx5zhrvnt90Kuy7vhSH9kOr2eXAraY59Ya3Qq89a9uMShekyBAOh42D0BU95kx3roSqhRRzBvzoAICi+IqHR82qMVuZbvGIb0srXv85eo3QfV/+c1A5G1x+3//SzuU3oeg6POIoM4ko= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1716297204; 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=s/okrwVgXn8VNFlR+LfdeLdln6EjEFerCZiHAQA2Uvs=; b=PAGz+uxsK0D2NOnhqMwu9gelUiktiISqa7zzW/pOUGJvEzB2tCyL5WItBz7zxD4sJ6YDu/V2UjqE4JPtnhIXHSmvB8bTJW4szKAH9QzI4RQItxE2pCxRG+LNKO5iENS3yP293pt3yDrCUPydfDOr6iPMBBb1t/+1keyeZuW7NL0= 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 1716297204555808.3003567446058; Tue, 21 May 2024 06:13:24 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9PI9-0008NJ-2R; Tue, 21 May 2024 09:12:33 -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 1s9PHO-0007dw-MG for qemu-devel@nongnu.org; Tue, 21 May 2024 09:11:52 -0400 Received: from smarthost3.eviden.com ([80.78.11.84]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s9PHL-0001ZU-S3 for qemu-devel@nongnu.org; Tue, 21 May 2024 09:11:45 -0400 Received: from mail-db8eur05lp2105.outbound.protection.outlook.com (HELO EUR05-DB8-obe.outbound.protection.outlook.com) ([104.47.17.105]) by smarthost3.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2024 15:11:40 +0200 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by AM8PR07MB8148.eurprd07.prod.outlook.com (2603:10a6:20b:323::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Tue, 21 May 2024 13:11:38 +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.7587.035; Tue, 21 May 2024 13:11:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1716297103; x=1747833103; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=s/okrwVgXn8VNFlR+LfdeLdln6EjEFerCZiHAQA2Uvs=; b=rLRexdmAVTChdu2SJ0fjRKMKkDLky0rlyX0e5rBjUMAh5kHt9QmhM93w PNr0o/n3LzCtOTBEw2q3PpeVoDE7wzhdgEwkJC6WuAORpykhY75t6BsaA X4fLh0XWUi2h14KRalViTzHqGi0YybaAyUoLY4Kbr286//o+ItCwzGQc+ P1RgnAB6RfujslA/w+v8jbS+1lsknU9f8iwwzYUgwRqpzj3E0k5lzjgBp sfiXQQVBt6wf4M+1ShjEms39sgT+qSYWVyNlhRlF8v6hEPb+liAnWTbON vxoXXc+cf7x2GXYVy1l0XSTyP3Z67KspsHjTKVGPQh3GpOK0og6AxdCNu A==; X-IronPort-AV: E=Sophos;i="6.08,177,1712613600"; d="scan'208";a="13007988" X-MGA-submission: =?us-ascii?q?MDHbPYWDAmPTWkT+dmbCcja8qy0ptaUnIoKtcs?= =?us-ascii?q?ztt8NyzPIpheEox1ugqQYCDV9606heUSDOHkwEEuzn7jPIo5MJrHCl01?= =?us-ascii?q?9pFBnQCTGSo6OAXtw03NdTPVMCdqdVlQjXlMGoWrWUmb5WnEaO1gzaCo?= =?us-ascii?q?2fW8azIE790K53uklah9pPXQ=3D=3D?= ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W0bycLx6ZlxzL9Q0Fir4ySxtCY9+NXi5WQVeD9Gno1VRVFTEhAMWBTCNJKoCrPzgNV/rqPPyQJNnVbjXpM7ZsehasAMiY01GR6XhjCud7P1o+bWjJP6Cz8jWspUz0NSlcVD9u2Ts31D9/AKZw4OHboRCkQs6CymAgHe/OZJ7SRDEcPTqtJpcz8da/vO+BKVCR5AXr0Etb8su04E3EgHhqzraau8iJ1+I34mS9tQGfm6zibHFgSyqmcvJVCrorc3L7ixwlh5T04TVIl09L+o3P1rJn4FdcvMKpLcJ66N+kAiVFv0pyI+olPl+jWi6oBEALKZ2acnLSm38BkJ/nbkzSg== 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=s/okrwVgXn8VNFlR+LfdeLdln6EjEFerCZiHAQA2Uvs=; b=b+LIZrapoEc4Snk7vAbZlvwo/IzVd5Ob1e9fr+mVQqAOHAn7x8qVPpOc3/8XL6WbkBBkuGEqV8eOF6AmI8oDEguJ34Gsh6WLFyB8HdEc4i774MDlhxil3m1+CNOT3InqSVREzZkwajY+pzYyQh1SJ9io+cQwB50RtCmMWGoofPDw2CHWWZ3cJ3lSNie0ctB/CCDUn1R+T8E//FoMuI31WB/v92uvmd+pfuJQ4jmav+4UY6bE3jSAyqxSbjFlQ4f2WTsMa25reVos4eDUNtjYOb4aI5jvCQHplgB7nxAYkffAOwLImWAsrAuQaAGDcbP/XJBk14xPJkF2anWcjyFdXQ== 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 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" , CLEMENT MATHIEU--DRIF Subject: [PATCH ats_vtd 01/22] intel_iommu: fix FRCD construction macro. Thread-Topic: [PATCH ats_vtd 01/22] intel_iommu: fix FRCD construction macro. Thread-Index: AQHaq4Bpg4eL8UGtfEKvRSZXOcRINQ== Date: Tue, 21 May 2024 13:11:38 +0000 Message-ID: <20240521130946.117849-2-clement.mathieu--drif@eviden.com> References: <20240521130946.117849-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20240521130946.117849-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_|AM8PR07MB8148:EE_ x-ms-office365-filtering-correlation-id: bd569a4a-2a99-4fa8-30ad-08dc79978c75 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230031|366007|1800799015|376005|38070700009; x-microsoft-antispam-message-info: =?utf-8?B?aXBDYW1PcXd2YjkvaDdGWGdvT1pYTFJZWDI5eUF4R2FkaENKbGRRL2F1TVFw?= =?utf-8?B?SG5ZYjlKc3VkOTUydWtZeldlRVZCUXVieDc0WXBweWZyT09RUEdNM002bHM1?= =?utf-8?B?UmU1a1RmOTViNmMxdjJBREVralptVkNXZzNVY3JEcDF5aGNHQ0xXYnRwK1hI?= =?utf-8?B?YXpiSjloS1RMMUtjZVRvRnVNaVA1Rzc3L3pIMzkyTDV1R3ZxSHVlcW5lTnhF?= =?utf-8?B?YktOb1krS3ljM3pSRzNJeUx6NkY4QTF1WFZJZys0eURDM0Z1T0dBQzhDSjdp?= =?utf-8?B?eTBoS25nclRtdGF2S3FiRDdWWFZhUTU5QzBpL1UrcitpNVBMVE91dmR2M3Nr?= =?utf-8?B?Q0RYL0ZZZzkyNG9ra1NtdzlwRTdHVVMxSnpZZkZCeDFzK0JTVzNXQzhiMnVm?= =?utf-8?B?bWEzdTNCaVJyQ2Rrc0twODQwZnE3VXZoVFRFL1dIcmxUREJYZDZhR0pkTlZu?= =?utf-8?B?a0RtVlB2OGtLMjQ2R1psRGZFd0Vsc2VxOHVNZTUxNGkyd09KQXFSMXFnYjJF?= =?utf-8?B?aStxWGNwQmQ3dlBvelAzbkNlU3hFNjBVU0swbGtjSGNQaStKa2s3aGhLRFlo?= =?utf-8?B?VXZHeGVvdUZyK3d6U1ZPeVBLTnIzekRqUU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2K3BBaHZCT25tTUNjbUdEc1l4eVZrWnVFS3ByUm8wRnpN?= =?utf-8?B?SnhldUNRanhZcUpnbXprUms0VERNbGd2SnNTTDArajRtL1ErSU84Z1F0VHNu?= =?utf-8?B?c09GcnU0cUwrRG41RDFvZjNjZkZ5eVEvRGduMW9sdlJOYWZUeGFWcXdRbnhC?= =?utf-8?B?SjcyKy9oaC91S0tmdUhBd0MxUHVMN3lhYWh3M00yZ3oydi9kWFZTdGliUlgy?= =?utf-8?B?ZmozUnNJR2xGb2doQjJwN2NIZUYzTG9scThyYjVvK1JRdE45VWQvYSs3d0JK?= =?utf-8?B?T3c5UGxpY04wc3lCMHpmdz09?= 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)(366007)(1800799015)(376005)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MzFLZ21vVHFnVHoxNGZ6eWEyT2RHbEFLZTRRT2FoSVc4c1hzZ1NhaEdNb0tJ?= =?utf-8?B?bmFqWUttcHdHdGV3SHJNc2s2TmlScHNEVW9mTEQ2alBXOUQ2Z0hFVXFBbk5a?= =?utf-8?B?TG16STU5eElWTXZmYVZJb3FUeVp6eUIyMEpBWUkrU3BxQzVSNFZWZmVrWW1T?= =?utf-8?B?NHZPRGJMK1duZnJZT09iZS9xWDlGbU53cmZaQ2NUMmdBalp1djlCLzc2T1Rx?= =?utf-8?B?QkZ4VlBOSVhUNGZudHJoa2tHaUZTemllajdOTnFCbnFIeDhXdHpOSkdCTSsz?= =?utf-8?B?NU9BVmNwTEtRajUvSi9OLzVXNmljUmlHdG9vVjdnYnBxd3p4VENZZ0FtWmVn?= =?utf-8?B?RkQ5bkw4SFZ5L1NESjl4WTVwTEpHdS9NNzEwTjY3L3JjcEdxb0RScW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evjoT3s62PRHq0FZCo0=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: bd569a4a-2a99-4fa8-30ad-08dc79978c75 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 May 2024 13:11:38.3243 (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: 1rnL44jYkT21cHuIYRpHYNVhFdiTYo0owsv9r65O++zmR8Jn1dtSAY+dkJFF4vIYdarNaOOULw1FC1kR8sAbeLGMqM2d/gO5W+gWsq5SBbQbHpJlNFO7hkarfWm3KDG7 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR07MB8148 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.84; envelope-from=clement.mathieu--drif@eviden.com; helo=smarthost3.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: 1716297206622100003 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.44.0