Message ID | 20230513184620.2200916-1-a-verma1@ti.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp5933283vqo; Sat, 13 May 2023 12:18:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5fpMnLhQvl9Gw7BELbuQHeYO/rNK6SMxKIhGQpeeg8KR8T6cA3GSdxluvXWddBv5GSgVE9 X-Received: by 2002:a17:902:b94c:b0:1a9:8769:36b7 with SMTP id h12-20020a170902b94c00b001a9876936b7mr28876283pls.5.1684005502976; Sat, 13 May 2023 12:18:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684005502; cv=none; d=google.com; s=arc-20160816; b=qP+2dItuvOG5UcuhN+zYW09WPyVrmBLq1zd5ZuIj25b2MVQiJkgpVKYSuF+ALgEUCZ 8CR5jN2LurHacI1fI7Pk8s2ToJwp6vAn0G1Nd9LhyzoTlUauLZ16rcrepApxWNZr6Pl5 pFAZNURBsSbi8toghbnEF/2yYalc3HHzX/CDVqFKU+aq/g1igxi1C9v/twUnuYPfTmul 0bHi8NDyKhwZNcM39l7psNMWGJPuYkPqtGTY0lZTt4HtCJq5/9XDUP1a4EJsEUtyxPV0 I15At644UTAdTt5Nq6OZjU9bZKBmbVsCKx/L6X8ZipLUofEd8UcPjAN3W5Qr1H53FSez tYOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=FoD2T3LojdIzEds4W1JZPhABIQecZl+CEOroidmMWKs=; b=pz54pido6DnKZgs4HkM4rSpV6t8cttTwUYZ+2LqhszWL5tgSxjV/0phNI8udc91RzE 0xtNkKRpAnAkMzt/JUFxuuqrDx8RYrmlUPh6JZUTf63OYK9x6sCXuQxknLmtj2WgyUo8 Mxcux/aptAZnyuqJ3IN+WYsF0N5YhzVsEYausdRnkj9bqVO6YewYHPsmy+GhzjMBHz0t XVLum4xn5a3XlvWjo207okttNyCfqfxegji6xHhs73yZtndnIGYAkKn4ntkyFRNnTiDG bn/JJbQeFpwCbYj+/Uk7MmCgvPSom8oGFVuVX5i7eT45uwXacksoIiAhYLiqpH+RqFip EqAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=uz8a3RiY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020a170902d50300b001aae905065csi12597897plg.284.2023.05.13.12.18.10; Sat, 13 May 2023 12:18:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=uz8a3RiY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233621AbjEMSqp (ORCPT <rfc822;peekingduck44@gmail.com> + 99 others); Sat, 13 May 2023 14:46:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232059AbjEMSqm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 13 May 2023 14:46:42 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F55F1FE7; Sat, 13 May 2023 11:46:41 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 34DIkL9a020730; Sat, 13 May 2023 13:46:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1684003581; bh=FoD2T3LojdIzEds4W1JZPhABIQecZl+CEOroidmMWKs=; h=From:To:CC:Subject:Date; b=uz8a3RiY9TyGP5pnTVrhaZ8sq+IvG+inSf9WoNqT+VzghcDbKgsClSKBLbk3NVt// ZxJC6x/RZFODa/mPJ3P5EaBXk3VQJXl/NjTMQXL/2/kE8hxKJtjRtDhQBDCGY8olj9 dADVj6t0l6/Am0IH01DvQy5YxvkODCDadd+2lADg= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 34DIkLYp011316 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 13 May 2023 13:46:21 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sat, 13 May 2023 13:46:21 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Sat, 13 May 2023 13:46:21 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 34DIkKun128428; Sat, 13 May 2023 13:46:21 -0500 From: Achal Verma <a-verma1@ti.com> To: Tom Joseph <tjoseph@cadence.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, Krzysztof Wilczy_ski <kw@linux.com>, Rob Herring <robh@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>, Vignesh Raghavendra <vigneshr@ti.com>, Nishanth Menon <nm@ti.com>, Milind Parab <mparab@cadence.com>, Swapnil Kashinath Jakhade <sjakhade@cadence.com> CC: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-pci@vger.kernel.org>, <linux-omap@vger.kernel.org>, Achal Verma <a-verma1@ti.com> Subject: [PATCH 0/2] Add support to build pci-j721e as a kernel module Date: Sun, 14 May 2023 00:16:18 +0530 Message-ID: <20230513184620.2200916-1-a-verma1@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765807753860763576?= X-GMAIL-MSGID: =?utf-8?q?1765807753860763576?= |
Series |
Add support to build pci-j721e as a kernel module
|
|
Message
Achal Verma
May 13, 2023, 6:46 p.m. UTC
J721e PCie driver is not required during linux boot, thus it should be build as a loadable kernel module. This series add support to build pci-j721e driver and pcie-cadence library as lodable modules. Changes from v1: * Reword subject line to use PCI in place of PCIe to maintain consistency with older commit messages. * Fix word wrapping in commit message to 75 columns and add newline between paragraphs. * Drop PATCH 3 (defconfig changes) from v1 and will repost it separately. Achal Verma (1): PCI: j721e: Add support to build pci-j721e as a kernel module Kishon Vijay Abraham I (1): PCI: cadence: Add support to build pcie-cadence library as a kernel module. drivers/pci/controller/cadence/Kconfig | 12 +- drivers/pci/controller/cadence/Makefile | 2 + drivers/pci/controller/cadence/pci-j721e-ep.c | 130 +++++++ .../pci/controller/cadence/pci-j721e-host.c | 204 +++++++++++ drivers/pci/controller/cadence/pci-j721e.c | 343 +----------------- drivers/pci/controller/cadence/pci-j721e.h | 88 +++++ .../pci/controller/cadence/pcie-cadence-ep.c | 4 + .../controller/cadence/pcie-cadence-host.c | 5 + drivers/pci/controller/cadence/pcie-cadence.c | 9 + drivers/pci/controller/cadence/pcie-cadence.h | 4 +- 10 files changed, 466 insertions(+), 335 deletions(-) create mode 100644 drivers/pci/controller/cadence/pci-j721e-ep.c create mode 100644 drivers/pci/controller/cadence/pci-j721e-host.c create mode 100644 drivers/pci/controller/cadence/pci-j721e.h