Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp924828pxb; Thu, 26 Aug 2021 19:05:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYa0Nex6+zS2+4BxdJvYNC8R73Is6NLr4SVk0IDyF4OesLZ0w+I29vNnsTnb5gJS7Nbht9 X-Received: by 2002:a17:906:32cf:: with SMTP id k15mr7513582ejk.68.1630029933539; Thu, 26 Aug 2021 19:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630029933; cv=none; d=google.com; s=arc-20160816; b=0SxFBWwTq49RLRxK9Ve+8wJbwaadoglpwJUI+xKxdb52+lcauueFGRchOdyvurF2mc 4PcxpuojsTr8yhDqvdpGeCo/BavOmg4rJRv9O4L+zZRj0h9T4vo1OkmyWiiRsTVAib+N 8j3caj5DR5kw3PzIiwdXXF5WXThopp4TMF5noh5hWZ2gnRUCp88jjCY3kDLAaJ19ewWf yiQ76ff8D4Q+3Kl4q+P3mX7KvBHoEUuDygtrJju/vU4XeE77pHyoWRqZyyCCWjxePvg/ q+rRv+PEqN7u9K1Q/EBJ5N5M6h3zM1g7jXyA+ZiFpgIAPu55dc10YSGqfIMrq2KADp1b WtNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GuRZkuKuMuIZkC+HPEQmbSTwj2lMnWB+PUw0G55rLes=; b=N/ynuKGN6NU5wp9PKfrRoV9tyaUmgZ7qM7uxHqK+uOYtkQXVWl5HIsDnqyTEIsESVi USuq0p7yyjcoql5sJAUfjacMHqdissp5W4yrLy/wyDXetSdqnsNTZIysaXbeLu6fn0XV R05gRDJdYHOPArwoO8P4p0am61F83VJxZum+G5g3e49p1wSBLsTFnlFZNXGwrM20rsLc 0Cf6NWEo450sy8RxK1G/WwtfXa5Auq8BKV+1h26cAKB+1Tv5diKvSm+ZiWy+tXLBf3Lh rkxVfPBLItiBcqj1fj1nNoanlLO/qt95DHAlcPadJcfcR+Vu3djBBJlrsaGoMNmUJODq Ui7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=vhd7m8gE; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e8si5092778edz.139.2021.08.26.19.05.10; Thu, 26 Aug 2021 19:05:33 -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=@lunn.ch header.s=20171124 header.b=vhd7m8gE; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243990AbhH0CE3 (ORCPT + 99 others); Thu, 26 Aug 2021 22:04:29 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:44182 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231588AbhH0CE3 (ORCPT ); Thu, 26 Aug 2021 22:04:29 -0400 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=GuRZkuKuMuIZkC+HPEQmbSTwj2lMnWB+PUw0G55rLes=; b=vhd7m8gEUoEIMs6OaIWlMmSvXe GKT1vYNssoGR6c4ym6+a/W5UTYIIvJkM02ILKd4++Bq5JIxnXIRfvgdnqHy+/HK46ZXjK9WKRLeeQ SSqAnndp4xK2HmO3h/ZHK6C29Yr4op4JYR9UZ+lhHVRk2Uk5OmJ7Gks4YAHasKlCuFug=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1mJRDP-0042ba-AC; Fri, 27 Aug 2021 04:03:31 +0200 Date: Fri, 27 Aug 2021 04:03:31 +0200 From: Andrew Lunn To: Wong Vee Khee Cc: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Jakub Kicinski , Maxime Coquelin , Vladimir Oltean , Vivien Didelot , Florian Fainelli , Russell King , Heiner Kallweit , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Vladimir Oltean , Voon Weifeng , Michael Sit Wei Hong Subject: Re: [PATCH net-next v2 1/2] net: pcs: xpcs: enable skip xPCS soft reset Message-ID: References: <20210826235134.4051310-1-vee.khee.wong@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210826235134.4051310-1-vee.khee.wong@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 27, 2021 at 07:51:32AM +0800, Wong Vee Khee wrote: > Unlike any other platforms, Intel AlderLake-S uses Synopsys SerDes where > all the SerDes PLL configurations are controlled by the xPCS at the BIOS > level. If the driver perform a xPCS soft reset on initialization, these > settings will be switched back to the power on reset values. So you have given up on the idea of calling into the BIOS to do this? ACPI is too difficult to use? Can you at least copy the code from the BIOS into the driver? It might then also be possible to fix your inability to swap link speeds? Andrew