Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp22732lqc; Thu, 7 Mar 2024 09:12:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVTKmfUiQyQQd5fi/7SuYialbcbU6c/ud0NjWLqPm6He4722SQaZWFAka8XTXgppXtztUO9u9OgrrOzS5WdlTXDaYVcOUMyHkMdH4+uag== X-Google-Smtp-Source: AGHT+IHCX8jzeFejKrzWV+XPXvAZSa9iPLyCmFhQIHJUBwNXZxGW5YdcGpQGvF8DQojCZKT7E5TQ X-Received: by 2002:a05:651c:90:b0:2d3:56df:ea48 with SMTP id 16-20020a05651c009000b002d356dfea48mr1800021ljq.3.1709831553568; Thu, 07 Mar 2024 09:12:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709831553; cv=pass; d=google.com; s=arc-20160816; b=wsJfq+N5MFGgQG1x/qoB2vy/owoQ0ArquNf7pNqqTTCEnKdI216oLqI7oLBzEql1nz 66xKduCD7J6evPQbEtHqZA4sCpki+rOunN/sN1eZwNP8LTJDhVXiFxEA10qmCnSu3E1Z F5M2aYsTaTWMd/XwBDAguB9Iku25VzSKS6quXUD22T+wd8wuCOGPWwa2eSk4gXsvRZTK +IAyQkmHxcE6wKf+NKW3TTwb82BSPInEGNR3IDxdDlnxfEVyxY+fItYPuTXyY1654xQR xQGxX29Ln/016SeyK3y2+3j9U7O8ma89Yuv5psNL36aJ6e4JpzsckBSuQyJb213GMeG4 KoDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=io2fcZPpH4rvs3nV+v1FC+SVXazOQUFtHtRJr5nyAJM=; fh=o8HpvgEgmsTDDNmfyEJqxb94NkqjRdw6PoN0PCOrNvM=; b=JVL/S+jqKUN7cN5xwRKMdgPBopgc5O0js8sjUA4QhveIiBKr9x0UHtiRtL75++3Jo3 8kmDyA9p27QxnNEMkWIHoE21y5pAvpWJWJYTVuXnepbShqL228zACULkg1ePq2GAi+3t AfKpxkAfRz8XZh9trfotG6NJ8yG/yzaQ0U43i2UH+xgs8OuImB6tN+kbLYNwS8uk/v4B E/n1Hw3pXnP3Rt+Bp28aVhGKOqkrg7tWHggFpPROoqORDZIs9Chy6W57TkB6oCr1kGFK Ltsa7ryeH/3S2xJncNPYM7yFok/zycTafceffyw8srCaVLdwr3V6SyO5qh2fqg83k3Ul S4TQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NoM1bZ8W; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-95915-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95915-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r20-20020a50aad4000000b00565bdc5bdc7si6600279edc.200.2024.03.07.09.12.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 09:12:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95915-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NoM1bZ8W; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-95915-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95915-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 25AF71F24A9B for ; Thu, 7 Mar 2024 17:12:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD981130AE3; Thu, 7 Mar 2024 17:12:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NoM1bZ8W" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E044C12FF6A; Thu, 7 Mar 2024 17:12:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709831522; cv=none; b=HGsUXmkTvlmdzN5dDGmACNPXB2lUinIDEhnN+tW7gVKi93fxKrE0EUntUvvTWiDLJDwROZYF96O1t+kbh+UlQizmlWkTP1O9D4PjlEthoIjAzJPjKiDwie+Z8Z7akiO0Jg6n5XBscNP/CpAtAW7gKeyjT+sfetdn5xBRR+esL78= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709831522; c=relaxed/simple; bh=plRVies8RIj3k/yIYB7vxQL1d+nILksaSKr4ix1IsUM=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Brq4Gg+PcVey9LKzW/uNCQEe9j57i0rhIuXObUEGrmEWYQHL4nW2GGVMmdnSi5KGLCE+VfaxMKpLotBfsxXlQ0zgSXv4+F/qSc3MXgWwhclXebBHXJBe3zRzvoXbTIoHR9U1vJoJWhXgnwQShjfDV+UQ0PbqR5g8rbsfw799sNw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NoM1bZ8W; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC10FC433C7; Thu, 7 Mar 2024 17:12:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709831521; bh=plRVies8RIj3k/yIYB7vxQL1d+nILksaSKr4ix1IsUM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NoM1bZ8WWmKVPiZbhFTL/7K5anyMmK8OkMcKh7EXZZ3KxenrrW883pDsLPYsOwvpL KJxQmdm2/mtuwL4/ue+Ao+JKBoIfZdfhuWnCQ1XoBxwNBFtzHOGTQLl+vcwZkWRP1b 8yL+8FkosXvUSiZA0sDkvxPR8WzH8savPRudLouBMHFjY6ScwrhQ8/aF9sTKHiC7TC /VpBjVPDopz6hvOaFKHlpkjPpNguoDj7JzsYEJwCdlSKozfXdgXvOnDxuEvaZbGcdi d6mqMZ4VquQicDrPpF/50w9i8JvNiqK72WtI7Lf21AjBwiANsBjPa+ImEeM4dCgRmQ AKA06ZdOYXDDA== Date: Thu, 7 Mar 2024 09:11:59 -0800 From: Jakub Kicinski To: Oleksij Rempel Cc: Arun.Ramadoss@microchip.com, andrew@lunn.ch, kernel@pengutronix.de, olteanv@gmail.com, davem@davemloft.net, Woojung.Huh@microchip.com, linux-kernel@vger.kernel.org, pabeni@redhat.com, f.fainelli@gmail.com, edumazet@google.com, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com Subject: Re: [PATCH net v2 1/1] net: dsa: microchip: make sure drive strength configuration is not lost by soft reset Message-ID: <20240307091159.07146257@kernel.org> In-Reply-To: References: <20240305064802.2478971-1-o.rempel@pengutronix.de> <20240305191457.37419bd4@kernel.org> <935b7bd6fe116291ff5f1f5a7a52cdad89e4607a.camel@microchip.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-Transfer-Encoding: 7bit On Thu, 7 Mar 2024 10:03:06 +0100 Oleksij Rempel wrote: > > > Suggestion: Instead of moving ksz_parse_drive_strength() from end of > > > file to above, can we move ksz_setup() & ksz_teardown() down. So that > > > the changes will be minimal. Will that work? > > > > This will make it hard portable to stable too. As alternative I can > > offer to use v1 patch for stable and send bigger patch for next after > > in the next net-next window. > > Are any changes on my side required? Not really, just waiting for anyone to speak up, I'll apply v1 soon. (I can't revive v1 in patchwork because Konstantin's bot will set it to Superseded, immediately, again :|)