Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1046366pxb; Sat, 16 Jan 2021 17:02:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjcC6lZbap/Tt9Z//xXrjP4OY+T2/iMeT8sHDwZCQEpvdKLqKwuyq4yhVKfIMxY0czUcG9 X-Received: by 2002:a17:906:6bca:: with SMTP id t10mr4263539ejs.35.1610845328505; Sat, 16 Jan 2021 17:02:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610845328; cv=none; d=google.com; s=arc-20160816; b=qNd+r+nzd+lfLptuMiR71yRQYD39XLhJhbGls6DmRT35/ohvvalG6ooEd8MDwZKSjI bKtpJ4Ze5ulaQUDY+I2JXzFqo4vFfUflRhsJut66+3VIPoJXOa8UnuY0gqjqo35W1Ax5 wCg3O4Afb3/23mQywC9Ub+gG0D291WXww1tVSfG2GommgsISsutiDEgcOYJLEoHgkXWl NoDcNYYXT7hZoJqcFQDAL/LhDyMpe7vA1Sk1cBzsJrlXDEEsiUadJ7OHgL8p9sbLKhti QyD+LfH0S231T8kV53VXMd0JgMw/aBda6B6+hFhMTB932S6TXOYhYHOXrZ0BSLoQx0D2 zVKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=aKTcsOGhYmZSxAztNTlt0Y6m0IVpcYn2Y2vzXIB7O7A=; b=OCD2JPkRCObKKihTsRqUOExOvuavlIW5GhzQNaCciZ4XxuY6Ew59hQwBJ4rHlBxLRM sihah6Y6CbflLiGMx2DwhKCEUed/cdn6FDD9aJldIPGPxO2O9z1YbjJOf/ez+PgeAZCd d7dsKy0f8LKLmrfWJTrMXopktg6R8KmQq2x0IR/mL8GYFqSwYWVPf4CgpTo2VLCrrE7x DMT74TCJEwIoIc9Jwu9Ppf+as6735slKhTjO8aamMjOVVUuqs5orzC7BA7P+p9Wnmakh 3sJ1cR7D9Z4IAcTq47f78PGXXoR/aFy6FH/35O9A54Z2SGVH24zF5g4G64w3S1vvF+dD 5TMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gobF7UkZ; 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 c3si1778891ejb.238.2021.01.16.17.01.43; Sat, 16 Jan 2021 17:02:08 -0800 (PST) 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=k20201202 header.b=gobF7UkZ; 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 S1727655AbhAQA77 (ORCPT + 99 others); Sat, 16 Jan 2021 19:59:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:51998 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726788AbhAQA74 (ORCPT ); Sat, 16 Jan 2021 19:59:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 297F722BEA; Sun, 17 Jan 2021 00:59:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610845155; bh=tSvaCGk0aGCNFtliffn2jp5B4ukLkm0tvq5XS8ex8ms=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gobF7UkZ6zQb7p6QOThEsdi2tUKlW+6yOgTW721zh8mn/M0OmYbuIQcKbWHxpBmub 31ZxlQgLccAavCrPdPeqvk2z4zMPR1tbi9xtiY3r3QzA7gXmUZyL3856d0odD6w2AU urKIdPrGaikuDtLUHipcnhiXbhkW8zSC49wgVgEePupvomUQ9jFr+SuocseRoh3Gbf MrnJclJJdgFdmhDnD6vO8VRD2i16xzKxsJyg6GXbuZ+JWhNVk3vLMqKnugAauaZ21j EGFXLf094z5XiyxHdafrOaGavgxbCodtvA1yIQdURqCmNxQcz2mjFvjEe43L/voBHR XbspO/7N4mmyg== Date: Sat, 16 Jan 2021 16:59:14 -0800 From: Jakub Kicinski To: Jan Kiszka , Greg Kroah-Hartman Cc: Wong Vee Khee , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Maxime Coquelin , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ong Boon Leong , Voon Wei Feng , stable@vger.kernel.org Subject: Re: [PATCH net-next 1/1] stmmac: intel: change all EHL/TGL to auto detect phy addr Message-ID: <20210116165914.31b6ca5f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: References: <20201106094341.4241-1-vee.khee.wong@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 16 Jan 2021 10:12:21 +0100 Jan Kiszka wrote: > On 06.11.20 10:43, Wong Vee Khee wrote: > > From: Voon Weifeng > > > > Set all EHL/TGL phy_addr to -1 so that the driver will automatically > > detect it at run-time by probing all the possible 32 addresses. > > > > Signed-off-by: Voon Weifeng > > Signed-off-by: Wong Vee Khee > > This fixes PHY detection on one of our EHL-based boards. Can this also > be applied to stable 5.10? Sure. Greg, we'd like to request a backport of the following commit to 5.10. commit bff6f1db91e330d7fba56f815cdbc412c75fe163 Author: Voon Weifeng Date: Fri Nov 6 17:43:41 2020 +0800 stmmac: intel: change all EHL/TGL to auto detect phy addr Set all EHL/TGL phy_addr to -1 so that the driver will automatically detect it at run-time by probing all the possible 32 addresses. Signed-off-by: Voon Weifeng Signed-off-by: Wong Vee Khee Link: https://lore.kernel.org/r/20201106094341.4241-1-vee.khee.wong@intel.com Signed-off-by: Jakub Kicinski It's relatively small, and Jan reports it makes his boards detect the PHY. The change went in via -next and into Linus's tree during the 5.11 merge window.