Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2392075lqz; Tue, 2 Apr 2024 16:39:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUwZnqHbywdEuKx9KMzNRqtQWqEm3/p9NMp92mDpOo2aR38X2a0oMJVlIXtuGu9xP7x2YJT6R5pzIdSNqsZm0QAhlrGYv7q5oZiGwv3jw== X-Google-Smtp-Source: AGHT+IH07tkf6YpxtaNdrSY/L8GvcGNpy3awsLAGdrK5F//mSDratfwXBPQrEcZhb71GCDwHGgBe X-Received: by 2002:a05:6a00:2e09:b0:6ec:ceb4:49b8 with SMTP id fc9-20020a056a002e0900b006ecceb449b8mr1367765pfb.0.1712101172136; Tue, 02 Apr 2024 16:39:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712101172; cv=pass; d=google.com; s=arc-20160816; b=NLCjz3lXUj+ZiCfv1wExOh5Pq5ZCH9MnlhYFOqWQADoxJ/US+215JoR+XaQBIZtEBs vaHfxCLQKetSLzGAQXUvCsYZU10uODSNF7hLB7S7G2cbg0yIRtXeUYFlePk99WeMfxfT RiNv4Fh4+JL9SE8UfLLxQ30hceTdITxGZUqED/yVzUq9aNV95lOfO7Fe4l7U/2LRFGHH nZJ7/UF1zZe+mbpJ1/WrUNHWalI6DvJYH85VPpeOMhmeeuWut7+LJ73GFKEBA5D7GXix o6jsVMY8wF+fTD8JUmtZPXTS8jXKGhtUafemSvoPiYitIQtoMd0fn08ZzpIusIjOMxcU ti9g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zz4MecEkwcgM0VDSf806VYtUluoqVIxsc7Y+pFB+7Y0=; fh=N6vOyTVwgx0XfxqYM2CcNERAKo5jof28JO9wEitsZDg=; b=PgeMHGQjGippY7bbYrZzO7dGYf9aDGnTnoHcED9itgCdWfEgAw6mxYyWmt7u8BXUJF WMd0Og+RFhmhk3kgj6JlJgYhXpn3lAeRPu80N1JCaASm9O4qSDL95u1lCcH+oUe/lkWm 5b6HbXuV+SsHZeMZnF2jrMCX3XhCI3EpxogWF9Dbi4Vl2KM6EI1S4E3i7XZp631Ftk6l RoCTTnbDnRJKhJnNPVobJys/WwoFuDfacZjT9pQuZfi5FeDz613e8y5t936lkcOnTTDI To6CMz+3XG3aGMKH/YkBPT5zI58RLsLgN3TwKdTU8X9zY8TlI5qnnj4Sz3FePMzD2Cwx 8B6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Z9xxhe6k; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-128838-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128838-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o14-20020a62f90e000000b006e645833308si11558123pfh.277.2024.04.02.16.39.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 16:39:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128838-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=@lunn.ch header.s=20171124 header.b=Z9xxhe6k; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-128838-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128838-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 ABCF52867AC for ; Tue, 2 Apr 2024 23:39:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 070881272AC; Tue, 2 Apr 2024 23:39:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="Z9xxhe6k" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 8013712E63; Tue, 2 Apr 2024 23:39:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712101163; cv=none; b=mNKP4964p/1K5WnXb1IVhm+Rt0Ro9g0idmTd+yIwKG81t2tHk8DVvDAlqu7BH9L2bH0AsxKoP9cZJIY/HwHgFw8Z+ktg3raqgIUjPENO2gFMgHB4wWspSjr+rG+21jej6FVkkcr3HaLsV79T9z9IKFPbemW0W6F5s5txejRgFOs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712101163; c=relaxed/simple; bh=MwPg8jFKKSVNMET8vKI+YTdrLPlMRCa7YFqGoLSay4E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=u3epr4VNMGEItHILpxShDrIe/FRHwoLzfnqXKva/WrfhWR5n2fSb6EDv5tjANtGTMdAbRytIzl6g9/1ahL0JPy8oxhn8aNXUQjewHwkkowFUl/o7ro8UkttiveVCJ/klrHddDpY0LJwGEBxTvmEIo0ebrgw71deCohz6d4CGKWY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=Z9xxhe6k; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch 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=zz4MecEkwcgM0VDSf806VYtUluoqVIxsc7Y+pFB+7Y0=; b=Z9xxhe6kYy2n9rlKpomGYtLFyF mtGmGGF4o4gQ8qmL6kxagUy9kq14AQSJHgDDwytFaFLZYc5iIpE7vhchRTFuXNVA94Xp60ngPxigq pYwKim+jgf3vbUnIunvDZoCwq72V6TIL7/PBkb3387X8NUYhTWjazKfyIkPAGPJFEw1o=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rrnii-00BzvM-LP; Wed, 03 Apr 2024 01:39:12 +0200 Date: Wed, 3 Apr 2024 01:39:12 +0200 From: Andrew Lunn To: Pawel Dembicki Cc: netdev@vger.kernel.org, Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Stefan Eichenberger , Dimitri Fedrau , Kory Maincent , Maxime Chevallier , Wojciech Drewek , Ahmed Zaki , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v3 3/3] net: phy: marvell: implement cable-test for 88E308X/88E609X family Message-ID: References: <20240402201123.2961909-1-paweldembicki@gmail.com> <20240402201123.2961909-3-paweldembicki@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240402201123.2961909-3-paweldembicki@gmail.com> On Tue, Apr 02, 2024 at 10:11:20PM +0200, Pawel Dembicki wrote: > This commit implements VCT in 88E308X/88E609X Family. > > It require two workarounds with some magic configuration. > Regular use require only one register configuration. But Open Circuit > require second workaround. > It cause implementation two phases for fault length measuring. > > Fast Ethernet PHY have implemented very simple version of VCT. It's > complitley different than vct5 or vct7. > > Signed-off-by: Pawel Dembicki Reviewed-by: Andrew Lunn Andrew