From patchwork Fri Sep 6 09:31:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thippeswamy Havalige X-Patchwork-Id: 13793852 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 AC2FECE7AFB for ; Fri, 6 Sep 2024 09:58:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=3Afu3R/jxP2zwy/ouUAQxAzxtds3TR41H6CNrKyLnR8=; b=PyLlXFxCBxppaRsKmLmFINEUQO odLGinnQCRS0VkU0emnwH6yG82djb/5bnx2RlnmkcVxjH1iVwAYF7xwYx6cHdh2XYFK+md3bFL6pq IU+2IaTN3ZUofeZ2sBSrEx6jiu+krpKXVUDTSi9Uc/6okkjHgYR+tEsQF4bLPz5MS12sBoLAcJ5y+ MkUBcyYdGVyKYJMQLCuXbgKHBHA9h90asWwW3JnkYU0Aet0eTWz4MRaqBgCY2vGYNASmt8257PRpG oOybxv3j3KLW1LDPXzBS7P7aPvwu0+sQ08W3wpXvTLhzZC6aOo0AA8PAsS0cNlwCJdrJzuk3RS1TA PwpGy6Vg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smViw-0000000BeBD-3fgq; Fri, 06 Sep 2024 09:57:51 +0000 Received: from mail-bn7nam10on2061b.outbound.protection.outlook.com ([2a01:111:f403:2009::61b] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smVKM-0000000BWon-2B29 for linux-arm-kernel@lists.infradead.org; Fri, 06 Sep 2024 09:32:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DIQQI+hiRm8a/MMz7RVZkCAcXplMJT9gPDu3UCAhWyOK/6zcGnnVHx50PREoyDsuWp9w/afSVbMxEej3HvSzMWV5T9xh+PJM63vdJL8hOma4MM289iCTXnZ5ykX3jojXxjBa155EWzh67zNelcmhwsr82vcx1qWAc3wtaApwZdGH1vSauQtbWnocSYYVAkM+jxy3QwMdpUgz6dciwO90SoBMzcurpHmaUdawN8Vr2fOaDayGh+zoAdrs0aa+cEHJyqckZP94RtmZBRJGyd3ldOpA9S6lq+uKO7rnFAtnUbv+pGHo8plfLH2xgpAT9AVxeZixfu2CWyNMHjuqII9DVQ== 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=3Afu3R/jxP2zwy/ouUAQxAzxtds3TR41H6CNrKyLnR8=; b=k58HO8N9FXGNBSjfFIN6oHMn0Np1dWgL20GJbbNZPtFd5W9UYQ+mq2zPmtIvQZ075dB+iuL0jKaHaqwXLru9Zn/nwtoE4LXzq5PaomZuqgc2p1hyBUTpjcy53Wq19mptcRvm73vXF1bzvuzmlhfUCHXfOvzY3IGe2FuuVKHZEqnC7D2kpEO2oVIN6LNO8UnIi5B+vP4K/DUM83XPMq2YVXaiQSR99zJIiOTaK5zzGgdFKlK0gQp8ULr4wT8v8hvATxyj25bVon655iL032tPod4rA/dt6Jfm8GyhPDYuUwxg9I6cUUpZtJsPmVlvY1wpJHO+HDtw35l6ZMeNile4Ig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=linaro.org 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=3Afu3R/jxP2zwy/ouUAQxAzxtds3TR41H6CNrKyLnR8=; b=3D8uG+0gDBbpWYJgIwZXFMpI+JAx9mS3UKjjm8/90b3e+paqdYOGdz9hXg0iDQCjTcO7c3KqGPWbWIPCNl5x/sEhXzhINtb29dPfx0zkwDIjTt3eqzUzSSQaU2nywYT+WZNnNiJCfn6EHj0b+NzrifqsZFgmCOXcI+bq9zc+xCw= Received: from MW3PR05CA0008.namprd05.prod.outlook.com (2603:10b6:303:2b::13) by PH8PR12MB6698.namprd12.prod.outlook.com (2603:10b6:510:1cd::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Fri, 6 Sep 2024 09:32:18 +0000 Received: from SJ1PEPF000023D1.namprd02.prod.outlook.com (2603:10b6:303:2b:cafe::3d) by MW3PR05CA0008.outlook.office365.com (2603:10b6:303:2b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17 via Frontend Transport; Fri, 6 Sep 2024 09:32:17 +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=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by SJ1PEPF000023D1.mail.protection.outlook.com (10.167.244.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 09:32:17 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 6 Sep 2024 04:32:10 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 6 Sep 2024 04:32:09 -0500 Received: from xhdbharatku40.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Fri, 6 Sep 2024 04:32:06 -0500 From: Thippeswamy Havalige To: , , , , , , , , CC: , , , , Thippeswamy Havalige Subject: [PATCH 0/2] Add support for CPM5 controller-1. Date: Fri, 6 Sep 2024 15:01:46 +0530 Message-ID: <20240906093148.830452-1-thippesw@amd.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF000023D1:EE_|PH8PR12MB6698:EE_ X-MS-Office365-Filtering-Correlation-Id: 431e61a7-cdbf-4934-ddc5-08dcce56cca3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|7416014|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: xu6E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9AKecEpMLy+b4QgwtojNSyMNTdhzCvd1SYD/OcmlmWXa8uG3H1Pfj2kxm5lUwpb0n9jMEYwdGClV9Goj+MKFZGHJqqzCPSZ1bSWQELEUz1eWopSNIs/0xe0sog0eDVxJLr0irMkZ+8NlBJj2zWjtxJh6JciFMSV6IkjKVO5m0p4yE304aFjGoUwrIL2nXgfKVqNmXxvC77vxSeEJqkQOsDkIYThj4XAC384mDm+WWyX2XZanQLy3Cb4r2dSGTRmbfHCSwLCahNZQu+x5IpHDKCm3zooOZvsTISxekx13Tx/pmZiHHXiwQndPWHi1LQr0Z48p0CLyuNaqhpWedUk0/i2SPCjm9s7LmvD0/1U79IGeM3lIqpcNkouVmES4ys8otnXon+iNCrn5B X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(1800799024)(376014)(7416014)(36860700013)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 09:32:17.4005 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 431e61a7-cdbf-4934-ddc5-08dcce56cca3 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=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF000023D1.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB6698 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240906_023226_579449_4E4262C0 X-CRM114-Status: GOOD ( 10.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series adds support for the Xilinx Versal Premium Controller-1 as a Root Port. The Versal Premium device supports two controllers, both operating at Gen5. speed. Only one controller can be used at any given time. The primary difference between the two controllers are the register offsets and bits related to platform-specific errors Thippeswamy Havalige (2): dt-bindings: PCI: xilinx-cpm: Add compatible string for CPM5 host1. PCI: xilinx-cpm: Add support for Versal CPM5 Root Port controller 1 .../bindings/pci/xilinx-versal-cpm.yaml | 1 + drivers/pci/controller/pcie-xilinx-cpm.c | 39 +++++++++++++++---- 2 files changed, 33 insertions(+), 7 deletions(-)