From patchwork Sun Sep 22 06:13:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thippeswamy Havalige X-Patchwork-Id: 13809005 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 AB74ECF9C6C for ; Sun, 22 Sep 2024 06:16:10 +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=wGGIosIU+sMxJPeWTWm+Kd34TVPtvf7VOPC6ZGjGm8w=; b=j/Ylv1yqZtXV7FBVcI9kBwn1ru i3Tp2zPtIOOHs4hdX6bbY2Dsk5n7qeg7CdG9uvjbBpKsEZDg0eP/L5BsXBZRKtIB+dLO6Ck7WDjAH KMywrT4/VGpF//FlbrdERYM+c0Kpxemg3ibC+YE0s3wDEV/NVmiN8gQHoCGmT7IdbNAcw6VGxvyP2 Rt8anyvzTPqc52VISx+tlAWTIT3gAgl32wcjXMqWJsNjccS0T2dgq9ZFxO9WTv/H96x+cp3G9rl5d UE+QXj9FXQjKqCE2Xz5hCpqPq1fG1cTLk7wlO0xWi9MSSJ7MRj3wTsmZQ44vgiA5Ia32DX5M9owx4 prMQUejQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1ssFsx-0000000Em9G-2Jzv; Sun, 22 Sep 2024 06:15:55 +0000 Received: from mail-bn7nam10on20625.outbound.protection.outlook.com ([2a01:111:f403:2009::625] helo=NAM10-BN7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1ssFro-0000000Elwc-3BwZ for linux-arm-kernel@lists.infradead.org; Sun, 22 Sep 2024 06:14:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AQ6QdfdV+dOuF4Ul2dzdFhusW79UkpdRpGRvtMLRNbVeaFcteu4c8bQd5/Syw8cTZ8NBMN0eq0C1d2II2if2EhLOoAA1K665a6fsBarVfgxSspjpNM3YiZGLLhb23lR5LNuhwCTzSqiUkkwUVYW10zfq8mFKeW5MCbujZ3hrQEycIT5wAwuCoLhYQ8pyXeERKXQMZLHlPhn1A+2HhHunRfsa94r/l3UPr7Jiu2p/SPb25QJXnbh2hlReALk0nd96doVmXIFTsBXnFIOtr4wWj8JHJFT/AVioJtygRuqs0e0c3uiynwioyMKrzdlLxv5EKu8p+pcq5unaU0SiyLQZhA== 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=wGGIosIU+sMxJPeWTWm+Kd34TVPtvf7VOPC6ZGjGm8w=; b=nSMZYcM5/ayW4DEMFbj+lX0dUZEd0X7mEoYyOsOtnzOnVE1SMbXe/MoGBR0oPQcoiIiQVbp823oC70blBJDe1ON0/+4dcalwyy5V89IQiYfWqpxVWbAUD5BS43ZqN8qpFJ9pSrg45FiZ1KhaRssk/M64fOgdkaEykMSdxhQPfmFpx5HwK7tUyTOt22Uk3/UhobsLNyWkVIJzq7z7bM0PfDtgoNP39oiGTSOTOCy0/LLodm0YNfw90QfvrioFqzwzt+X0Y6bvj3Vzxfk7a9XU2VPmbxqNVyBvdl/DMeO7RzfpzM2Jx87FSIHGBgSfRTp4Y4nnJROXAHXiYfiQT2Dquw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=linux.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=wGGIosIU+sMxJPeWTWm+Kd34TVPtvf7VOPC6ZGjGm8w=; b=T+KlaejynQ/Pl0VWS9KGtJj7+TUcIKSltkR7FiOJYtYeRTf/wGoAX1pWe0ykvSr5cB932jPU01zcdhtjIopbm70eHrqmwjh7srLJNYlKembDRUtugQfikL5IqOCuhwEYy2dagEGOjFb2eWNiqzzhdWMHzuO2VjtXnTJziZWY/fo= Received: from DS7PR03CA0108.namprd03.prod.outlook.com (2603:10b6:5:3b7::23) by DS0PR12MB6630.namprd12.prod.outlook.com (2603:10b6:8:d2::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.24; Sun, 22 Sep 2024 06:14:27 +0000 Received: from DS3PEPF000099D4.namprd04.prod.outlook.com (2603:10b6:5:3b7:cafe::d3) by DS7PR03CA0108.outlook.office365.com (2603:10b6:5:3b7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.28 via Frontend Transport; Sun, 22 Sep 2024 06:14:27 +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 DS3PEPF000099D4.mail.protection.outlook.com (10.167.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7918.13 via Frontend Transport; Sun, 22 Sep 2024 06:14:27 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) 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; Sun, 22 Sep 2024 01:14:26 -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; Sun, 22 Sep 2024 01:14:26 -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; Sun, 22 Sep 2024 01:14:22 -0500 From: Thippeswamy Havalige To: , , , , , , CC: , , , , , , Thippeswamy Havalige Subject: [PATCH v3 0/2] Add support for CPM5 controller 1 Date: Sun, 22 Sep 2024 11:43:16 +0530 Message-ID: <20240922061318.2653503-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: DS3PEPF000099D4:EE_|DS0PR12MB6630:EE_ X-MS-Office365-Filtering-Correlation-Id: eab603e7-0470-4bf0-1d51-08dcdacdcff1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|7416014|82310400026|1800799024; X-Micro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Sql7eZduUevCEsxx9y0xCHZ8NoQy6g8W1BBsZGFFto9n8+Tg8F1VCIvubWzNZNzCy9Ny/TIHES3W5c2niQieAqJxZTmsHE9GFge5W4xzcBlRBD0i7Om7AbSrrJLHNSjGiwF8KDZeKtF8ttCv3zQnLT4dd6SUxGd7p7wbw+9qpjx8REIQJobpPVDk9QhYjT5Cpkv70Nwxtxzj+njhAnVuTfMzKidr61EtnzOniUCl6c6KYB0x5KRnfkDSQ6WPQ4p5mPNmJWEFUR4hA/15vzSE6wlhqvJJRnKGqLT/odupJrd7B6pcptlLLEgixCKzEhJnku1p/PR5j9segfL5ya3 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)(376014)(7416014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2024 06:14:27.0510 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eab603e7-0470-4bf0-1d51-08dcdacdcff1 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: DS3PEPF000099D4.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB6630 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240921_231444_811493_ED648E57 X-CRM114-Status: GOOD ( 10.98 ) 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 introduces support for the second Root Port controller in the Xilinx Versal Premium CPM5 block. The Versal Premium platform features two Type-A Root Port controllers operating at Gen5 speed. However, the error interrupt registers and their corresponding bits are located at different offsets for Controller 0 and Controller 1. To handle these differences, the series includes: A new compatible string for the second Root Port controller in the device tree bindings. Driver updates to manage platform-specific interrupt registers and offsets for both controllers using the new compatible string. 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 | 50 +++++++++++++++---- 2 files changed, 40 insertions(+), 11 deletions(-)