Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp1997119lfo; Sat, 28 May 2022 13:10:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzW2umf74e0XhFDYTT+NC2fniLXIrOBvI+Zh9fqHspk25trjfLxRkqolx+0dQeheV6N0EN4 X-Received: by 2002:a05:6a00:1941:b0:50d:807d:530b with SMTP id s1-20020a056a00194100b0050d807d530bmr50200491pfk.17.1653768632105; Sat, 28 May 2022 13:10:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653768632; cv=none; d=google.com; s=arc-20160816; b=hp20zE4MQ5dhM/PL6YNilMXmKRIxeJZcOwmoIwqcN+I63hZ7RFXJPx4C0+m3OcDgZC n/nMmT/Yfkvy9xnZmDPuRMHom2nrCnc2FxlapRbcdPEfPPlQLzCReyuuGeJVcc0//pyI ljDJ65L0POIEBf+8iq6vRSLvFvIQRRdQNakAV08pgSqDPC2BbWAoJlHT7v2xkkqOwNl3 a3VNcqaj1K/Z/abA1E+sWQ1j2rf8jb2g/pTgAKuoAfcBWIMqFbHsorHJ3wqIPSO+anQ9 Fj2uciVZOEdJ7uH3CECIbG2rolj3jaEAWIiPU9N0PJ3VRioo1OcdNO44jEmdrWjKG6cQ iXUQ== 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=0dlSVdfqYYmd7fHOhF4J+ThqXE3WtDT8CQrgKYgDOPk=; b=SR1KgOD3xRvmvJ0akQft0HOAXF2NAe7kqAiwoh3G0TMGN+is+GuaSJisVm63un1uN6 ref679M8Ex9J0a12IVaFkxxGT0BQFYehIJpb4mTIEr14acRb9sy90H5UX620IXYSwzaG 7JG0kmjcpfhGdZW0zJBuTw5CbBXBiG1nLNiVsDJQNG3LsvVppZlgJGYSr2UvMtClhjck cN4w615owvw/zNlgkEcmqNPxD8KvWby4IbUUi3IinXulkoh37q5VtrQWGsV7YHD+mvKJ wAmFMXGYKlz6WNEDMmpoyr4RhNFuvfZYt8xCujJ5mXid48PDm+rOyFyljmA3JuyjGKMo g7EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="iKDSDx/2"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x11-20020aa78f0b000000b005187a9a74cdsi9210254pfr.269.2022.05.28.13.10.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 13:10:32 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="iKDSDx/2"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 69EE8127180; Sat, 28 May 2022 12:23:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345502AbiEZE4h (ORCPT + 99 others); Thu, 26 May 2022 00:56:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232322AbiEZE4f (ORCPT ); Thu, 26 May 2022 00:56:35 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36EE231521; Wed, 25 May 2022 21:56:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E1B6CB81EDB; Thu, 26 May 2022 04:56:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27C54C385A9; Thu, 26 May 2022 04:56:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653540991; bh=eMWGf6YQZwVtz6sJdLIaXTUS8haKJNRTcyODdPa4mTk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=iKDSDx/2Dhb1sa6+eRCOoFWNKPeusTj3ghalsNu6SpHa0ZXXOmPzO42N1OGlWxiI6 EqgwBwAma4IQmjFOcqRmcZUl9INyEpyC9dBIQyB+l9KIkX7uTjKoTwiyD5urMATgol 2g8mx/TgG8R+QscL+kX6qf3JqEPUpDu41Qy46IsFrUs5IXW63ynsugZ/rrXBU+uGWs D2H+ozZVyxmQ8ITHi5sPByIKS6QLgUXxZvQuoINJWmTh82ohVyOcvqyQIMz+QYLTha 681vyMRp5i1XeWzyMWRrlRKIH44kcAeP+TM74v+VAfr3++2CMUW+YUoNQbPB+iRy1l lNSFdaWDjcodA== Date: Wed, 25 May 2022 21:56:29 -0700 From: Jakub Kicinski To: Tan Tee Min Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Voon Wei Feng , Sit Michael Wei Hong , Ling Pei Lee , Looi Hong Aun , Tan Tee Min Subject: Re: [PATCH net-next 1/1] net: phy: dp83867: retrigger SGMII AN when link change Message-ID: <20220525215629.69af5bf5@kernel.org> In-Reply-To: <20220526013714.4119839-1-tee.min.tan@linux.intel.com> References: <20220526013714.4119839-1-tee.min.tan@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 May 2022 09:37:14 +0800 Tan Tee Min wrote: > There is a limitation in TI DP83867 PHY device where SGMII AN is only > triggered once after the device is booted up. Even after the PHY TPI is > down and up again, SGMII AN is not triggered and hence no new in-band > message from PHY to MAC side SGMII. > > This could cause an issue during power up, when PHY is up prior to MAC. > At this condition, once MAC side SGMII is up, MAC side SGMII wouldn`t > receive new in-band message from TI PHY with correct link status, speed > and duplex info. > > As suggested by TI, implemented a SW solution here to retrigger SGMII > Auto-Neg whenever there is a link change. Thanks, sounds like this bug has always been in the driver so we should add: Fixes: 2a10154abcb7 ("net: phy: dp83867: Add TI dp83867 phy") Is that right? Getting a workaround like this into stable eventually seems like a good idea so Fixes tag will help.