From patchwork Thu Oct 20 01:29:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Ranostay X-Patchwork-Id: 13012526 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 194D2C4332F for ; Thu, 20 Oct 2022 01:31: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=qtNoe3VT7WRW6HLZDjxQ+0Cf427WXlbabXuTsAIN+ws=; b=M5ZTmGYNI41CIT 5AIdN+tycsqbgcAYGBE/jUY7pAPGhl7Ww6jI0O84ZvR05XoZbxUBZiOP6un+KNt8fdVPZFHrYavVC bRv9a41KamQgpiuMbWX5dFEryHjQkSf2ZP0v+0Dte8C7090SL1dlqqe2IfBhV36OCrw181qMH+fAH T4incxPHdBtkNwfVpfWOTP38jDjNu0OLPR3iWE+mc1Ey2L0bUDx/4QfAyDT6W8Zh/WIo/9SO1H8bb N6iQxRzKglJaJL3ApskLRYvw3kRA4al2EAAW2aBUqqzPzdKQ8RLn9PMJ8UiYRBT2NOs6kwmv8Jv1+ lXfEiUpHeNu2nOOFeJGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1olKNU-008sGX-Cj; Thu, 20 Oct 2022 01:29:44 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1olKNI-008sE9-Qc for linux-arm-kernel@lists.infradead.org; Thu, 20 Oct 2022 01:29:34 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29K1TGVm055708; Wed, 19 Oct 2022 20:29:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666229356; bh=jdBmBMAKAfCyULrXDEeWBmIWq3z+FL5IUe7zL433q18=; h=From:To:CC:Subject:Date; b=iP26jX28xjW/SB/V+Flvs/Uw1Y+dkw463SCJR2zNZxxVGQY6KUEYRL8sNhVIZGBUX AoGUOFa27ceaixFr5Nhur7e6efhR9zXjfmPQZ7Bf/MVyNCiItLu9FFWKfHraGm3aKQ mIuQ0lNekfV19VBVe9IGHNbtUAv61rk2ZxSQN+cA= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29K1TGDF051317 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 19 Oct 2022 20:29:16 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Wed, 19 Oct 2022 20:29:15 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Wed, 19 Oct 2022 20:29:15 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29K1TCDJ063951; Wed, 19 Oct 2022 20:29:14 -0500 From: Matt Ranostay To: , , , , CC: , , Matt Ranostay Subject: [PATCH v3 0/3] PCI: add 4x lane support for pci-j721e controllers Date: Wed, 19 Oct 2022 18:29:08 -0700 Message-ID: <20221020012911.305139-1-mranostay@ti.com> X-Mailer: git-send-email 2.38.GIT MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221019_182933_537118_6D694AEB X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. 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 Adding of dditional support to Cadence PCIe controller (i.e. pci-j721e.c) for up to 4x lanes, and reworking of driver to define maximum lanes per board configuration. Changes from v1: * Reworked 'PCI: j721e: Add PCIe 4x lane selection support' to not cause regressions on 1-2x lane platforms Changes from v2: * Correct dev_warn format string from %d to %u since lane count is a unsigned integer * Update CC list Matt Ranostay (3): PCI: j721e: Add PCIe 4x lane selection support PCI: j721e: Add per platform maximum lane settings PCI: j721e: Add warnings on num-lanes misconfiguration drivers/pci/controller/cadence/pci-j721e.c | 27 ++++++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-)