From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (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 7E65614AD29; Thu, 20 Feb 2025 02:12:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740017547; cv=none; b=dhFTp/wskWS/3t7Pvi6AmT6/Y7Lgbv3fs2yIOegBh84HEQaPZRem3Bo9f+HGh2r6KuF/4hkbRx7+a4e4YLlZ6LuaoePaLATiKjUbK9c++yVqULIfuWAOgA0+jRGA80toxItrWONjv2l3RDmjsIIgcBrxhb1dnXTB1a39TmWTu5U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740017547; c=relaxed/simple; bh=4GOWM9o6duBwNSk0MN9yfWLhHhK9OLJQXgL3slB8rzo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Ml+p2UJ3V/lfMhkAy5CcC1Ap1TUwTXKuAqrp/gATotGsnOQuQi75rCn9KrAZj0ls+AKz8u09iLKkbXHhAAsK2flLBnj3WFn+5HWrl3wpZnPr81hi3wF2/31c6dhjRT8VxBqOFr+JquTPgcwn1m8Q5xiz/CD38k5NXQwfYQT1yjA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=fplhP5QS; arc=none smtp.client-ip=198.175.65.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="fplhP5QS" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1740017545; x=1771553545; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=4GOWM9o6duBwNSk0MN9yfWLhHhK9OLJQXgL3slB8rzo=; b=fplhP5QSLzoCJGwatTqvOGwjdlloWZohx9a75Sz3slNIMZYVshsNbJQV XQKkc+jBlHA55mz4nFGZEssVIU+3tfHxMjwJdnn+rxi/ad4N63TyF+b73 SCpPSzle8j29Lg+02F0UmQJVJnYrhpJeHB8pD4Or2ykS8PKh9eqAaHR2B rkdJBD98HbfJzrOfL8uGOSR4F1L12XoFBa19jrONQbF82LMhdGSinpcah 3hW/kVYwjZ3RRN/IAP8m6WPr1zA21T+J3vfg3Z8zaQNjTsELMF+i4wO1k v6kmoHbgEpQIUbNS2TYZ8lK7/NRb/OxOvACHcCI2tAS7bMOEFvzru/nj1 g==; X-CSE-ConnectionGUID: 9Da3u3RZTIW6krSQ3RDifA== X-CSE-MsgGUID: z8ovE+urTgi9tz7L/TcXQQ== X-IronPort-AV: E=McAfee;i="6700,10204,11350"; a="44554551" X-IronPort-AV: E=Sophos;i="6.13,300,1732608000"; d="scan'208";a="44554551" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Feb 2025 18:12:24 -0800 X-CSE-ConnectionGUID: YqxEkxR6RByijTI3qHobrg== X-CSE-MsgGUID: cCeY1AXzS7ODnxJwAyxXZg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.13,300,1732608000"; d="scan'208";a="114738857" Received: from choongyo-mobl.gar.corp.intel.com (HELO [10.247.53.67]) ([10.247.53.67]) by fmviesa006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Feb 2025 18:12:17 -0800 Message-ID: Date: Thu, 20 Feb 2025 10:12:14 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v7 2/7] net: pcs: xpcs: re-initiate clause 37 Auto-negotiation To: "Russell King (Oracle)" Cc: Simon Horman , Jose Abreu , Jose Abreu , David E Box , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , Rajneesh Bhardwaj , David E Box , Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Alexandre Torgue , Jiawen Wu , Mengyuan Lou , Heiner Kallweit , Hans de Goede , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , Richard Cochran , Serge Semin , x86@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org References: <20250206131859.2960543-1-yong.liang.choong@linux.intel.com> <20250206131859.2960543-3-yong.liang.choong@linux.intel.com> Content-Language: en-US From: Choong Yong Liang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 6/2/2025 11:30 pm, Russell King (Oracle) wrote: > Also, if the reset is required, what happens if we're already using > SGMII, but AN has been disabled temporarily and is then re-enabled? > Is a reset required? > Hi Russell, When we use SGMII with XPCS, the AN is disabled and then re-enabled. This process does not involve any PCS configuration, so a reset is not required. I tested it with stmmac (dwmac5) + xpcs + Marvell (88E1510) PHY, and it works fine when AN is temporarily disabled and then re-enabled without a reset.