Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1978622rwr; Fri, 21 Apr 2023 02:22:26 -0700 (PDT) X-Google-Smtp-Source: AKy350ZERd1LWpd5WtH7PyfP1GTnkwT9msKK4OxPrXhzOaUpzCR2ejrJ65mHdhfOIMYnL7ijZKF1 X-Received: by 2002:a05:6a00:a92:b0:63b:2102:a1d4 with SMTP id b18-20020a056a000a9200b0063b2102a1d4mr5241331pfl.13.1682068945758; Fri, 21 Apr 2023 02:22:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682068945; cv=none; d=google.com; s=arc-20160816; b=jTKemlkHuELrFnObLJKqPJ2xvKw67vxLBBBf18CiSqCQSuDoyFpgMdmus8jJEqchng LaweHRR4R3b8fAsGiFIOpN4ehI/o1a9v+GB07CpgGw9tLsgVr7G6RwmITAGC0752GfPc 2JGw0cY9920X5hLEAABYhrfZ0Iv+GacV5f0vMlURttUHaS+xvGuklX/7onnVVdyqmGzz Fis+wq0oDadYkfCvcKOdXrlZlNGkkg6kguklmNOKyaN43i3yWfyosvek0Qe6dypsIaEY cWYBKH9Yf64UZAebZC2/XFuWc5FO/59DIQ02lIS0iKAvc8W8ldD9j7ItQzbX1GHBsdzT jgUg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jEF9W1/6egO8EWJr9hgpjl2CCiuPcy50Wju0rsDzHVE=; b=M64Nl/Nxev+OnJcSHImbSkl8pSZTwKb6ImVpk8g9QlvDprMmSatYVJiEwBH14/pzO0 kxuU3ofJMiZexK2Eodncccy+JNpPXwqLCnQpJFPvJM17HbqjiqgulvNI2CJARo/GYUKP fKpqnIP8/YczavPF7RzId0ev1bE2TsBdcgWcVakDrPCJKeNvJ/kRJLMqA1GI5Hgb7OYe Syw946GhrhefFBoskxUu17IGO72S7iuHzr/pGh20EPv968R1CY7GKf9HKaqKlBO3l8vS 59yP+2QzjtTqV33tODtKlLEwl5SBq/v1ih7l0lFDFJRF8vp5F8i8w6LTNo17pio6b9h8 Kcrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="HnxCzY/f"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d1-20020a621d01000000b0062794514e85si3835302pfd.376.2023.04.21.02.22.13; Fri, 21 Apr 2023 02:22:25 -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=@kernel.org header.s=k20201202 header.b="HnxCzY/f"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231476AbjDUJJd (ORCPT + 99 others); Fri, 21 Apr 2023 05:09:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230480AbjDUJJb (ORCPT ); Fri, 21 Apr 2023 05:09:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89F4D1B1; Fri, 21 Apr 2023 02:09:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1DBE664EAE; Fri, 21 Apr 2023 09:09:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B13CC433EF; Fri, 21 Apr 2023 09:09:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682068169; bh=VCPEu+xt9KicucItLEUpvnOVJheKg0NzwoZBIA+/Eyk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HnxCzY/fmW73ctJv/i0sjGtgquKsDr0J9kYzqljAwycgah/KuPkJWbTHWpZEHubc5 aU+jg5FAPvueIcN5XWBgDfCogy31nqrc5KETCP9cHD4RUiXjySifgOsoiPvJyYPy++ 8o6BAePNG+p6ItB37BgOVvRzGa/p0io5EnQtLcW3dbtyln8r54A4Pd0HYMPqRfxIrk tUaxnBOf33LtlqJFhZm8XUQyYf+gRP2loZE6YN6hIkXNOO3a2nKtyQBj/gbnBpN33E BkYEPTh/FOI9OUa3T/C4NoeCCTA8NuaQP2oo6OoQwaVbwU7xCsevEYAsGsuzSHfcot HeFrTilNDwyXw== From: Lorenzo Pieralisi To: tjoseph@cadence.com, robh@kernel.org, kw@linux.com, bhelgaas@google.com, nadeem@cadence.com, Siddharth Vadapalli Cc: Lorenzo Pieralisi , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, vigneshr@ti.com, srk@ti.com, nm@ti.com Subject: Re: [PATCH v2] PCI: cadence: Fix Gen2 Link Retraining process Date: Fri, 21 Apr 2023 11:09:22 +0200 Message-Id: <168206814625.77926.12605918077768300523.b4-ty@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230315070800.1615527-1-s-vadapalli@ti.com> References: <20230315070800.1615527-1-s-vadapalli@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 15 Mar 2023 12:38:00 +0530, Siddharth Vadapalli wrote: > The Link Retraining process is initiated to account for the Gen2 defect in > the Cadence PCIe controller in J721E SoC. The errata corresponding to this > is i2085, documented at: > https://www.ti.com/lit/er/sprz455c/sprz455c.pdf > > The existing workaround implemented for the errata waits for the Data Link > initialization to complete and assumes that the link retraining process > at the Physical Layer has completed. However, it is possible that the > Physical Layer training might be ongoing as indicated by the > PCI_EXP_LNKSTA_LT bit in the PCI_EXP_LNKSTA register. > > [...] Applied to controller/cadence, thanks! [1/1] PCI: cadence: Fix Gen2 Link Retraining process https://git.kernel.org/pci/pci/c/eac223e85208 Thanks, Lorenzo