Message ID | 20241129074332.87535-4-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 6194CD6EBE5 for <qemu-devel@archiver.kernel.org>; Fri, 29 Nov 2024 07:46:18 +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 1tGvff-0007zB-Ci; Fri, 29 Nov 2024 02:44:11 -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 1tGvfS-0007xC-8y for qemu-devel@nongnu.org; Fri, 29 Nov 2024 02:43:58 -0500 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 1tGvfP-0002fk-GM for qemu-devel@nongnu.org; Fri, 29 Nov 2024 02:43:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1732866235; x=1764402235; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=n8O98KShNuvgHQbN+mh2dS/8MP0Nk7wBFRcwtlVqYDg=; b=OcD8DvMoiwsczfgJ4TtCeF8d0c30s2Fvw9A9RKoRbG2L4B4KMoMsFReW DfQDiqQho2YeLZCksqjkPjtE6li3IpqYKfhLeYVjsz04UHDWVbUPzFqwz tbXJUkRP2vgd5Qv4CxoR254WehImpb8P4EIo+hhya0Jk+mze0mzKJvrkt B3ofqy0+Hwxi8WTMOToYqYNEe8t1tLW7Vid6vi91QxGogqNYHbsdsJivV hEC+IfD+Wq2PtCg3dxKpSJ9t9h9AYrxpwgtTlTsfAQcNOkQCUSYKtLbMM 1WgxbNV2ArogcLul7aKyY5PXcLHLmFcMtzXReuOktUflLDZZ1rBnp5vjM Q==; X-IronPort-AV: E=Sophos;i="6.12,194,1728943200"; d="scan'208";a="26377115" X-MGA-submission: MDHlI7iHgExURIGa95c/M8LuI2hgkaWQG7n5dNMPtOuMxpsNkxXTeTAgqdVP0v5cx9KnFkl/cwg4JXqQ+A1LqXV3xh2omykEMAFLvPJ+OT+GBDrNYxn6GGJlXhgKoKadTHFZtqA2LrwKdD+wrYuN9ijsO/CGFcCyjkbYT79yLiEOKw== Received: from mail-am6eur05lp2109.outbound.protection.outlook.com (HELO EUR05-AM6-obe.outbound.protection.outlook.com) ([104.47.18.109]) by smarthost4.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2024 08:43:52 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=VGUeaSzPDZ1gWrLYtEsgYL9aBcgoBHyVKt+rLly6RCx/e+yS9fZt6pFy+fhOhRSJ9gBStTd3wSpfKQxnVdoOcOq6K+ZibJsBGMJ8CfLL59BIqTeA1fcteGkwlGU8aeJX2T90iLXZ+7BBwwa2JUqqbnS4bBp4cTeC3wBLn7cLQdVQDQ4oaIJ2ob/NNr2RoZOkozCWUBF9KlQX9BfI0SEiMpvcAlFIMjkdmhSMrdM6BKh1ODuJUxai7YSTzF3ugOX0hWopyAKsjx+cppYFcaqy8vmkVF8zDfGBQm2H1wbR1ZDvDA1gvVXuyO6mrGb1eG3E2sEaeOe2sJgLo+m9+vU45A== 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=n8O98KShNuvgHQbN+mh2dS/8MP0Nk7wBFRcwtlVqYDg=; b=RyniU3hIQo/FGQlJ+RCXdkikEJuheheB0PqhLK+n59YHlr2MM7J47Bl02MUlVcTzwFczEsFCcG5qWoLWRbtRaM3mr0vMssYEIrEtmkrpwMjHma/66h1RdsPOKTCjyCdm44WWiu0hcYg8nwGOoPDL9Pe2Wd1mibIuf3LOlHMr+P6f3jfhnaGX3JCIxjXDNsGq5BMcbzO35qI0/evdf1FYzA4RSesprL2Lr7hSgwR1YNq2PJ2ESYKMrpRnTnSYvmoISxvYQlsSQri7CtxF7BonE4AT953lMja7Yvpf99yfzcUDq/5zkx66CdB4+6R9mqoRSNGaX4qwr8ckkUXK9dDZqA== 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=n8O98KShNuvgHQbN+mh2dS/8MP0Nk7wBFRcwtlVqYDg=; b=q+jBtZ/UqNNAAc2iJhlN+ot6Kb93bK7COt/vWIO8T7syz4+tdj+cymO5A/C4o7a2FvbOoVOuFOhuSTfVmBMCJAZ94i8ysbjixUiN54zytmHoMlhRLo6+uHNGE2SrFpXJElB0UmBTir1ZSAO2GF3Q46Ab0wXQP1WoAvtfeiTzEmO5Mb/2tgcV+1pTwyZYdLUOBRTnWLjOhv5JLnVU/D2V0znma0R2qVpnzJj+KaXYgtzFxgnrjYUNoqRdCF78GAlp6P0DIKElq/KyDYexsyLoRsACh50KmfcMvNPI3rPjLn9Fc7IjR6YwhROHM1y7yy9nVOiHX0wtzF8JRUVBENif8A== Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by AS8PR07MB7847.eurprd07.prod.outlook.com (2603:10a6:20b:39e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.15; Fri, 29 Nov 2024 07:43:51 +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.8207.014; Fri, 29 Nov 2024 07:43:51 +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 v1 03/19] memory: Allow to store the PASID in IOMMUTLBEntry Thread-Topic: [PATCH v1 03/19] memory: Allow to store the PASID in IOMMUTLBEntry Thread-Index: AQHbQjJuVhzKX0BtCk+R1aLGA9xAJA== Date: Fri, 29 Nov 2024 07:43:51 +0000 Message-ID: <20241129074332.87535-4-clement.mathieu--drif@eviden.com> References: <20241129074332.87535-1-clement.mathieu--drif@eviden.com> In-Reply-To: <20241129074332.87535-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_|AS8PR07MB7847:EE_ x-ms-office365-filtering-correlation-id: ebf6b0d0-9d22-4d73-b24a-08dd10499151 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|7416014|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?utf-8?q?sWxQuDBBKMWSHqKMa5lsJg18p/ffIyT?= =?utf-8?q?4taLLf/ABuIQ0v0ImJVF8g7qnpx/EaLW+MPFu+dai5OAfkaGW8gX32/432SgwXmiY?= =?utf-8?q?Yv8s7omyIbZrtlgnviImukNsdui4StcI6UfyiHu5/RqNWQDmTTHGYwBXHVj711rAl?= =?utf-8?q?slL5QM86ZzKISiukHhFPf5tKzLJm7JR+yt4iABu675Met273s2GnPyiUHaXqw/uBw?= =?utf-8?q?FTFNmfLUiDSp5wr8vm+/jm2jU8++eqIEloX8yMcpRF/b0mX1y+EkOWGBGrZ1T2o/s?= =?utf-8?q?5itpsomnterL2taC+FsF21bQdMFN2izqwb036jUZt36PoB00fhFvf1JYrl0E8HHuX?= =?utf-8?q?EhaZE88USQE3kXMRFdvQ7AWzQv1b0RdgqDeZqIrrkEdvL17pCleUAjk0ROGj+9NZY?= =?utf-8?q?5anHPwyQj/R1QFTJksNoksuXLfdjD5zCvIdYvFHOp9gqq78KmYzJlfmCKIZH8KqjB?= =?utf-8?q?BzPzUWI94bn1N72R4zkHmEhrcIOyOcfr5Tju4390Nr3qSiHSLQ+Akf60yNNL2T0rQ?= =?utf-8?q?bNYUA9yTcKYu3PTM2QJwcCsCpYfz2rDkjlTebj/iJygLvoBBKU7JJ+nb+wZRSktIW?= =?utf-8?q?PUBn5Nfqe0jpIPma9a5myWQflqsy2fFwaEbSrUYjje1fzG3tHKSRmgSgoeqgR1hVE?= =?utf-8?q?Vmx+QjWyGzWWKrDmXqmBbYgK+ICAY1AKp5NBXqTH/LgYteXjPayC+f57rIDBitDiT?= =?utf-8?q?XzP09mynbzPb/YuFk3PePOwH+mosEaJ+8+pyVD8PRuuJK+wm+j61Nc+b8otoeS5/2?= =?utf-8?q?fdpNukBXjTnSPQhVteq58u4r7P172caAT3ay0f7cZmIrcpfj3aJSAvd9Ne2dthsXG?= =?utf-8?q?fD7a+KvpQgXsZd1ctfqC636oqDM4wNfqvhzRwU+SR448oDoNBwEaEokeoQl/+Fx5U?= =?utf-8?q?npRuX1nndA3BlWz5mtunoaZLRuZ7BpTtwfZ+nh0yErj7dd3eHllg0N5IKukyFtDAH?= =?utf-8?q?7voG6xZTzyWWmouNI83M4OkrfkaGdwasZTMzQRINZ+8qmSzq55QipM6kVmyvLyYtJ?= =?utf-8?q?l/vFb/Hg+75HnOkWXJDfMcSN0tGBMNP05YS9/ZMNEYRm4CebZgPhS77mmhxQFJhaP?= =?utf-8?q?JIhxIIfDRVMmiyFxBqxQ/DTZqxz8jT35Cye8+YGqLPToE1JjfVCvFjwpujP7NNtrK?= =?utf-8?q?boHFNLyccWZ/u3qOTZFE8sd/D1UONmv/bJQmExqb6046QtHu/uOlxPOxw58y3gGEB?= =?utf-8?q?ySJeXEPu4tbEvRerOeU3Xc0w66Ci19YjrY/QJVj6lErTPjYWxH5cVw64ywkWEVZVJ?= =?utf-8?q?nHqE6n5p91D1uTs8GqEIVJr6MK9gXZBPunOpIdu3aB+KbzgeDWC6tHQdWfDkFj4d8?= =?utf-8?q?cV3DGSZS/byaxMNCD+KRXykKvc3KgLPQcQ=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:(13230040)(366016)(7416014)(1800799024)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata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5xK8+zCyXwDY9ZmALiDMaxr44p+kW10mhfv7Ixxy95c6BRBt/p3SyybIlGXRPTLXg?= =?utf-8?q?dlNWYyRSGhm8xIA30b026nkpUXgfbs3rIUmj2jgB1t/D6HFdcZn5+t3ZwhZ5LCN34?= =?utf-8?q?am1KlU/S+8KMLaZ09hYzHu61tvnWIG/Vw5n++3uw9BqQJNMCverHifJgPM5Ivikyc?= =?utf-8?q?qWoWNvW4kNLYD3hqlC7f1BqPMlFmjAwkZepgoZgf5jsmUt4LgmB9XPNvLiLSSMI+f?= =?utf-8?q?6bA8LaYEpGPOUAcwlK1YP4VGMX/PtHijb8iLlbI4jvIkPZ6z7Ij8cP8Gr1spvk+LJ?= =?utf-8?q?mPSgskHxC1+EMaiHzqO6QXuduXp6aD7ARHtDSh2QQYmUVoi1TRREtgdZttSIqJh2t?= =?utf-8?q?l7XozG7mhKNyTlH1w7pUh2WFFp6m2QnXE1rgIY55Xj8jmuSGofS7vhTrrSEz0KZ0p?= =?utf-8?q?9LwqGXja/HuRZ/jG0Hx5r78n7WZTl4rP5AtYnfJ36XyOcnCgjGAecU/TdD27n0Nk3?= =?utf-8?q?IdjzgBLDCNWhKSDAlMFgVPyijmnzhAtND2fNJ11UWG2omU7VYG+K3iQQcDNUBkYE3?= =?utf-8?q?rmixYJhZND8wiQG9GJVTtqOgQRhnDkFjP2060g+ULXgoskOGzaSGS/PJ/1020rqlp?= =?utf-8?q?LOmBQXMEXuVU0+1m2d6tSY9oDLbenvpRU5Vc401trEgIrsN216NFsQ3UnSojx9yBI?= =?utf-8?q?VOPGV2WY9/O8i2K/j0Q83Q4OPHTruAA6RzsqucckQr1wzBuhtOu6mOw=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <70E67DE5C74D2747A5ACD2686E753665@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: ebf6b0d0-9d22-4d73-b24a-08dd10499151 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2024 07:43:51.2633 (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: UOleF5CtLnYf28y4ddTRoJ7uObK/d7t6d266DW5Mm446PdnvCb6GeyJy1TiAZpJYN92vz+S8Mp2HBexsRc4ThLs8cySuHKI4zpOm9gSJ/JdYHbVIKyCIR6TNVzLnQ8qY X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB7847 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, 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 |
Rebase ATS onto lastest Qemu mailing list state
|
expand
|
diff --git a/include/exec/memory.h b/include/exec/memory.h index 15fff69432..756dd2ea7f 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -145,6 +145,7 @@ struct IOMMUTLBEntry { hwaddr translated_addr; hwaddr addr_mask; /* 0xfff = 4k translation */ IOMMUAccessFlags perm; + uint32_t pasid; }; /*