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.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 F337DC4741F for ; Wed, 30 Sep 2020 18:19:12 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9CA6720738 for ; Wed, 30 Sep 2020 18:19:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fsx6haha" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9CA6720738 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eLhjY9KynYN4kanB7bvxWeGyNI2SVZf3fLiywUr0El0=; b=fsx6hahaVE9AMouDkTSEDYuDi Yu/E7mt01LU2u3+M/ac2h4TdykUYuxBzExZri96n1OibXYc0Tup3nM0q4I5bln4Fj2ye8GpxFdcOH EiOmOAHbFFprjzPR0nchBjd65sxxLX2ZFzofq6HdPrhryC3SDd3DLBWi4ZI7U6LR/tREeVFv6FWjE ZAuZDwPHYjoIPSDjvhFA5MmswaU722phLOaFSYRoOcu/+YL8FjDzARRMWhU0+YZBTXhoXYcjChmdR vazAd30zTxj3F4caDYoCtpgrfgkjz4+UQdJA7BpTuHJoMOJF4EbHHRzUX4cZKnHNJQS671iTqqm7r b8/BrccSw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNgft-0001Vp-KT; Wed, 30 Sep 2020 18:17:57 +0000 Received: from mail-oi1-f193.google.com ([209.85.167.193]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNgfr-0001VN-FX for linux-arm-kernel@lists.infradead.org; Wed, 30 Sep 2020 18:17:56 +0000 Received: by mail-oi1-f193.google.com with SMTP id z26so2710694oih.12 for ; Wed, 30 Sep 2020 11:17:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=nyVHCEZSb4xAzOTonu3fC1754/xWgp4JRFM8+C/J4m4=; b=STt1pp1egBEkP1poejKmc7r0Q0jIpyS+WjhHcSuAK4hqQeea/6RvqALK2UyYPoYapL 3FWE7Z23mBjOKiPXdj34qJ6Ybt96aWcAG282sA4cWACxyLEpANJO5DuJwzmXKyU45RFe ttwzkkkHOHmSEY9S5oCJnq5FDTvqy/8q17ozCLhFYdLcGPmmG+TJOnissO8Pcgm4Fvic 7DcrBLuhuJSX0oE7KOg29xmOZ61NdBq6ksTfnolLVnfFKUwPjLixt1HfoAIY95nH3iQw epB1D8RHMbV+WQdk4gOT97G3rdPzJH6cDNUcSM8Ra/CygY+e1SREf5SWfTWvqnAmrjMX zySg== X-Gm-Message-State: AOAM532jMC/p5nYw6ameRf7h3nz1SxQcwngDYLc/hwEvtgbzGSAlh1/g eFBYRhbcUia7iZ93AJYt+w== X-Google-Smtp-Source: ABdhPJw3WF6ewaZyUPa2K9FB5ROq3VPG9k/hedYrUzbsxjGrH/jCmJv84HB9KQVTHE3M3Y/gLXEwcw== X-Received: by 2002:aca:f412:: with SMTP id s18mr2181254oih.100.1601489874677; Wed, 30 Sep 2020 11:17:54 -0700 (PDT) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id m22sm539978otf.52.2020.09.30.11.17.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 11:17:53 -0700 (PDT) Received: (nullmailer pid 3170463 invoked by uid 1000); Wed, 30 Sep 2020 18:17:53 -0000 Date: Wed, 30 Sep 2020 13:17:53 -0500 From: Rob Herring To: Pali =?iso-8859-1?Q?Roh=E1r?= Subject: Re: [PATCH 2/2] PCI: aardvark: Fix initialization with old Marvell's Arm Trusted Firmware Message-ID: <20200930181753.GA3170411@bogus> References: <20200902144344.16684-1-pali@kernel.org> <20200902144344.16684-3-pali@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200902144344.16684-3-pali@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200930_141755_529139_0A7C0C18 X-CRM114-Status: GOOD ( 14.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tomasz Maciej Nowak , Lorenzo Pieralisi , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Marek =?iso-8859-1?Q?Beh=FAn?= , Vinod Koul , Miquel Raynal , Bjorn Helgaas , Kishon Vijay Abraham I , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 02 Sep 2020 16:43:44 +0200, Pali Roh=E1r wrote: > Old ATF automatically power on pcie phy and does not provide SMC call for > phy power on functionality which leads to aardvark initialization failure: > = > [ 0.330134] mvebu-a3700-comphy d0018300.phy: unsupported SMC call, try= updating your firmware > [ 0.338846] phy phy-d0018300.phy.1: phy poweron failed --> -95 > [ 0.344753] advk-pcie d0070000.pcie: Failed to initialize PHY (-95) > [ 0.351160] advk-pcie: probe of d0070000.pcie failed with error -95 > = > This patch fixes above failure by ignoring 'not supported' error in > aardvark driver. In this case it is expected that phy is already power on. > = > Signed-off-by: Pali Roh=E1r > Fixes: 366697018c9a ("PCI: aardvark: Add PHY support") > --- > drivers/pci/controller/pci-aardvark.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > = Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel