Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1206535ybi; Fri, 14 Jun 2019 10:24:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfq6r0CidclGSGF6/oklfmhZ3bv24VpRSkBLrfGVEG+jffco2jf7rYzEmro5jUDNSBKh64 X-Received: by 2002:a62:3447:: with SMTP id b68mr43008078pfa.67.1560533042450; Fri, 14 Jun 2019 10:24:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560533042; cv=none; d=google.com; s=arc-20160816; b=kvMOybO862DAJ1GRVtCVzTlQ2IF/yhAdcstjskKyCOOIMX8JCnSnINwcBgwlNDGTwk eM7j2KiG1rndYL5ETZo2xXOusT+rW7621UlpKd924X4ygBAHwZcB8mS+KRN+7euEAJox loeW/mfuQWYX0RDGcnsAdWDDw0aa75vHbiSVMFhTJEoBJUp06Gu9FYHrsoPbP91MNaqJ UrmJ+ol3C3gwHhWP2+JV3mIMfsbJSuGvzEE/sgGLRL7Gr0HoWcm1Eo8ujGMI7zYTCmn0 XHvG7OhzI9QbTYO6NqX+lCzA9M1eAaDeGaTe/B8VNmVliWKOy7X8A3u8y/ZEnb6Hekk3 04pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jzZPVNKvIqUnLAnTZJfqYcJAqoVMUTg4RgDz59BwLdo=; b=yBaWSpUg9HiBO681z1bKFrZb5pU8EiPazEzqHcDzNFJrFbFZk8Zpc/RtMOfRsXyI23 lzfwXiEDXHcAeun2HmuvrtkT9jEYJoUnr7tBh7rdZVu0Ph9nWJsZOz/1o/p2hClNXVGn 2Rhe72h1i84la2OeiLJK2w2O2VJx7SYXXkZeVlI3Vc93rYkky7YBsoJUgSWugYNsswj7 2OyeqESd80zT4UaPkQuo8GeXN6pcdh97G1LqgnectQMLg7sgwpiyUE+KE6/WrrG4uAdP Seh1cm1nNAXpOGA54LTiK/028pwFZ3c778oE5wfs+AN6s/l5uacnY+1n2TQRgDR157Oh zqCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="JpUb+/3G"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z72si3233741pgd.181.2019.06.14.10.23.46; Fri, 14 Jun 2019 10:24:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="JpUb+/3G"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726649AbfFNRXZ (ORCPT + 99 others); Fri, 14 Jun 2019 13:23:25 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42818 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbfFNRXS (ORCPT ); Fri, 14 Jun 2019 13:23:18 -0400 Received: by mail-wr1-f68.google.com with SMTP id x17so3324948wrl.9; Fri, 14 Jun 2019 10:23:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jzZPVNKvIqUnLAnTZJfqYcJAqoVMUTg4RgDz59BwLdo=; b=JpUb+/3G7vn8sY5/+Dq8rBZn6qOeoQXPV+rexL0ETfp4lK+SrRDqsnA+D6sfs03HIP 2V7vH+Lo1K6UMwx2qBpp+XBifHJadBX/7WVFtmeHSfmVmpHFSPq2Ll5f6DAs3mFXdizh /qL33pIFXYLoUi1mNITzoX+PJQxiwD4pnkkCOQcWG2Bax5KlZEzONEtIyalouBOgxnvL tGgNfmMyFm7YYA0mwUDuE0kAH+LwaPy/BHiW7LOhQX0cdIoeqWwMk1cZwcbdOXSLgN99 9qgR1hQCOwL5KWS94YPi/acIm1vwK2YyEVgoqJJ3bpFI+NYn7cH7fbvbDSKCZ1hhGiAY Bc1A== 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:in-reply-to:user-agent; bh=jzZPVNKvIqUnLAnTZJfqYcJAqoVMUTg4RgDz59BwLdo=; b=UjqZgpEkCd8ZRBGUvqGreOqckUzDgGS5qBrBvFV5QR2LuGD6zHhDG+R+4fd6OBe7H8 SLS89mQR4SOui3bAeyhYqqPAXaawyQjvbxFodT7YfIc1MwXBqZQPtM4ect1NQmFntAt9 Y/gsgZPjQkHKnlAyvfw08ocCbYfNI2bzRWVagRbGFZJxE3s0Fi+gZwmrLRRYaRSrdhhF l3fBghHs+Y9NVUQ6jmZE0sUd+cUyCVsKEtmY53y7AoutaWafPjGwdEPHlQeKa58+pMq/ RP1/3S83jROyODGQRCtFkVxJEGTtPHeOhc7KgkRxchu2fubGbH5aeqfOel3uoEJx1C4n 9HfQ== X-Gm-Message-State: APjAAAWE1Vkkwr0Y8HItRHj4PY1t/SKwj78DsvB/WlkmEYyr5qJhdhWX ni854ky4MpEhepD59mFarKs= X-Received: by 2002:adf:8044:: with SMTP id 62mr17657298wrk.20.1560532996451; Fri, 14 Jun 2019 10:23:16 -0700 (PDT) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id r12sm4387641wrt.95.2019.06.14.10.23.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jun 2019 10:23:15 -0700 (PDT) Date: Fri, 14 Jun 2019 19:23:13 +0200 From: Corentin Labbe To: Jose Abreu Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Joao Pinto , "David S . Miller" , Giuseppe Cavallaro , Alexandre Torgue Subject: Re: [PATCH net-next] net: stmmac: Fix wrapper drivers not detecting PHY Message-ID: <20190614172313.GA24955@Red> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 14, 2019 at 05:06:57PM +0200, Jose Abreu wrote: > Because of PHYLINK conversion we stopped parsing the phy-handle property > from DT. Unfortunatelly, some wrapper drivers still rely on this phy > node to configure the PHY. > > Let's restore the parsing of PHY handle while these wrapper drivers are > not fully converted to PHYLINK. > > Reported-by: Corentin Labbe > Fixes: 74371272f97f ("net: stmmac: Convert to phylink and remove phylib logic") > Signed-off-by: Jose Abreu > Cc: Joao Pinto > Cc: David S. Miller > Cc: Giuseppe Cavallaro > Cc: Alexandre Torgue Thanks for the quick fix Tested-by: Corentin Labbe