Message ID | 20250218132356.1809075-1-rrichter@amd.com |
---|---|
Headers | show
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2081.outbound.protection.outlook.com [40.107.236.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58C43269804; Tue, 18 Feb 2025 13:24:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739885077; cv=fail; b=oVhUY204UYV+68dFtMtJfpOZhKuQyoOP76zwMj+RZC4ZrXPPWeDHImcWmZmTobFCwjVGIaQ4HXbE69vWo3pZull/hUfO+PtWAYeYm4h6cZlmUsHsSctfQCSq2jZUbfs6zu+YSPa4nnq9UveBSCbaXazMrmwJlM8IdmH86Xdc/Cg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739885077; c=relaxed/simple; bh=FTKjq4C0T6fwBWfeifnoQQI6UgFUWgKqS3O+ZHbDF1o=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=aRd13a30ksyV9FI+OexPTuoj/wmCic8t7T5BS4g5X6Et33zfhZIchiyC1DfsuOd2Nm1WsY9yxqqroarsPOaAmwu1ZkYs3XMLewcmbAVptjhWEylcDgpzHRMfDpkud1cZ44l8vJFtjKnkophIAHCx0Ly4VrSH4/LOIiuJU6L/8wI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=31UiLWRK; arc=fail smtp.client-ip=40.107.236.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="31UiLWRK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XLrEMsaNyELBK4h1aOSal7U4G7uuhKkqndrKrjMfqXKft3k8eVH9d/jjaOr+6YhEL2zcLA4icxzP4Otj5B0doykhGAr8+2rcegi/gAAzpKmV5K5aCX9cXCjLY1eFBSMjc7Q8yZcwBdJNUkC4i9aXUBcxNfIeKs8JnGhQeP177QFE9lNoZlKcjPfotOfSDB+kTUIHy6o4mzfln3zsjm8SebiRjtfWFaOb5uWxwXi60z/MudChayCXyJSGm9W2zUHBHbCC9egFLdCwxNBCkhcVgczcOAiikjAJ1F6IHjm/xzLqAt9bLMQbVXJCyy0Uts1L8IvF0uCdEDjbd9VA4k1RvQ== 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=tIjohDLJbLCE1V2pbGpBzzDOyClI+oG1mc/qRATYU0Y=; b=hI3scKq58pikxekNM0fwkitngPX5uJLCukeP2i1UKKXVW1bf9Ad3JZEnDejIGTlnZ4l6/pFkROI9oi5S5a1AVnWgo6ZE2oSs8XNh93KazkL4GAAO76OV2vuIMMBCglOdKN3NA9qg0NR1tbwljy7BFFA6pqrrN0PljX/icFmJF7F0B5TQZFwIWmPD+klyTWHJdn2wIEV85oSNUulYGb0/FzqSvI10TTJQh7YEG94Ze9iWVfKwimrC94ArJ33hudJvVgil89kENm8djmtgTLuLrIf5haT9UB+iRFJ1FlzQ28iVtmMnVC0wkHx9/FIFF1Tw7/iV8rjG9MnGjhiyZCoACQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=intel.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tIjohDLJbLCE1V2pbGpBzzDOyClI+oG1mc/qRATYU0Y=; b=31UiLWRKF1ItpFKGdbhFQbmJU3n6WRcg+fbVjZF0advcPnXs7iwWO3unBcAvbQUaNQnVDBd8kBZ5dgZiJWU6raLaea/CLy86V82YkiOZ57LRnYkqcds/Yd6Hr20vh2C6Gfdff54JCBHPD0PyXp4bAz8ZYdLL0HY6iHABjnXVCH8= Received: from BL0PR05CA0010.namprd05.prod.outlook.com (2603:10b6:208:91::20) by SJ0PR12MB6734.namprd12.prod.outlook.com (2603:10b6:a03:478::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8445.13; Tue, 18 Feb 2025 13:24:31 +0000 Received: from BL02EPF00021F6F.namprd02.prod.outlook.com (2603:10b6:208:91:cafe::f4) by BL0PR05CA0010.outlook.office365.com (2603:10b6:208:91::20) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8466.14 via Frontend Transport; Tue, 18 Feb 2025 13:24:30 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL02EPF00021F6F.mail.protection.outlook.com (10.167.249.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8466.11 via Frontend Transport; Tue, 18 Feb 2025 13:24:30 +0000 Received: from rric.localdomain (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 18 Feb 2025 07:24:27 -0600 From: Robert Richter <rrichter@amd.com> To: Alison Schofield <alison.schofield@intel.com>, Vishal Verma <vishal.l.verma@intel.com>, Ira Weiny <ira.weiny@intel.com>, Dan Williams <dan.j.williams@intel.com>, Jonathan Cameron <Jonathan.Cameron@huawei.com>, Dave Jiang <dave.jiang@intel.com>, Davidlohr Bueso <dave@stgolabs.net> CC: <linux-cxl@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Gregory Price <gourry@gourry.net>, "Fabio M. De Francesco" <fabio.m.de.francesco@linux.intel.com>, Terry Bowman <terry.bowman@amd.com>, Robert Richter <rrichter@amd.com> Subject: [PATCH v2 00/15] cxl: Address translation support, part 2: Generic support and AMD Zen5 platform enablement Date: Tue, 18 Feb 2025 14:23:41 +0100 Message-ID: <20250218132356.1809075-1-rrichter@amd.com> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-cxl@vger.kernel.org List-Id: <linux-cxl.vger.kernel.org> List-Subscribe: <mailto:linux-cxl+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-cxl+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF00021F6F:EE_|SJ0PR12MB6734:EE_ X-MS-Office365-Filtering-Correlation-Id: 2f397e47-5ca1-4788-c082-08dd501f93ba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|7416014|82310400026|13003099007; X-Microsoft-Antispam-Message-Info: =?utf-8?q?sD8ug2nRC4mE8oMpdLxx4za7pWcVZaB?= =?utf-8?q?LkIzsDplqFB1qXwZLOdeqrlbcHetGnHnM064+I2MUKqnD6QEhIAPrUM0M/ZpmfA+N?= =?utf-8?q?BPSQsttJCW2t7udsrIQnGlcfB3fUoebtXkA3W7asn/cRJTzd5ddLl5a3rPX/8HUD2?= =?utf-8?q?thMbfaai9Bfl3QNJi7S5d6/BPqK96KZmPCyvk6Nd2p8BvzM5bCe4KyReuwtdxf9wP?= =?utf-8?q?JWzcN/2g7BeIWIww+78mDUFkE8JudJPrsZ+XnlpGgRQ0d+O1DNygksTmHTKYEgdnT?= =?utf-8?q?iR+gSPFFzYKEajrzTZmH3+sSvzsgpdeM5Q5TQ9W0bJ9t/EA8t2govlRC5z4eaDUot?= =?utf-8?q?Tdhx300H+0HrTDruGOvja4a3kd1s+87Snt4b+qnAEivCvWOAVD4yQA6nznkq9LnQ+?= =?utf-8?q?9UXImH1Z13CPz9NAf6+7I8lZiFx4TbjElnsrtxcdU78EMA0Nr4E6ALOXQFtjGSgcN?= =?utf-8?q?8sYGKjMcc4tlLTWrh/2kV0j1fF5haqpUuj/inb3G7rlIy0cF9MLL9VT9eM41F/ZdS?= =?utf-8?q?zTL868PtTcijb/2SYiwCD7rt2VbkZwD1O46rOgMaxMwnmFPNP0weX0s2uJ/l+3/+7?= =?utf-8?q?1RL3363H3VqKkIqK6CGJFRU5O10CAB9KqdDxkpcwbMrIY+Edmyi8k7clWvwlpqzZI?= =?utf-8?q?lHWWIQn7Tn9syRw/a1xBYipJU1xoE48xwSnef2n9s/gkPJOawGwW1awrwf7ZdS7iy?= =?utf-8?q?roZOkJ6ACwKc3h2HkFZPTV1Jmx03XWRFusHgiNzffJ6U+B8QYweZmNGBjU1sdehB2?= =?utf-8?q?5A6wcgavEVDyBynXzas2Md93BoI5zdlWCIXHbfvyzQSzE9JKu4+7SL2iOsVwnAm4h?= =?utf-8?q?Bx3LJp7UcNevDcJlPHVqtsc+kWTpCxd6tX+bLELXwa8KLrgtaMvjZr11zJrePmMRm?= =?utf-8?q?LDbtwJMZcQNwnp2pwycqsJVmLvGFlX7ojXsd2mdAadIhuvqUFOqHTZaWDf5wPcpm9?= =?utf-8?q?Bh8KjQpOur1LvV/mxD3hDc/lO65Axm6bfi5vDcHsdwcE5jcrB3mtjUjFP8xeFZwmR?= =?utf-8?q?Q66EOSi0n34d6oihRqfJn6czjeVSletPUbGYvwALya/x8w3yYfbquauqeId8dqaTM?= =?utf-8?q?Sojk5+1Wh5/sWES4zHbXxhvkTG0YKtS/rS5Lj7GSFzpQBQtG4bKnwQj5ZrsyLnkcb?= =?utf-8?q?PwtvqPf3w2QX8EqiJiqJ5lpm924FGDD6QHKlD/6XvLulRjU/Nla6N/zWn1vAuCxmS?= =?utf-8?q?gYXIVQzyHkP3LgSUwmy7tB9CSVSReaBsPCONaZQdbrqNgLi7RcxBA/udTMIV+X39i?= =?utf-8?q?ya20lpqlUf98YZTiPde37crc7VNAb10dQduXQJByZj2OU4ifbPfvOoVUNsHHqiabV?= =?utf-8?q?HEPS+gpbXckpOEmMbhYwUH4iaGRKblnCzCjdkLgBBmn81tWJMf8YougbMkP8pEC8B?= =?utf-8?q?VdzKfLrS3pFnyIvUtWgSN/Z5Vrt9EP0O7B+fCWyOTlAUYQMIGmiS9Q=3D?= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(376014)(7416014)(82310400026)(13003099007);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Feb 2025 13:24:30.8863 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2f397e47-5ca1-4788-c082-08dd501f93ba X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF00021F6F.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6734 |
Series |
cxl: Address translation support, part 2: Generic support and AMD Zen5 platform enablement
|
expand
|
On Tue, Feb 18, 2025 at 02:23:41PM +0100, Robert Richter wrote: > This patch set adds support of address translation and enables this > for AMD Zen5 platforms. This is a new appoach in response to an > earlier attempt to implement CXL address translation [1] and the > comments on it, esp. Dan's [2]. Dan suggested to solve this by walking > the port hierarchy from the host port to the host bridge. When > crossing memory domains from one port to the other, HPA translations > are applied using a callback function to handle platform specifics. > > This series bases on: > > [PATCH v3 00/18] cxl: Address translation support, part 1: Cleanups and refactoring > > Purpose of patches: > * Patches #1-#2: Introduction of address translation callback, > * Patches #3-#12: Functional changes for address > translation (common code). > * #13: Architectural platform setup > * Patch #15, #15: AMD Zen5 address translation. > > [1] https://lore.kernel.org/linux-cxl/20240701174754.967954-1-rrichter@amd.com/ > [2] https://lore.kernel.org/linux-cxl/669086821f136_5fffa29473@dwillia2-xfh.jf.intel.com.notmuch/ > With the one build fix i've reported, I have tested this with Part 1 on a Zen5 system w/ the PRM functionality. Will review patches individually, but for the set: Tested-by: Gregory Price <gourry@gourry.net>