Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1377510pxk; Fri, 2 Oct 2020 08:08:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgFsx3dELh9KgbrQp/NSnTxEqQkz+dxCpn7SdW15RTfTCD9/tmknuWSSB2mnCnudOqcxAX X-Received: by 2002:a17:906:2604:: with SMTP id h4mr2686881ejc.26.1601651332529; Fri, 02 Oct 2020 08:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601651332; cv=none; d=google.com; s=arc-20160816; b=EDjiAk0OJlFvS0u0Y3urkB+6wAlbOyY8vDfjDZ46KUQavJIzHGDmMUCjPBaaX+OeSs VCA4U+VK4gIokGuKpvRxTjFSSLFX4UQSL3GvYReZI1GmS/sr3OAk0w62Dj/Wbnl01R21 VKkpQ3CDimJCtM4A98POoipsr1pBec80fwfOvqpma1A8wBhrZlTpKZB2ZYM0tbF5lEJ/ PbooLz7l3jUInpU3zxE8tld0uJI939Pa3kT6etsjo7SQ86bX8yMR+ABXdF6heZf3fE1z Eu6+aq14JFc077IWI590ceMznzfs4lEoBJv927HFPpdzpTrIn+k6XOUw4cGqHyZhSPgo U76A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4LWtqZa6RNKLRTyShuRUOdWAQ7q5wocGjGgddZZCm4M=; b=d/Up0Pte6ZcadTx0FvJS6xWpvSNZw+aAllE10+fa5pWECtR6DMyi3jXD+GmyC0Saxo 4qHFxluGex8MivYIj/OPzBqur7daMw+BEOWVmo8K9SQmuZvkZGc8at8cUHInZmVc55gz l27fEeyFjwwAu4AVqnntdm3Qn1Ucqb7VvTke69niz4w6sIle4wN9mvNJrLgbouJA2LBX wmfuWnxqGjiVB6yOrygLB8ZXlxuRlkPWZxMl0Npp4njkURgYJg7U6vkWoqdo2z7N69q3 iUwqEjDVMPbo+Xo5dUEAB0QXfXdSB8r9zohNFepI/EA8hU9pDjWOJ6bmm8JQRnk+o/zg /2JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jqwpMUkb; 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 cd7si1308045ejb.433.2020.10.02.08.08.28; Fri, 02 Oct 2020 08:08:52 -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=jqwpMUkb; 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 S2388226AbgJBPHF (ORCPT + 99 others); Fri, 2 Oct 2020 11:07:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:51866 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388169AbgJBPHE (ORCPT ); Fri, 2 Oct 2020 11:07:04 -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 D124A206CA; Fri, 2 Oct 2020 15:07:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601651224; bh=lPmxsNvPQckyNK0W5rno7Rz65VQ55u3DSvZaGGDIQ3g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jqwpMUkbAPxWWqZPnN19bUyl6xtu4tDndxoJMXMqIT4zRw3YoX8kHwiXHVwNjzNno 6rFQb3T9uswM2UzXd594nS5rNh8tA+qd7teIfcCD2TJ0hG0+iZGDiu8AATD3woj7E2 nnmPQEuV4HRdyiahRI9E+/jMUzLjECoVca/r4REo= Received: by pali.im (Postfix) id 4327FE79; Fri, 2 Oct 2020 17:07:01 +0200 (CEST) Date: Fri, 2 Oct 2020 17:07:01 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Lorenzo Pieralisi Cc: Rob Herring , Bjorn Helgaas , Miquel Raynal , Kishon Vijay Abraham I , Vinod Koul , Marek =?utf-8?B?QmVow7pu?= , 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: <20201002150701.bvatgxygq4rjssly@pali> References: <20200902144344.16684-1-pali@kernel.org> <20201002133713.GA24425@e121166-lin.cambridge.arm.com> <20201002142616.dxgdneg2lqw4pxie@pali> <20201002143851.GA25575@e121166-lin.cambridge.arm.com> <20201002145237.r2troxmgbq2bf3ep@pali> <20201002150300.GA25684@e121166-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201002150300.GA25684@e121166-lin.cambridge.arm.com> User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 02 October 2020 16:03:09 Lorenzo Pieralisi wrote: > On Fri, Oct 02, 2020 at 04:52:37PM +0200, Pali Rohár wrote: > > On Friday 02 October 2020 15:38:51 Lorenzo Pieralisi wrote: > > > On Fri, Oct 02, 2020 at 04:26:16PM +0200, Pali Rohár wrote: > > > > On Friday 02 October 2020 14:37:13 Lorenzo Pieralisi wrote: > > > > > 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. > > > > > > > > Ok! For second patch would be needed to put CC:stable line with > > > > specifying prerequisite of first patch as written in document: > > > > > > > > https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html > > > > > > > > If I understood it correctly, second patch needs following line: > > > > > > > > Cc: # : comphy: errno return codes > > > > > > > > where is commit id of PATCH 1/2. > > > > > > > > (correct me if I'm wrong) > > > > > > > > Now when first commit has commit id, could you update second commit to > > > > include this information about prerequisite? > > > > > > No I can't because they will be merged at the same time. > > > > And it is a problem? Git commit id of first patch would not be changed, > > so referencing to it is now possible from second commit (unless you do > > rebasing). > > > > > What we can do is mark the second patch for stable > > > > This is done by adding "Cc: " line to second > > patch which I suggested, right? > > I will apply the stable tag and dependency, it should be fine. Ok! I thought that according to stable-kernel-rules.html that dependent commit could be added after stable email address separated with # char. At least this is how I understood stable-kernel-rules.html and its section: "Additionally, some patches submitted via Option 1 may have additional patch prerequisites which can be cherry-picked." > Please ensure you follow up stable updates especially in case patches > don't backport properly (ie please try). No problem, I can monitor emails about backporting these patches. > Lorenzo