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 X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B61AC47423 for ; Fri, 2 Oct 2020 13:37:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 37825206E3 for ; Fri, 2 Oct 2020 13:37:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387964AbgJBNhW (ORCPT ); Fri, 2 Oct 2020 09:37:22 -0400 Received: from foss.arm.com ([217.140.110.172]:36202 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387717AbgJBNhV (ORCPT ); Fri, 2 Oct 2020 09:37:21 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 57BD530E; Fri, 2 Oct 2020 06:37:21 -0700 (PDT) Received: from e121166-lin.cambridge.arm.com (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 38BF73F70D; Fri, 2 Oct 2020 06:37:19 -0700 (PDT) Date: Fri, 2 Oct 2020 14:37:13 +0100 From: Lorenzo Pieralisi To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Rob Herring , Bjorn Helgaas , Miquel Raynal , Kishon Vijay Abraham I , Vinod Koul , Marek =?iso-8859-1?Q?Beh=FAn?= , Tomasz Maciej Nowak , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] PCI: aardvark: Fix comphy with old ATF Message-ID: <20201002133713.GA24425@e121166-lin.cambridge.arm.com> References: <20200902144344.16684-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200902144344.16684-1-pali@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 02, 2020 at 04:43:42PM +0200, Pali Rohár wrote: > This patch series fixes regression introduced in commit 366697018c9a > ("PCI: aardvark: Add PHY support") which caused aardvark driver > initialization failure on EspressoBin board with factory version of > Arm Trusted Firmware provided by Marvell. > > Second patch depends on the first patch, so please add appropriate > Fixes/Cc:stable@ tags to have both patches correctly backported to > stable kernels. > > I have tested both patches with Marvell ATF firmware ebin-17.10-uart.zip > and with upstream ATF+uboot and aardvark was initialized successfully. > Without this patch series on ebin-17.10-uart.zip aardvark initialization > failed. > > Pali Rohár (2): > phy: marvell: comphy: Convert internal SMCC firmware return codes to > errno > PCI: aardvark: Fix initialization with old Marvell's Arm Trusted > Firmware > > drivers/pci/controller/pci-aardvark.c | 4 +++- > drivers/phy/marvell/phy-mvebu-a3700-comphy.c | 14 +++++++++++--- > drivers/phy/marvell/phy-mvebu-cp110-comphy.c | 14 +++++++++++--- > 3 files changed, 25 insertions(+), 7 deletions(-) Applied to pci/aardvark (both patches), thanks. Lorenzo