Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3189088pxb; Mon, 18 Oct 2021 09:55:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/UlffuKnlL770Gvhdpv0cyKV3Ulyki8BsD3imp71SKo+j/aFStlZC4miXKRR3LaTIiTGd X-Received: by 2002:a62:7e4e:0:b0:44c:51f5:5895 with SMTP id z75-20020a627e4e000000b0044c51f55895mr29893880pfc.73.1634576118748; Mon, 18 Oct 2021 09:55:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634576118; cv=none; d=google.com; s=arc-20160816; b=V5SZWlnGplV6HD8k5KvqdRBrKsuclSQm33OfyiIlbTdOL79l1lvcuf2QRaZMPHFNMS wAp6RfURPloOd8oQ4kNqQAdvCWqzyrsDbUJaamMeneB1rqMQurI2dYtwwUodqJAwafdE G5uRwrsGTBy8+zHCGzwFeXj23RBFoPwzJ3NWeID1NZ8+OWKAy8h1mKcTFJEmjIchrfjt /LvnxqYnEJY9uDpiTuGPdB9DQeHCYo01+WmLfcyhRxs6kHpXaGGlYJCnWHWJ7Et0B7Yk gaxvYJlYMR5ckGZRudzGvb/wL/65qior8EIkGWq92GvVQiFDO4TUYHzrVMK7VDe9YjKi VvgQ== 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=p29oViL4/ksbLLt/sQkWjI9l+91QypowHYK4lRZcFd8=; b=ksTmAyMrsBMokpBahOZKhsxbyDyWjgzcvzBd+Me6CKv011VpyUvs2glbw1hHds8OL4 d/cWa7HG4t1fXc3jQ+cuV49RgcCPrXt9Vgu1Ntt0o3BuhTh9BCFyAfLjwXho+yFt0PSM rWf4kukh1gvx2n7pGPzZFok5PXQViHFTCErp3pLe2msw/e5EuuM1UCvLddJB9/9EHplV rfRTKUCpZjVdGaBYj6KVjhU2M/YklL9Ij1a8NDYEqYvudXh7ix4RBDmo/XpbySJWhTQ8 BkAB+4fTuHq4FIp/9TRpDpGc7v71vcyenEjPM/6pALyHUeNVD/4a1DL6Y1l69hsyTwMU LFEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eO7cuTwl; 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 e27si12492618pgl.492.2021.10.18.09.55.05; Mon, 18 Oct 2021 09:55:18 -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=k20201202 header.b=eO7cuTwl; 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 S233792AbhJRQzG (ORCPT + 99 others); Mon, 18 Oct 2021 12:55:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:52854 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232858AbhJRQzC (ORCPT ); Mon, 18 Oct 2021 12:55:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B872B61002; Mon, 18 Oct 2021 16:52:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634575971; bh=2RnLVqd6pLkU1SLhNQPNfmrkvEPcx9yjWWBquEj6IPU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eO7cuTwltqOxrCsPmDuKjTgRls5MGgxOTFZ1HDRMpNUIo8f4FXSBMQ3rGatQ6jRqf mSbBvVVTl2GKUsn4RhXHX2u8EiGUV1QChkp+dQ0asNI/55i09TMJpiM48gQpUNcLDt u42MgvFZeH6lM2cc17nWar6k4AT5rcFg2/7pCS+cNnLKAnOnypoL2BfBgArBqqDRs2 QLsXotOaDvdX/vsHnupMNksmWXmo4uv/J/k24yMoMGjw/aN8MdycYM/MZ5/G7t8yVd mkn7n8cu09OXv+9Ha3D7WH78ABh5VmRsOQgHdGXBK5I4W2RtU4SfRuIs4lequZRZNc /l8FsZqcNMMNA== Date: Mon, 18 Oct 2021 09:52:49 -0700 From: Jakub Kicinski To: Francesco Dolcini Cc: f.fainelli@gmail.com, Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , christophe.leroy@csgroup.eu, Stefan Agner , Marcel Ziswiler , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] phy: micrel: ksz8041nl: do not use power down mode Message-ID: <20211018095249.1219ddaf@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20211018094256.70096-1-francesco.dolcini@toradex.com> References: <20211018094256.70096-1-francesco.dolcini@toradex.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 Mon, 18 Oct 2021 11:42:58 +0200 Francesco Dolcini wrote: > From: Stefan Agner > > Some Micrel KSZ8041NL PHY chips exhibit continous RX errors after using > the power down mode bit (0.11). If the PHY is taken out of power down > mode in a certain temperature range, the PHY enters a weird state which > leads to continously reporting RX errors. In that state, the MAC is not > able to receive or send any Ethernet frames and the activity LED is > constantly blinking. Since Linux is using the suspend callback when the > interface is taken down, ending up in that state can easily happen > during a normal startup. > > Micrel confirmed the issue in errata DS80000700A [*], caused by abnormal > clock recovery when using power down mode. Even the latest revision (A4, > Revision ID 0x1513) seems to suffer that problem, and according to the > errata is not going to be fixed. > > Remove the suspend/resume callback to avoid using the power down mode > completely. > > [*] https://ww1.microchip.com/downloads/en/DeviceDoc/80000700A.pdf > > Signed-off-by: Stefan Agner > Acked-by: Marcel Ziswiler > Signed-off-by: Francesco Dolcini Is this the correct fixes tag? Fixes: 1a5465f5d6a2 ("phy/micrel: Add suspend/resume support to Micrel PHYs") Should we leave a comment in place of the callbacks referring to the errata?