Message ID | 20240521130946.117849-16-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 9B0A8C3DA40 for <qemu-devel@archiver.kernel.org>; Tue, 21 May 2024 13:12:52 +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 1s9PIB-0000Dn-77; Tue, 21 May 2024 09:12:35 -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 1s9PHX-0007it-4P for qemu-devel@nongnu.org; Tue, 21 May 2024 09:11:56 -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 1s9PHV-0001Zh-5D for qemu-devel@nongnu.org; Tue, 21 May 2024 09:11:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eviden.com; i=@eviden.com; q=dns/txt; s=mail; t=1716297113; x=1747833113; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=l9bNcp34tf8qesLcsVgJklrBtutAApnNrmDyzOeqyZY=; b=EUKVoQUzNQA4x6xcY9Wh/WidqfQ9cO69YQ41EzgtEKWwtJaux5u6/VTo bAGH+/CbJZ3QLHUliW5QWBToWzAAHZ/mPTpJR9H2u8vhzvJ32uQxIjp6e dWtwsyPbq/+01/Jp1bLXoaAbtm4ROHlK93ct3kPbIRhfIla1Bti9lraX/ pK051gNSYXmbA4Fa6FT0EUSlFlFHVzUgyZrJu2pXYZCsUWOaSfz7ewKgM 6sIZOF+OFPYO7iA4iT5O8K41+riennEdw8qYItF1lenLM5z2TO9cyvo1n ltGjnLQQRvR/gFyrxph9BbDbNEv0fgsip2H2aO8GXgYum7PHNJDkvYKkV A==; X-IronPort-AV: E=Sophos;i="6.08,177,1712613600"; d="scan'208";a="13061509" X-MGA-submission: MDGeQrvyXfxkoQAnmOavVki1omy8P4Vl5LuINwww29b7lYci8Q5FI5c0OttXmyDIaCBkv9cXkOaUtQFRs+HLpQ1udkhNMKlSwke1zlAqGWDEJXEJMN/nbzgNb6i5ayjCTW8g5anPPJ3XzjUUsGqOxsADE+8zWELpOjnMo5woW4mVYQ== Received: from mail-dbaeur03lp2168.outbound.protection.outlook.com (HELO EUR03-DBA-obe.outbound.protection.outlook.com) ([104.47.51.168]) by smarthost4.eviden.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2024 15:11:49 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FDHyqTfPNULPPy8jS2GVsibyubxSVtWgtMqbhmC+1SDZZECQSN+Epb0vecMvhE65smEq/9KN/hmCi53HtiWTBK7QuQMvIgtCGceH3NA449QMgA27n3Adw5S8fKDzFYl/U2bFC+lG7Xf4Q9U5NXetr8wF5ZqUaj35gccvCfQsHAPxR/OEaqPg722EuY697Gnlhp6R5/LcGA0nPbCHOMpH2dxVvK8AIs7rSc15NBDQWMYEN8Cm4WH+glApbzvEGcndP9m6RHfxUIGB1q5A17K1tWL3zQ4Ni2IZqnuBycirAX6TgHBKXCol7bsYHUwFsVrrCB847044BR3OXIEhkNvsNQ== 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=l9bNcp34tf8qesLcsVgJklrBtutAApnNrmDyzOeqyZY=; b=NVKT+ym8oIro7p4ZJ+Xp283UDcZDOyUl/boqrhb8i8UqC6y8ifyGgnvr19koG0Cy16HojO0h/oEyNYr05HMcF8M/pwj4ICm9Wu49OSNbbCTntxQiOCn3rXhiXyr5sT1GNsi9F+kSGOb0JWVTYV2aeZOBwrJ8+KfAdGkZZHGQHFYdmkp5eeAqdpIFtk/2J2HQRVOw4xkeXXd5kVkLVULXpuI06IR+zT3pkxwmlhLHKisu9hcjQgzHgOX5F6rQJbs4NYMl5XrMkeiJSQvbqaFtw1JHf8FFjYplxGSJyshRDnfglzz8F0GFsXd6kmFS2cEIhGkhBl3Cp+KDOmsB7Dhp4A== 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 Received: from AM8PR07MB7602.eurprd07.prod.outlook.com (2603:10a6:20b:24b::7) by DB8PR07MB6249.eurprd07.prod.outlook.com (2603:10a6:10:140::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.27; Tue, 21 May 2024 13:11:48 +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:48 +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>, CLEMENT MATHIEU--DRIF <clement.mathieu--drif@eviden.com> Subject: [PATCH ats_vtd 15/22] memory: Allow to store the PASID in IOMMUTLBEntry Thread-Topic: [PATCH ats_vtd 15/22] memory: Allow to store the PASID in IOMMUTLBEntry Thread-Index: AQHaq4BwMKxyUNJbN02mJJyi62Xrcg== Date: Tue, 21 May 2024 13:11:48 +0000 Message-ID: <20240521130946.117849-16-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_|DB8PR07MB6249:EE_ x-ms-office365-filtering-correlation-id: 39a9c922-5dc4-490c-79c9-08dc799792ab 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?q?JMNWei0bc7f2Al/wo19nJcqlDBYsXM7?= =?utf-8?q?FHBBN9OYkAsIfgv2lDl47qfNgzkdTHakr6zOQVTkiP8D3ZJvLzc9ffJQkXZD60Moq?= =?utf-8?q?si2qUQvx9Yk24xDRIvv+X1Gp0HetuirPWRua8Nfb8MHrxXwpA8c1B9nsvzEYSFvbe?= =?utf-8?q?dKUtCOPj7BSRMVN7wqTvpJaxFVUfJ+dJWyCDHqG6DR8vazZ0z0WPVs347EqMufxNh?= =?utf-8?q?CJ0glfe01I2M1NaZGz+u+HljMMRFrgmYhXyqdKiCh8DBcpaq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3UJQZZN9/e00qPygpLCzxIrDT2hOuzsg5?= =?utf-8?q?4oPVFP24r/dakaU3nIoMt+L+LeYimQasJ6Q+fgtKxK95X1/pDEyoaDOJ3vOgFIHLm?= =?utf-8?q?Af3KZ7uuB5xAFyIOJt6vGFl2/KQZpIAjJbbibqzGeUZkYNk8OCoGMjz423gmmYLEv?= =?utf-8?q?0Y+NfYPs8oU1plI5EzHIbopZJy++zfc2elw=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)(366007)(1800799015)(376005)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?HX4iw9D5VjhyXLFOOcfFgzL0w71X?= =?utf-8?q?SYI5mOREceEio2ui0nmiqiKBDzn0DwSM3RqybbTHlPvNcaDv8Tbai32J7xOSG9gSI?= =?utf-8?q?zwf6il6ouDpqlrcF6Af/EKopmfvU1Qjb1Dv9ZJBCvoYdDRwJfaNl0PveWu6qhe2qS?= =?utf-8?q?tuoL+sw1IvAFXI0DFZagiFoPWk4wH0bMXHvIJOdqoQMcJaO4N9yht7mxtfaLwm5T3?= =?utf-8?q?zHyc7pXfaby2bZ8ynd6weGeTmlGkg+Y8HyGnoERt1IpvcwfdkjxraaTf/IJIxjBpc?= =?utf-8?q?YlqJRamGlzqpQylRSTm/3v5C4RuhCP4idFdDN9xwUFXvKcNYLVYSwOoQnNacTR7g6?= =?utf-8?q?dUS4Lek9qgKTcMpNd7c+4HPOEeSs/OmiVgadWI1gazA09DZRb5aoMj653po7SLjnG?= =?utf-8?q?huCWH4NdzBgsCJaz2AyyJ0N/qVp+Sg5Mv7XIGrmR8CKwEDCGL6cfyhb+QXgGknVNQ?= =?utf-8?q?sgDUl6K9N428vrRLPA+PIfHmnUXUnLRhBk32m7o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oiI8FZl8FGmeqjh4/j+dvTxh7z?= =?utf-8?q?vtCthDN7o2wSvYMglIadS1WY+Dj7O6k9TansVfCBIX0eLSk4Es0K3ko4F3HIyPd7I?= =?utf-8?q?Een1wTecqzD+IWTxG5ZPfsS2AcuR/bC9j+5v7LARKgU4bNxK7+5EMQKmpXHQGWmvM?= =?utf-8?q?HJm92xhpmOslozbB6PqlGy2/hKGQwQbIIgIF4SiiQ5w7G9rRugsccvY=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <4C99E2DA041A9A47ABCBBCDAF3FE3086@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: 39a9c922-5dc4-490c-79c9-08dc799792ab X-MS-Exchange-CrossTenant-originalarrivaltime: 21 May 2024 13:11:48.7370 (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: 5svMXyfaNE7HXrffuymmBBxkwrw4mqQIvp1Ikxf5uZKPbwR2rexHMFjy+XWgwYNLPJ1Hur1ten5mjr1wOi2elNoSwoU1owG9TeYavOc0K7sBot3GSDyBrOAQr1cR5My1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR07MB6249 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: <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/include/exec/memory.h b/include/exec/memory.h index 359bca2ae2..56ef48780f 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; }; /*
This will be useful for devices that support ATS Signed-off-by: Clément Mathieu--Drif <clement.mathieu--drif@eviden.com> --- include/exec/memory.h | 1 + 1 file changed, 1 insertion(+)