Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp517884pxk; Wed, 2 Sep 2020 07:48:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjDb85kqZUq5ebKvQO5eX42QI2IBEuZB7kJwC8r8oMAYPnKPbS12LPCClrJ92y+8YXrAfV X-Received: by 2002:a17:907:94c3:: with SMTP id dn3mr373698ejc.186.1599058133495; Wed, 02 Sep 2020 07:48:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599058133; cv=none; d=google.com; s=arc-20160816; b=sbdwA/lGrwGmMDBLYnxEssbnGbP7Qt97wJ9gJFkaz3QmRr88KEDaKkCpGLSWuUDnqs /LsbRhZ5dJpVzjBVMyqc05BEk4FsgEMseI26S3pBSpd/QXjjyqom2j4vupVBxGoVx2k2 rzl3I/C1RJgw++sRORc4h7yHmO1GwGL0s4fB5JoVyKNw6T/ixdH+AJWRunFhZv5SPnPv M7446oV5T+5g+TeuLdYDtuZX0Ge3tBpzNT1nzHU5eUvbFqZqYLoTCpqjGZSCRhk0LD6f BB9uUs3rMXfXALNBCAlPh8YqTEDigFyec2EViCJH6Vuqv0njCs5vxMYBlN2KWzD79IC/ Xz7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=m+PHTimgrlLgLUfaot7Fea2FA3tgFSRh2d+fBZrm2DA=; b=Uh/Pwfg3R7iOnWj/QDUAAcxVHu+3pAJqkQZPaQnoacYJU7O0UlusY7n4qXXgQd8Npn O8f3EIBLlPAej6/ebRWSpJUW5KPa5ECKSaxMp3QmEneMaOV2QXvFFV+65ORToCffYmAK GHQ3yUD6V1mpjXpbK6xHNh/n2Cz7/b0GeTEB3mfQzwwTSctPAM14pVXUVx1viag0CAZz qZhWvYgHw/sHINtuLptDt5Id4KqQn/vrY7+X9LJ5iinXEDvugJpU0CXe826EmzpeL1lM qZMerclLoIt6I1Q3m/b9/S+ni8a2n1oQg1UnryK7qE4boUDEscFQuNmUWNI7BquLzd63 viRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tL0jebnX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j20si2618553edt.233.2020.09.02.07.48.29; Wed, 02 Sep 2020 07:48:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tL0jebnX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727993AbgIBOpn (ORCPT + 99 others); Wed, 2 Sep 2020 10:45:43 -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