Message ID | 20240603055917.18735-2-clement.mathieu--drif@eviden.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B9D6AC25B75 for <qemu-devel@archiver.kernel.org>; Mon, 3 Jun 2024 06:04:15 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) 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 <clement.mathieu--drif@eviden.com>) 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 <clement.mathieu--drif@eviden.com>) id 1sE0jU-00071B-9h for qemu-devel@nongnu.org; Mon, 03 Jun 2024 01:59:49 -0400 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: MDFldeXDG5/ZzBI3dHlAZr39yEMq37mNhSwxlu/4KoHb3+NzTZnfu2c5lnNGiOI+BLE2OjLnoBcrBA/yvg+nrEbNkWO645JjA/A3LWTzr55N5gaxVpRsa9UxXfsVaTZHpVSeXL0MG2jL166gEuYThLRw/CJt3DPGEatehPvIeDv7uQ== 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 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== 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 From: CLEMENT MATHIEU--DRIF <clement.mathieu--drif@eviden.com> To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org> CC: "jasowang@redhat.com" <jasowang@redhat.com>, "zhenzhong.duan@intel.com" <zhenzhong.duan@intel.com>, "kevin.tian@intel.com" <kevin.tian@intel.com>, "yi.l.liu@intel.com" <yi.l.liu@intel.com>, "joao.m.martins@oracle.com" <joao.m.martins@oracle.com>, "peterx@redhat.com" <peterx@redhat.com>, "mst@redhat.com" <mst@redhat.com>, CLEMENT MATHIEU--DRIF <clement.mathieu--drif@eviden.com> 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?q?D+eV3paSHH2+r6UZL2ijfQum8J6lJV4?= =?utf-8?q?zuWfzVKImRTXLHgI/5Mh9DmMZnOUXTzIA3jmkJ6RNsDNuHiY7/zecaS+7r6sNuyks?= =?utf-8?q?990YoMwBd9IIsqJnegaRJIzZlw3MukzU+Q6ws9EoXi+VE6gAsbBldJ2v6NwXsCnj9?= =?utf-8?q?ASfDwzEWxiKxu7vTI7ABdBgNK9C73c5paLW602p69FdM6K5ZZKnBp/7Tj7VOczU44?= =?utf-8?q?xm8/0Bz/K/PDIGc4SZAAtiN1pV1INO9yLBfROfFjD/y6YRHDHGMBv6ardLd0A5svU?= =?utf-8?q?o3b/2S+/7to3hSLrddDNLRe7NqjB4XmIiSlRWSDRjK3SrULtfeZeR/z/E8wW11USK?= =?utf-8?q?QRt9cndwhGhrp95YJFoLztavy9AD0Zd7uHkaHagY7xWrraD79PaCCTnHOsAe/4Fid?= =?utf-8?q?+iwSNszL6JJ9CI91/tmEYZLKVHkGncmWfj6k3234q5m2abAukv4tTBu70CxcX+iw5?= =?utf-8?q?1a0kx/Itop6hWqUO5nFo9wN+ebWCgrcvfUKrGdHE0sv4NyRyJJIPD+C6aR6MSq0hR?= =?utf-8?q?jEtMZiXLzMMsrMNIV0SpyT1bR12mJpR7RG0HMLHR5bRAC3sS5PGANGrOahMgEdlF5?= =?utf-8?q?TRqaDCqPFJtRCsNFzDwV2n2mZu7pTmaF3KwdmzlscENTiHER2b6k7YAVT9h9vDmKD?= =?utf-8?q?b65sDbzj0+DGGHyHdxW4ukCTtEYUb0G0G5zW6sRSYjc0zMoJE7JjzinXpfV/vLNHZ?= =?utf-8?q?TveEKK3q6c73Xoj8VNDbJYNdrbRLoCCjUQ6Reo7beBvwz0Ch1VFqVof+HqGCmT73t?= =?utf-8?q?1pxlKSw0ULCVFtqlrN74TlkEY0qZVrlAxAb71M5JoVmmNnQrIKRv5wKffYirWw4AJ?= =?utf-8?q?ZJXYBT/TdL9pILq1YP1ounACJV5K8lWu9Z/3+m+lDDHjtEWDUvJWTznYFwzOMazzY?= =?utf-8?q?bF7yKGwWqgjDxc00RvvX/GvafwjEGf39iXEivVcWyjAqMc7kcoKTlbB3D28dnfbgY?= =?utf-8?q?GqR3kphCA1C0yJP8kSDZulgFFVfQP2uYeI6IqW8BOA1PdiRhow9sl0YBddDKp0LQN?= =?utf-8?q?8j5fG8Y3/NOx16R9H3LoT6CpcJrM1VpK/PHJlrx3k8OjChTJehffOwSXNknTkFc2f?= =?utf-8?q?JEnkSVJNdkatqP62GwqeojMMM2NgFYOYR/YBB1KMYh0ucCqihIuaOK95g497Qboq9?= =?utf-8?q?rEw5xYnXMvLkG7+MMNCrgFrX0auWP0QWAoAvs7Rnev4mm3frIEu6f9nbirDj4jqTP?= =?utf-8?q?nlNDF5pfLm8JzY2sPdbdvqL7WV2gyCof3uOBcwb/uYUuReN96sedfJj2bd1SLlWEg?= =?utf-8?q?bk4GFyie0Rhssw7fge8c5FCdaiafIFT+JRw=3D=3D?= 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-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?4RoetcnUJHCSdS/at+tmpndtSgK8?= =?utf-8?q?Sad2XHR8b01UhMmOXbH9oZ4Pn2seHXM3hcVIcXH98S3qlPdeYYa5x+P6nOWEYVNli?= =?utf-8?q?n1+GirA3kTYsn1zUD7zFk3l9+OVtoOWK1ZWGrKl5xXsRe79e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3Sat+LGv9+?= =?utf-8?q?1pf/v10aA+cg4+q5Rn6KyIXY0017KHtX0UgqFNr2y7C2iSD3+iIq8yTMSFVFnJzM1?= =?utf-8?q?DghL2HRQ/C5poNVLr5PbH1u7bIMuz8s2pjJF05o0Ud/lEN7REJxldqJBKGuGJaGkT?= =?utf-8?q?gc14cQz+QZVR6t1F5qcJhbJX06qC/dpgjqyYwa5nROnEDYv98/Luj1oeFOvmP33aq?= =?utf-8?q?wNOukCup8tQDuXGSnM/gO6zKsEtWmjSeWtI4m0lFJcQXOwOg1P/+e5NOeFwLxcQin?= =?utf-8?q?96SloepR7GDFlAB4zrEryJ0DOy9Fxl/6afZW+48oaRnimoPK5PhfSXx2vL7tafJNA?= =?utf-8?q?0xfb7z8j9JXgildYlJRIv2gTkbaf6682/tj+4uis1fARz/kloe1AqMEp1sRgpXPuu?= =?utf-8?q?xshgEGga+VjRRksa7L7DKmDhAcGHRbpnT8KuLkWmJzoogW6EmaEhESd09LqN9hjEb?= =?utf-8?q?DXN6FXyLB7gfXRwETDT1rawugCo4kGpLVb4CvnE52YeRRGtdyFZwTz81USCITeRZN?= =?utf-8?q?D9SR2fgAVlOc6DFNPnsGwei6awA2pONVHMTeX721KzKIlNYXuV4zPBY=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <B77E65F3413E2E44A0318BC90CA539AD@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 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 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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org |
Series |
ATS support for VT-d
|
expand
|
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) /* DMA Remapping Fault Conditions */