Message ID | 20250120174033.308518-12-clement.mathieu--drif@eviden.com (mailing list archive) |
---|---|
State | New |
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 C886DC02181 for <qemu-devel@archiver.kernel.org>; Mon, 20 Jan 2025 17:45:14 +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 1tZvmi-0004ly-3J; Mon, 20 Jan 2025 12:42:00 -0500 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 1tZvmd-0004eS-6b for qemu-devel@nongnu.org; Mon, 20 Jan 2025 12:41:55 -0500 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 <clement.mathieu--drif@eviden.com>) id 1tZvma-0000Zj-Jk for qemu-devel@nongnu.org; Mon, 20 Jan 2025 12:41:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1737394912; x=1768930912; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=hQh6FTIQrfprwK9v9FBxCrr3B0CdVveiPcxr0eYnTMo=; b=J0HAyxI+OCGQF5bAxFyi+UICBIJlZZ1XV0ofHtSDDQrgrPphTZKciMes 8Rbi4qMpMKKciq6xGNtm+1XttkmSNd+2gWeVi+nltrtdl9ig727B8IkiA HTPQ3V1meI/ni9yS8m/jJivSgU+hzHkYaOZiy/jg16vf701tYbwuETvyC 8DTeQN+6P13ujxld/mDyizyp+KnzY/6VRjTILgC2uECl1Nm5Z5fhiFwo/ TeL9lpeO6AvSmRQ1NxbIUZC76UmyyHLA2DKqFxrF9yo0XRroaBxeJOLpH AD+2Bk+mfbNO+7fwWAdYHH5XuvTcSv6ZXtMi+65rpMwrk7uYd3lB2dMmJ Q==; X-CSE-ConnectionGUID: +e/PN2NpT3WdgcW6o0A1nQ== X-CSE-MsgGUID: jdSn6SkAQ2aFZgmMGJkqrw== X-IronPort-AV: E=Sophos;i="6.13,219,1732575600"; d="scan'208";a="29125398" X-MGA-submission: MDHETIQ0OR06QgH1OdvMEK/9PDR6gHrflINlhFiiLlI8ZeLcVB6VFVJplMy6xMITbgWIqJHCPRJy8EK7mdIkxgSfdr1TAM/5pGVif0uau9fdtO9TE8fNfS/1zz3uvk0/+HrPsK696Pl2Y/q3IMAMPcrQ4m/rV3cBqoZkRWQHz1uOOQ== Received: from mail-db8eur05lp2109.outbound.protection.outlook.com (HELO EUR05-DB8-obe.outbound.protection.outlook.com) ([104.47.17.109]) by smarthost3.eviden.com with ESMTP/TLS/TLS_AES_256_GCM_SHA384; 20 Jan 2025 18:41:51 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZeJfSZeQOxGRIHA2got6yPUET/YL2mdQGUkzjqLelPi5PJljV2fS0pkRysUwFBDo3athzbNHdl/W+kgUYWkP9K73WdqPhxkfZoDKvmKsQlT3UkJ8DesW5/+RAT6uHv5uzw5EA+0vZ9RqcPjjsMksU5gkSPByWimiCPPAQyM5+XLsJ0/mcs0VQ1g5wLmWAbtKdWFd7h9Rt7mezSZx+ZbcPdlw7Z1f5nKCL7seTZxotX601+1+zDKTezVi6i+lkwQeSal6Urw775rOAHMSM7cosOr+koAADsInRHGuMYO0Erb+Nv9vJg3juU4RmcAX0Z9zJnELC7BnsT0KYM41n6MqIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=DRkmyg8DSSLCXELD3gKcIdGkG14Pzetncm4+Qq9hxLE=; b=xE3bYw2w364jxlWfu8qzwx5OK4bdWUQ8/cuwSaMDHPhIurMvMPvN0+EwTcHNG9X5GeYruMtTgu7twnjNREX5BIAPLt2qvCJ8lGc7Bdq2gFTEg5/p9MSbmnHVYFdRZgyCL7bOFJSwaK0pDzSTvWy3u0f8gUFYHVtYvqcax38NEkLRkAQQX3AoiK2m30ldX4obnpwhnt9VyUpT4s9kZZ19D8nzPCnhksn9okUTIwAbgM6Rvw+rpJm0BzuIvfjqH0KuPbrlfkNsivSgQVqw+vdTKQu+3UpUBvLRR8w1GxbvF7fpUnV7etqkWpqbvrRzk5mdWEyPQWqNBybHwUEr2mz5cw== 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=DRkmyg8DSSLCXELD3gKcIdGkG14Pzetncm4+Qq9hxLE=; b=SJ75eVdktmFSFUlrE0P9KNo2HfTfCEVFzwVTFQCXYV7m+DWCK8Is1AHUKQVszXb4PW1vGMegYGqtuiADKKLDsXM+wk47JcOIZIjgEnCLIEn9Ny9TE1OTY2J6eKgcjwXlPr9QmXRUeu5Z243hR0rQ0e95iRily7QGKXEKrbfq77ytY5zgKg9bxTz+zoaPg8GnC3rhPdWPS4XUJPpMsQSAx3NUOnrpJXQPPotdK1PSEuoWX1+GL2Za94/3q9hCHxFjt5mKBYDkCDOZV9lHE4P1ilwrifPf0UI0TNBvD0N1Gdu9ISer/0o+hUkXcmLkMogbykOSZli7z1vW+Gf5U0qOLg== Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by DBBPR07MB7548.eurprd07.prod.outlook.com (2603:10a6:10:1eb::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8356.21; Mon, 20 Jan 2025 17:41:50 +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.8356.020; Mon, 20 Jan 2025 17:41:50 +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>, "tjeznach@rivosinc.com" <tjeznach@rivosinc.com>, "minwoo.im@samsung.com" <minwoo.im@samsung.com>, CLEMENT MATHIEU--DRIF <clement.mathieu--drif@eviden.com> Subject: [PATCH v2 11/19] memory: Store user data pointer in the IOMMU notifiers Thread-Topic: [PATCH v2 11/19] memory: Store user data pointer in the IOMMU notifiers Thread-Index: AQHba2KVqTIM+q5C8EuMszYWE7oOGw== Date: Mon, 20 Jan 2025 17:41:50 +0000 Message-ID: <20250120174033.308518-12-clement.mathieu--drif@eviden.com> References: <20250120174033.308518-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20250120174033.308518-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_|DBBPR07MB7548:EE_ x-ms-office365-filtering-correlation-id: 62a08ffa-e805-4657-9bfb-08dd3979b839 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|7416014|376014|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?q?1+pDqtT8ocVl7dJqW5xgkqsncq?= =?iso-8859-1?q?LnWqpo6oketGveOyioepbcGiZmO0RW3WiOZEDyAR3K0eJhOFzDGQm0GcBR7m?= =?iso-8859-1?q?WHdKhD92E0mkKqlRpfNDJ5dcAUq9e7bKUym7OtdiRy+FREkK06E9UC+KwmUd?= =?iso-8859-1?q?NM0gfUHIyRrrezUrgG9hDjpeCvK+ndRxwC1FRYVabTibFqoK22xJSH7Kjma/?= =?iso-8859-1?q?PxO3DB7wMKpTb3VwumvbucWqEJ4UfjNkm2+rSQ97P8ZgR24CQ9KuGA/gdwX5?= =?iso-8859-1?q?UsIlCGVEQ8xq7WrIhscEZ2CX7C3WnwtyEBrqPGBqVbvBBVxDH3Lzp/lzGdVm?= =?iso-8859-1?q?0VPjdRwaQ4O0OmJUvXFU/9vb6JCu954CJidAV0YdiAFPdHt6vNFYnyq+aAYz?= =?iso-8859-1?q?zAvVncH4XnZf1YHLeCOpdR84FKJcU6/2Un+pZEy6v+DEaHtUowGrefXoUvAL?= =?iso-8859-1?q?uMZudUlseXdo7LsUOEG1VeGywUL2U/Qh+mo0bmBZtzP1Wqu++hPotlsE6HAT?= =?iso-8859-1?q?z/7hZfs6p7ESGRjJg1F0cjaQ8qyzREXCvIbj3E8DFvjw7QmoSx30RJWEj729?= =?iso-8859-1?q?wHdycomLQ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cOwWPLkSbxzNzbQ0rDs4C8Fdf?= =?iso-8859-1?q?Ibbzsm?= 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:(13230040)(1800799024)(366016)(7416014)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?uLKfCXTZ3Udm8s9EaPm1JQU?= =?iso-8859-1?q?VqdiJM47UtngT2dke8XB0Vxjwap5s0O05oqq4C4VgO4F7k1WGDOcWAGKZ0CH?= =?iso-8859-1?q?Km/230pT4GmagKxY+LNlHhkGVD8oZJchKIYHaMikxkstlOyzb5TDn+ruG8VT?= =?iso-8859-1?q?OAppqC92zDmtWUPbksxf4uD5XWKTP9WAwiyyYpxtEKXqHef8XBC8x59ypplE?= =?iso-8859-1?q?aKbAotZO2/QXmOlmfz1ayyQxLfT0m21hkVzlCukFUn6xqhVWetBvlAt23AB5?= =?iso-8859-1?q?Smh/D8kCltiumPJRx6pYgxpvKV8bM6ctuhB+BjOxr+XAxJxRbSVewcQYgAZl?= =?iso-8859-1?q?yrYGSWQ4AUdE3nX0qQRbhib6skDwev+ciRNnNhA0ZSIXUIK0tPhgytmiB5AV?= =?iso-8859-1?q?rKIX82nv+uP68S+puW/tGdbxvE7bqizLyDaH0hvB/6dU619lmL390TATq2lv?= =?iso-8859-1?q?6oxpaUtFK6f8Y5eQ+n/tuUpgijOC3EsW8ITlhkstvepUupsCN21ou1S+sHQZ?= =?iso-8859-1?q?XG9GQU4LAWKDweQVpFdAgG36Lgcyp2LOaVym7VJpEaODQBHfojFnazB/pUdv?= =?iso-8859-1?q?McBRbxFoaaoTLChMhgkLvbLboZXCbGCUIh3NB86XjmimpcFRbDxQkyjWbTMr?= =?iso-8859-1?q?a972QjkFlpzmL9vrPOJrOJO0gOaY3rsKsJvqWFLPt0+I9MvgQUTbe2CyKL7n?= =?iso-8859-1?q?HPaK/gBt8fsklFHm33ateJzAGSzy93PCGfY2bsvlbL1uzROK5GbGnGdn5jrv?= =?iso-8859-1?q?/+LnMI3qE7yQc5ZRVXCgtwIGd3TVYepv5cX4TzvBdD3bAp8erIoLsn9ub1p6?= =?iso-8859-1?q?MFpkCr8rEknOa1FgW2gXquMEPlxzDvRK0RSl7ae1Acqe6mGj2HvUvJtLrBCI?= =?iso-8859-1?q?j4wdG45CgzgV3Uve1X8UQc4u1UnyKZOjS60+Yy4cA4aX2CDqX9wn67rJ8TnH?= =?iso-8859-1?q?08f+qri+5WTeWd/2smFyksEy8K71BlPgLrjPadAIIAFo6P2KopEd118VCnWn?= =?iso-8859-1?q?mO4/GeKZwariDOHMb6INxn/B52wVNokVmQGSh73qlWsnE/T2Dxvf7bImChox?= =?iso-8859-1?q?aG1zX3yApx6ynCrPoZ0DpVvkrS2B7I2wQ51BitXugN9YSlpYTtCnuQLiYLiM?= =?iso-8859-1?q?JK05Gg3B41e77XuNzyuFuSCSHqRjn5TzKpMhl8IqJURqYEub1ScyCNDNKk0W?= =?iso-8859-1?q?LvggKfnHQrSSSoTV9opoOUjw8dxOcM3vqqa9Rxok8XA7BVRzuLPUJLVpKLcy?= =?iso-8859-1?q?Ieq28ye0my5fiB8gzvVO4twPW2k1fgr17obnLpzgcWGaT+LafG9fV3HA8gJC?= =?iso-8859-1?q?oe4esuVLgkve38ODbS1+QdfkiGINUrPzZ3ZjzY5J4F+ExAZQGu2Jua0g3J+s?= =?iso-8859-1?q?zPMkgQAqC6Pn3YaKSkEB6RgwKkrS4GiK5nDeFnzTnskMfqenP1bm2WGpt8C9?= =?iso-8859-1?q?tL1qP6St48cUWPP+mMB/yivMQLEd5YhYV00QovY4pKrm8jJ8g1bxv7INVQB5?= =?iso-8859-1?q?4UZaEOApw3y51giDCGq0QNG/FANsOPc5aX+Db1Kxuo4AO+yIbKXihGXO8sBi?= =?iso-8859-1?q?fG/3wiyEV/xA8SprcxEKfSjZj2Ta2K83nPBlgMjt39nqegFEIWNqB95rlj1G?= =?iso-8859-1?q?upzYheluEeaRz1AVQnI/Pv275VdD0gPhZR6DH0q0apWtXjxDo7btKivbFSIQ?= =?iso-8859-1?q?=3D?= Content-Type: text/plain; charset="iso-8859-1" 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: 62a08ffa-e805-4657-9bfb-08dd3979b839 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jan 2025 17:41:50.0695 (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: geo03uJhatMbehW1UZhchI2heV3y9qJVv1+YTkTffbUdlol3kN2hCO3+F3K6XADkCHmqAvAfFHiGJ8qnaKAYiIdA3xeBQzrKXJ3jLxgdNG5Q3QU14q06kOx+1fFAy1ft X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR07MB7548 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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: <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 |
intel_iommu: Add ATS support
|
expand
|
diff --git a/include/exec/memory.h b/include/exec/memory.h index 9889b97abb..468b003bf1 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -204,6 +204,7 @@ struct IOMMUNotifier { hwaddr start; hwaddr end; int iommu_idx; + void *opaque; QLIST_ENTRY(IOMMUNotifier) node; }; typedef struct IOMMUNotifier IOMMUNotifier;