Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp1032204lqp; Thu, 23 May 2024 07:16:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWmEwDXOZnPdFOZfWq0VbjeIh6hlH27C4rlZ3sfFzcBfA+gv2xCC0DuIyAToWVCdJWP0sTkgb8t4B3LqqlyOf4LxdmeOpF2NiplYjVPiQ== X-Google-Smtp-Source: AGHT+IG5VQD1wWevF1svziFqXsIkPBwG1qNlDyT6TAzrOuGh9SSh36Naiu6i2G6hdowyx6y5G5y7 X-Received: by 2002:a17:906:6bcb:b0:a59:cb29:3fa8 with SMTP id a640c23a62f3a-a62280b0264mr519674966b.14.1716473780742; Thu, 23 May 2024 07:16:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716473780; cv=pass; d=google.com; s=arc-20160816; b=prnsLI99bW640eS5krfiXwc7bnhcXfPI5Ebxlm9EA2IBYr3JnNDCK6Pgd1pAcwvQpJ 7s5rRFP8UOapSxRkbHqU9VliejKLTVYx86fyA/MTj9jXEanE85UuxBBINFXA9wFy0293 yHBtmNKAlPPvqN97B71Z3cydjOcEY1tZYGZwjj8ZHBWrFJ5JRcDcVjI5sSTYFfuwEO9I nzt8YIaP4snmhVECOs+OqPBSgyVcaNX9G380Ym0gbGAfe3pzs9raYs0sOTub3FvFiLJY hv76o6KILYMedNGMLhGdLr2EuNWqDF0nIvoEjUUFVxtJalb2k3bXP4cD8kNV/tTA9BcE m/HQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=g+ebpXfO143PFW9N1XZMquOC4h2pBt/C1Sj6RJ/sCfs=; fh=sqJd3mSGRiG5Ke5Rthwd+xUzdvN7qbvHnjitQKYZs3k=; b=MQ0wjG0XyHPjxx1NrdyUYWNCxgvHIzvaW/i/O2rmlYvc8405SikTq7zO7aZ5F0p+3Q oM9vgA3wk85Z0k1XX2hSDUgirJodMZZloevXFG5FnkGkc3EqK2MEkTk9l9CvNtaCwWB6 76gCOYY4ETNFZD+rRfqdY7G8S1NjE5gnh0BNjxIPkes3FU8FGcUcyWClCZ69SHFjCGpP xEcl0ingMKzXErtdAsO7VZkh9ZdmPlJhegURuSx0aBE/7W5/NXpVI4Dswuo53c5fHXqX 6F4ilqZGViSQihzC/6f8IYGaKuV9ktPq5KSQdFvPHYrmizIvKo1MBFavk9YzIoG7oCSt m7bg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=SR1KH14X; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-187626-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187626-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17ba3bffsi1565522766b.581.2024.05.23.07.16.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 07:16:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187626-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=SR1KH14X; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-187626-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187626-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 178761F232F9 for ; Thu, 23 May 2024 14:16:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 82B7514B95F; Thu, 23 May 2024 14:16:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="SR1KH14X" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14B42433C4; Thu, 23 May 2024 14:16:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716473771; cv=none; b=A9boc4R5FVALFYC4ThDv4jgtBkmruiu5dbmratbevDHpqwVSR5J2m2ng1n2jYL0LGqrPjMuN9u5TvJfvxX/9p4kB5Lw1OWISBUOdx3hrbNxnb7j+tdahSOEZ4bewQner1WRHQYjhTQfFKLc7AYn+rSHLbuib0/lgNXmDfC3ipqU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716473771; c=relaxed/simple; bh=wQDOxHZXka4xUVaynAl1Woi5FfNCzGUUkNL42C79K1s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=R166LprV7F4pu69g6IWQ7239HHeUOZ/AQzWHSJtkDxobuDQzv/EEcG3uwyBqC59vrenE1+QFZaKI2NZYIuRCCk7sgqen6UUYcZ6Z+SioVFZ3U9uaL8dtz4XQxU3SUiJtrjFRPJCPLO22xLTSuzmCkWHYW67swicUciAdwjSBauI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=SR1KH14X; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=g+ebpXfO143PFW9N1XZMquOC4h2pBt/C1Sj6RJ/sCfs=; b=SR1KH14XWZPiQ0OQbzRNHsCtt8 PONHV0Jdgb+2TuKlCGQTbOOX/+qbMc7Ew0c715FDlQZAA9rETdWKuBsBcKpNgm9AznRQjNV/k2t8o /g1Mf0OMC/gDKEJQ26sGZU7B/4G8YL2+VHgPqo1q9RI7epVK0HcPU6JpH5kFda2rOujU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1sA9EQ-00Ftiv-GT; Thu, 23 May 2024 16:15:46 +0200 Date: Thu, 23 May 2024 16:15:46 +0200 From: Andrew Lunn To: Mathieu Othacehe Cc: Heiner Kallweit , Russell King , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Karim Ben Houcine Subject: Re: [PATCH] net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8061 Message-ID: References: <20240521065406.4233-1-othacehe@gnu.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240521065406.4233-1-othacehe@gnu.org> On Tue, May 21, 2024 at 08:54:06AM +0200, Mathieu Othacehe wrote: > Following a similar reinstate for the KSZ8081 and KSZ9031. > > Older kernels would use the genphy_soft_reset if the PHY did not implement > a .soft_reset. > > The KSZ8061 errata described here: > https://ww1.microchip.com/downloads/en/DeviceDoc/KSZ8061-Errata-DS80000688B.pdf > and worked around with 232ba3a51c ("net: phy: Micrel KSZ8061: link failure after cable connect") > is back again without this soft reset. > > Fixes: 6e2d85ec0559 ("net: phy: Stop with excessive soft reset") > Tested-by: Karim Ben Houcine > Signed-off-by: Mathieu Othacehe Reviewed-by: Andrew Lunn Andrew