From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14CD6CA0EDB for ; Mon, 11 Sep 2023 21:41:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237924AbjIKViQ (ORCPT ); Mon, 11 Sep 2023 17:38:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238275AbjIKNxC (ORCPT ); Mon, 11 Sep 2023 09:53:02 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAAC6CD7; Mon, 11 Sep 2023 06:52:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694440378; x=1725976378; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hhntH08KwDzWZFhlYntAoxLtfPyiIglkNSydQprvVBY=; b=TN4VkARBloF1tiBtbsuxmRKUY6OeKjFmMYU8IO75e54lAg8kvBqUoe+n GudbJY1ag2rVP520IrVYRAkzmoRmkoORoiG4isDInRFEj3cjGjJptcYu6 22hFcYkyuYajZYRLaEn1At50nyEZxfdzZ/waai0hQ84IhV+buSO7eZ5Xw TnwIgksQt9wCEPHRmRuZbQihluiqXZX8Pfq7Ii5V/HJy1BpyKUb6LbYiO MtaoKyM1WsL5A+7bNvoC8MWZFVmjmKw5wI8A3avhVv9KnVW1XOh/Fg9+z pxMSZs58tLgq3YA67WxQADAnEFPJIPBU3rbwsGA16LJn2jTMd5tZ+k8O1 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="357525627" X-IronPort-AV: E=Sophos;i="6.02,244,1688454000"; d="scan'208";a="357525627" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Sep 2023 06:52:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="772592740" X-IronPort-AV: E=Sophos;i="6.02,244,1688454000"; d="scan'208";a="772592740" Received: from unknown (HELO bapvecise024..) ([10.190.254.46]) by orsmga008.jf.intel.com with ESMTP; 11 Sep 2023 06:52:55 -0700 From: sharath.kumar.d.m@intel.com To: lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, linux-pci@vger.kernel.org, dinguyen@kernel.org Cc: linux-kernel@vger.kernel.org, D M Sharath Kumar Subject: [PATCH v3 0/2] PCI: altera: add support to agilex family Date: Mon, 11 Sep 2023 19:23:30 +0530 Message-Id: <20230911135332.1777342-1-sharath.kumar.d.m@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230906110918.1501376-2-sharath.kumar.d.m@intel.com> References: <20230906110918.1501376-2-sharath.kumar.d.m@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org From: D M Sharath Kumar added new callback for 1) read,write to root port configuration registers 2) read,write to endpoint configuration registers 3) root port interrupt handler agilex and newer platforms need to implemant the callback and generic root port driver should work ( without much changes ) , legacy platforms (arria and startix) implement configuration read,write directly in wrapper api _altera_pcie_cfg_read/_altera_pcie_cfg_write changelog v2: saperated into two patches 1.refactored the driver for easily portability to future Altera FPGA platforms 2.added support for "Agilex" FPGA this driver supports PCI RP IP on Agilex FPGA, as these are FPGA its up to the user to add PCI RP or not ( as per his needs). we are not adding the device tree as part of this commit. we are expecting the add device tree changes only if he is adding PCI RP IP in his design changelog v3: incorporate review comments from Bjorn Helgaas D M Sharath Kumar (2): PCI: altera: refactor driver for supporting new platforms PCI: altera: add support for agilex family fpga drivers/pci/controller/pcie-altera.c | 305 ++++++++++++++++++++++++--- 1 file changed, 275 insertions(+), 30 deletions(-) -- 2.34.1