From patchwork Mon Jun 24 11:07:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thippeswamy Havalige X-Patchwork-Id: 13709334 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2057.outbound.protection.outlook.com [40.107.243.57]) (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 97727137753; Mon, 24 Jun 2024 11:08:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.243.57 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719227286; cv=fail; b=XYnvdt5Q93pz9cVaZ/HM5/Yb3b/t0/rgTAmTNwtYe9J/R/47j2N7DGl8v4Av5VvTyRY9I81ulpfglVwwAgZUvZAZY/MbqV23AY6vj3kYiWG/hgY4cgy6/0dM9/v6R71PvUbQCQYKELYdq1T/wleQWSAoo5Vpku9fJH89sLawCoo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719227286; c=relaxed/simple; bh=ldSr8n/6t6+7cU1NLJhmTy/OZYzJJfGvKxRumQu/+l8=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=W9HZIC9jUXsSeHqMbIBGUGYL9ZUxjd3ZFdneg0kTN96xxBdFplPV5OdIM9/i/nRW9AJywpPklxycaSYK9WgsESiU3/9qJPOW+K4B0QGE2W3MF+v2m/hpSHWLR8ZGVjiy9Zi6rdS1dLC1f+jhv8fD3tJaiUsn1WPwsFzaobWy43I= 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=sdfAoNsK; arc=fail smtp.client-ip=40.107.243.57 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="sdfAoNsK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nkfaYZKSafque+NAF+latO7OoHMVAS9xKLDexosrsCjtcHUZOQhTJiwHT8eLx+wUNeSDtK31zGEefSwf5ieK91zsR89Q9V3MoWetzzP8vErGeJ3UEby6QvK7DK2/5eR52Hd0nb4/rjIST+Th1gHQRrDPjl8k8yCDZafwEF5dq0AVRgzwRg2/tGPTsHctl2M+CwCf+k9V0p6pLnXhPqdLpKSDqZNB0yruEvg0PQU6mORevoU8tzWW713+sv1aHG4STe4Zz6CwZ38h4M6vO/XfrHz2hbiERois8p4gTP7GrWSOmbuBJDDzo4wQhyb0MIWxfBjWFd63ZekEbqw5sBppdw== 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=Hvso3/X6AUqqRquNnZnjSNR7EFPfVLWUVXjHPHcVjqM=; b=Nd3uLtRDqmAN4fSeNL62wX9jePC2oV1guGJQXNIazTd4HkOS3EEwz1fGa7ONjLUm+TTWJjtpYMKdDJj5L/OgRwStJk3SqTaMHTSVFwtFAnZP2SH9ijtgHHOzVX1/6yQs26AYqtPr+4cxZsSD3bm3Fphq2awLX06GKtgzQ8RR6xWW83F+sA+IiKeW5CM/vcBLJ6qNOlEF6jYlnUKuNN3XEG/WR1EIfH4uVVfH5kHenLl198KR/8Vu4RC8QCa28S8UbhJCuer+0HO8mx3/ACzmxtaFmDY4qtebeGDQjr92MInd0X1qovybrpn2/hPKPbVXCpmJhZQtU2AWJvgBx8cQxw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=google.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=Hvso3/X6AUqqRquNnZnjSNR7EFPfVLWUVXjHPHcVjqM=; b=sdfAoNsK847wFuXRE1wKihcUUSzk3VAwIygYzIUe767LNeUqN3WRynrP5uArDoXt7kcv63SX0QCT0ZbX5S+1aoZtbcDgY2q8O5eCa0AfnOJvo2Eyg8hO+Xe8SkcQSxBz6+00HnwyI1NTod88l/wq5QihP40JrQ6P5rREOKfkiS8= Received: from BN8PR16CA0011.namprd16.prod.outlook.com (2603:10b6:408:4c::24) by IA0PR12MB8349.namprd12.prod.outlook.com (2603:10b6:208:407::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.26; Mon, 24 Jun 2024 11:08:02 +0000 Received: from BN3PEPF0000B06D.namprd21.prod.outlook.com (2603:10b6:408:4c:cafe::3c) by BN8PR16CA0011.outlook.office365.com (2603:10b6:408:4c::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.38 via Frontend Transport; Mon, 24 Jun 2024 11:08:02 +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 BN3PEPF0000B06D.mail.protection.outlook.com (10.167.243.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7741.0 via Frontend Transport; Mon, 24 Jun 2024 11:08:01 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) 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; Mon, 24 Jun 2024 06:08:01 -0500 Received: from xhdthippesw40.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 24 Jun 2024 06:07:58 -0500 From: Thippeswamy Havalige To: , , , , , CC: , , , , "Thippeswamy Havalige" Subject: [PATCH 0/2] Add support for Xilinx XDMA Soft IP as Root Port Date: Mon, 24 Jun 2024 16:37:53 +0530 Message-ID: <20240624110755.133625-1-thippesw@amd.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Received-SPF: None (SATLEXMB03.amd.com: thippesw@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PEPF0000B06D:EE_|IA0PR12MB8349:EE_ X-MS-Office365-Filtering-Correlation-Id: e6b3b7a9-af5d-4ac4-4542-08dc943dea07 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|376011|82310400023|36860700010|1800799021; X-Microsoft-Antispam-Message-Info: 3iSptv4GFeTu/TY+bnAe1YV/Bp7TYOzkTnior1HMQSI9sOjMs3rSauLux0cGsMRWCgnEod2ZMSF0V+BFYnyIm03UCQhG5yA3JhAQLc/SvVLTJmGzm4QiGq2QU0p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J4/0VnVZzXkCd3ZrtTeR0HUEX2u/UkV9YcrnFDm12KFSF0S1u7y4rFjIUWrz4vf2RgkdCrkbTaDF75UPVKK76L/YhsBz0CBQamcuLT18/aoWqyAZvIiWSqH2nfT+FNkVsH0t3e/RTqnZ5nGahTYvRrskV1KQMHqC+OwDald/1MYIuna8ToxMvWrP17868WvCJ3DETy4A5TYHKYMAebX5STXhgHlUJKhFg== 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:(13230037)(376011)(82310400023)(36860700010)(1800799021);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2024 11:08:01.9403 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e6b3b7a9-af5d-4ac4-4542-08dc943dea07 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: BN3PEPF0000B06D.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB8349 This series of patch add support for Xilinx QDMA Soft IP as Root Port. The Xilinx QDMA Soft IP support's 32 bit and 64bit BAR's. As Root Port it supports MSI and legacy interrupts. Thippeswamy Havalige (2): dt-bindings: PCI: xilinx-xdma: Add schemas for Xilinx QDMA PCIe Root Port Bridge PCI: xilinx-xdma: Add Xilinx QDMA Root Port driver .../devicetree/bindings/pci/xlnx,xdma-host.yaml | 41 +++++++++++++++- drivers/pci/controller/pcie-xilinx-dma-pl.c | 56 ++++++++++++++++++++-- 2 files changed, 92 insertions(+), 5 deletions(-)