Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp881135lqp; Thu, 23 May 2024 02:54:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsn5q5ESZgTlaIiu/DzgOmihxvzXdi9tqj1zOa7LaFo/qIiETIYkwKRmk7ZynbYJisi+uPqP+yKdxtreMCrPOzIt6Ij2Gu8fp2bYS1KQ== X-Google-Smtp-Source: AGHT+IHbmy76LdlN8MTctA/u0aagoVGjmQy9/fncy8l0r5taZBTVJRxoP9yn+cmigaFVYMPxqOaY X-Received: by 2002:a05:6a21:800f:b0:1af:abce:986d with SMTP id adf61e73a8af0-1b1f8a80683mr4192992637.61.1716458047369; Thu, 23 May 2024 02:54:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716458047; cv=pass; d=google.com; s=arc-20160816; b=d1QRWSzVwkaNxLzjWCfXrSSHOtV2Jv6Z/bq9ZG6X0IwaeswxM8MM3kdVwr2h37Cxyx /m7cBUGyoBLTBHeW2JxzK65SZn3rF4AIp94c8/r8Drc+zrGkpwWDbKytCkSTFZbTpQGv ssg6vk9MK3Gh2Wf5i2RlGjuZMMtjiu3raigLsi4H3siZWF0NalwIPAYPSC4hHyAnxr1F 0Caedq17tafu76/p7cO372YMeWwnLx265979HYfTL5ZGMCJUoQ7JF29uWGrGdjJELIID Jc6CDX21K3taD3IhlhjAK8YsgHjwXxNRQaLCD99ztMe4S0bYVMuG/PwairjOxhPIlpqE Jr7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=bvmlXM882SJJ7a/SlHp+JarjIUmF72VGflVQCEhgnSs=; fh=rv2zjikw2aOwqqPSds+oLDtXp9FeLSkn0wMP3+fCmTE=; b=wQxtry+QUwenBtfQ/ryEMhsBhawlZFRuMz3TisbKLWthh4XO4mv5tN+C9qsAHhlHHO l1/B8N3BoXSDX0nK5PbLhAcU7/5nFrbYAz1kIrlj2sKmX43mauQo6Jr791Al6FD3G6LP HmpqWFVPAAuBNt5GS9Df6umZBV2URrLv0gBTJWNAiTrKmD6+XTrwc+kGYLX8nNxa9QIS PuJKbqNBrByBvMRtR1UD2xqt+y/I+Dhxe5lc6hRRYlsqkVMsKx8mWmD3MER+t58hnTRA /nrWjoZ3zg4n7YX2y3EL1w6P6WM2U0BxgJCRX+oMH+Sncfc0hHU7GRPc1/sgYASIUbv4 uL+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LnIRAqyF; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-187293-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187293-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-639c8a877d1si631637a12.228.2024.05.23.02.54.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 02:54:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187293-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LnIRAqyF; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-187293-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187293-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 029A428402F for ; Thu, 23 May 2024 09:54:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F92C13F45F; Thu, 23 May 2024 09:53:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="LnIRAqyF" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 5921213E032 for ; Thu, 23 May 2024 09:53:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716458027; cv=none; b=q8FbCD6Y+fY/V3Gsvl+Rsgzx+1UZUnu2WOzkj9xbA7HGg6qlBlGFt3xxcSJCI83jjfEKoVmSwGX4gNqWXqrBhKry183R6aOlu7A3oM0HZQnB979SOZHlMktntYEAUzCe40qNLK7Aug0ptBSv0zoUIZIrv0fAnIw2gfKhSb1yrHY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716458027; c=relaxed/simple; bh=bvmlXM882SJJ7a/SlHp+JarjIUmF72VGflVQCEhgnSs=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=DdMS0Aon+pBSQkRK4uDioa4Mtq/Hy8QmaJX123pmYx/ZzlBteytjDi2SysnyXpQurbp95//Ja6oOSm+9b7U0X8MWtapwQnbiRyx66rUjBQ36sj5XBI3PCGIgh+SH6fXCUqLx7jGp9ZfAF/Z3G78N+8i24UCcq/mUbNgygUCxRuY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=LnIRAqyF; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1716458024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=bvmlXM882SJJ7a/SlHp+JarjIUmF72VGflVQCEhgnSs=; b=LnIRAqyFqpS/8T4+E5lkkFZU7j2WALYLOpMokEvElJpvuvY1sIwewGeEbX4Kv0z+hgYlBK H0/uDj5hfn+2PFVAL93eTtuU04sveb+YF6dnUomYI7syj6dtTXUe7Gj24nsusVJeOPJB7u th6YVuXm++trPxuINAORMuUsijj/WHM= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-427-Hh7qznBOOpa7Y6ybCEicTQ-1; Thu, 23 May 2024 05:53:41 -0400 X-MC-Unique: Hh7qznBOOpa7Y6ybCEicTQ-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-354e222dcc5so110052f8f.1 for ; Thu, 23 May 2024 02:53:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716458020; x=1717062820; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bvmlXM882SJJ7a/SlHp+JarjIUmF72VGflVQCEhgnSs=; b=dDqTyfAD/L/sRLeP7nPnAKXcQAUnYo68EJQqPRopg2IZh15YkOk79Ofu55wzawtZs/ aLKhtHSpI5Rr565Rdc/QfOvzAatoObYIkpUpvR2kSUkEi6QpDSNfze+ny9dRiWjhbb3o XqB1MciMwsV95vpTVB4KXCXqSq9psOWZiC+orzYCz61OY+eGCEZ7NYsCskJJ3cxBMEcv APzy0kXKXUTK3t38GFcRHe+eePc9Xnokwfg758no+e2mwxlG+QOY4GY2P0NN9Hfq9FlB BCupdW2Os6F7iDpnYscDPbJmGfViOdbuym7oCEqxTMLAUueOgxZXwD9Lh5P1FEY5F1x2 7EbQ== X-Forwarded-Encrypted: i=1; AJvYcCWL5vHz3eGrNM4rTwBez1P9cfcdEEdZFq0wjeOUv4/mYubM97wafyBYXSIHqJXfYzMfrmIbflmaEsq8zKOM3aG/f11BKJLzjURi3G0X X-Gm-Message-State: AOJu0Yypq8IzrKW5hkK2EICfmlSJj0az6+rNAGF/fRruzOZ8pgTv+5RO bAt4JOGdiUNGCHGzk8BbpJYqTJa58hcgdmFgvMiuVR8C5lbfdBMepNlDWkshePf9wVGb5plv6/r r/Yu9IdzBXajoMVv/uMva6F2AQi6c7getZJtK6UEka+nq8prunLj8gAmMKK1dQw== X-Received: by 2002:a05:600c:4584:b0:419:f68e:118c with SMTP id 5b1f17b1804b1-420fd2d8f86mr33132285e9.1.1716458020366; Thu, 23 May 2024 02:53:40 -0700 (PDT) X-Received: by 2002:a05:600c:4584:b0:419:f68e:118c with SMTP id 5b1f17b1804b1-420fd2d8f86mr33132125e9.1.1716458019931; Thu, 23 May 2024 02:53:39 -0700 (PDT) Received: from gerbillo.redhat.com ([2a0d:3341:b094:ab10:29ae:cdc:4db4:a22a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42100f99d7fsm20366065e9.31.2024.05.23.02.53.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 02:53:39 -0700 (PDT) Message-ID: <52077a99395935c60bafb3c81d96fc64dee5261a.camel@redhat.com> Subject: Re: [PATCH] net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8061 From: Paolo Abeni To: Mathieu Othacehe , Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Florian Fainelli Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Karim Ben Houcine Date: Thu, 23 May 2024 11:53:37 +0200 In-Reply-To: <20240521065406.4233-1-othacehe@gnu.org> References: <20240521065406.4233-1-othacehe@gnu.org> Autocrypt: addr=pabeni@redhat.com; prefer-encrypt=mutual; keydata=mQINBGISiDUBEAC5uMdJicjm3ZlWQJG4u2EU1EhWUSx8IZLUTmEE8zmjPJFSYDcjtfGcbzLPb63BvX7FADmTOkO7gwtDgm501XnQaZgBUnCOUT8qv5MkKsFH20h1XJyqjPeGM55YFAXc+a4WD0YyO5M0+KhDeRLoildeRna1ey944VlZ6Inf67zMYw9vfE5XozBtytFIrRyGEWkQwkjaYhr1cGM8ia24QQVQid3P7SPkR78kJmrT32sGk+TdR4YnZzBvVaojX4AroZrrAQVdOLQWR+w4w1mONfJvahNdjq73tKv51nIpu4SAC1Zmnm3x4u9r22mbMDr0uWqDqwhsvkanYmn4umDKc1ZkBnDIbbumd40x9CKgG6ogVlLYeJa9WyfVMOHDF6f0wRjFjxVoPO6p/ZDkuEa67KCpJnXNYipLJ3MYhdKWBZw0xc3LKiKc+nMfQlo76T/qHMDfRMaMhk+L8gWc3ZlRQFG0/Pd1pdQEiRuvfM5DUXDo/YOZLV0NfRFU9SmtIPhbdm9cV8Hf8mUwubihiJB/9zPvV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outHEO/N87fpIbpbZaIdinF7b9srwUvDOKsywfs5HMiUZhLKoZzCcU/AEFjQsPTATACGsWf3JYPnWxL9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Tue, 2024-05-21 at 08:54 +0200, Mathieu Othacehe wrote: > Following a similar reinstate for the KSZ8081 and KSZ9031. >=20 > Older kernels would use the genphy_soft_reset if the PHY did not implemen= t > a .soft_reset. >=20 > The KSZ8061 errata described here: > https://ww1.microchip.com/downloads/en/DeviceDoc/KSZ8061-Errata-DS8000068= 8B.pdf > and worked around with 232ba3a51c ("net: phy: Micrel KSZ8061: link failur= e after cable connect") > is back again without this soft reset. >=20 > Fixes: 6e2d85ec0559 ("net: phy: Stop with excessive soft reset") > Tested-by: Karim Ben Houcine > Signed-off-by: Mathieu Othacehe LGTM, but waiting a little longer for anyone from phy crew to ack it. Thanks, Paolo