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=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT 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 21947C433E2 for ; Wed, 2 Sep 2020 14:45:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F24F8207D3 for ; Wed, 2 Sep 2020 14:45:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599057955; bh=PKHjUtAreXfWb++VphGeoWKV+TcuA+RY4EiaozG6fBk=; h=From:To:Cc:Subject:Date:List-ID:From; b=d85iYqJAhXWiSqX3RvSzbFuo09nc+UVunbaNYpoDL7MP/jTU4oDW5kYaLNfr2ZksW j3gz8r5LZSKdFcjZx/89clD3IdvCWOhy/EAKXM0YDXpn9whjB0DAnUob/y0f3poPPB HYlvhbB2Hgh+Tm3dy8zxY4RBuoYuA5yLMBCsOyTw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727998AbgIBOps (ORCPT ); Wed, 2 Sep 2020 10:45:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:59168 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727924AbgIBOo2 (ORCPT ); Wed, 2 Sep 2020 10:44:28 -0400 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 54F7320767; Wed, 2 Sep 2020 14:44:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599057847; bh=PKHjUtAreXfWb++VphGeoWKV+TcuA+RY4EiaozG6fBk=; h=From:To:Cc:Subject:Date:From; b=tL0jebnX5Prxdd++Cm7XmzFmxmOr88Sg43klka4x49j57xFUpqR5AmDWbQh6VE6lf bPND0fKd3z38QErZUJkQBn+6HxsLtZj+dFbO5LBDEsLH7fjyIRf0cYnoTNvv2OZ8hG bTfUzk0ZPTALjYJvIeiC19QBRJVLUDYyKsxbTaGM= Received: by pali.im (Postfix) id E7D777BF; Wed, 2 Sep 2020 16:44:04 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas , Miquel Raynal , Kishon Vijay Abraham I , Vinod Koul , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Tomasz Maciej Nowak Cc: linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] PCI: aardvark: Fix comphy with old ATF Date: Wed, 2 Sep 2020 16:43:42 +0200 Message-Id: <20200902144344.16684-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.20.1