Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp364726rdb; Mon, 29 Jan 2024 04:55:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFFPGdEp7+TMlc1052Rq1qE3S43R4Rt3EW2FHEPOQtxlTmISPec4IJ5+S9MS8RHwQ8yb/a X-Received: by 2002:a17:906:28cc:b0:a2c:1061:b3e9 with SMTP id p12-20020a17090628cc00b00a2c1061b3e9mr4425873ejd.9.1706532935732; Mon, 29 Jan 2024 04:55:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706532935; cv=pass; d=google.com; s=arc-20160816; b=GvR3wByj1SlixnlRG8sv5DEu3GPrccjx3itbYUpqgqoelW4T/xXSysm7I4JX7FwnEB Zb+avd1ojeS3KZ98yfugP75eaAx4QD1hpFXQkuuebNuQ8cd7b58/42pKIk+OcVfgzE3t booMGSmAvArFUz1aGuRVGkllmaB3vuXl+PlRgA5vzUZj9z6XYNJZ1UdetE96RU6MNhj0 RoI6xbRhejS7fyXmxCDo03vpkGdv8w73P/3Hy41syN41CjNfAD7dJn308C0INqDOMYOw hpZXfT87a0lUoOvlXGzi6tajFpZ8Nqhk4sayfpGs+nk3/J1QQnxEB3pc3h8mLSfy2K+H XWHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wh5PJX6dWm7kSDwjmqjlz8KtwMMRblZ6e8LLH/QNoIo=; fh=txdmBsMKjiNkj9FGT8RrQtPwrTjC3vq+tB2NS+c6eyw=; b=HJ2ou+Hrb0isluC2naa4CAJjtBYne+0oA8sM4YUBVHBR3EQ/rujTo8q2xfdvIW1RAS ymrZNKk4Fu5b1S0jHEDGrC6dEz8/wkr+2eSp8H+Kk5NYqnIHR7+mzv3B0oRj+X/U2fln TbKgx5QThmEoZdKXxmrN2lzt3ReDriVjZ1UBuzorzsy8Hi//xnB7ljuhrjjLo0XNqc6x SgzEBsMqXBCqByayoo9X+1b7Zotg/VMyo79xYW47QR+FXKzSgBFlcZenOARp+87cUA04 sUUMfPi4WdafVMEzmlf3UGHkasV+GGGtyifEUVDNofbkslj+Xcl7LWG8ZvX+QqI6VeaX i6wA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=U8q0z7j8; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-42734-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42734-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id hj4-20020a170906874400b00a30d47e6d80si3285201ejb.988.2024.01.29.04.55.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 04:55:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42734-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=U8q0z7j8; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-42734-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42734-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 50D0B1F243CA for ; Mon, 29 Jan 2024 12:55:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89C33634ED; Mon, 29 Jan 2024 12:52:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="U8q0z7j8" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0B7DD629E1; Mon, 29 Jan 2024 12:52:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532767; cv=none; b=OrnvjJiTqRc55rcezKpy95NTimPaa9LIUERrk2gBc/T52CiFWLdeZFDef5ZO46yswbe4dCcTONmC9WDwc+EzgqBHbxUaOLtWiVgncpX8sqMu9S8TsBe4BJVpfDqWthQ18OHfSINBg2SJa9IMSt09ew+AKM99NvVNFHWQHk7RJoM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706532767; c=relaxed/simple; bh=km4zzHCmyYIUYlVLRRXqA6v9RwUyR2+jwg1Lubr/1JI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kFscUW1ZX1ozxPpg1gIuEjPydikynIFmfZk61v0rLgs7yXaxa04gHPHq6jO2EmyXGmRsTuXm6RoMe/oXnONsTFQJDDJcxdnaKohQuhwHjzeN1vK7yJ9uKdLnq0yY0NOs5SJCADuIegnXrRM53+p1z1a3wcbGQ4fIsnOv6jlbNug= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=U8q0z7j8; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-55a8fd60af0so2541491a12.1; Mon, 29 Jan 2024 04:52:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706532764; x=1707137564; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=wh5PJX6dWm7kSDwjmqjlz8KtwMMRblZ6e8LLH/QNoIo=; b=U8q0z7j8v0vckkUhC998/pQCZV0bzqSqvCjV5h0T9NMzYELaft5Gn7CSXVitvYKM4B PhKZAfSjMYJOwT7qzy0buPNqP2DAbhzgqaO3j3QjpALHl0DxU6opQn5LL1ZLEAOhViK3 yEf3hBvyfzViR8qiqgSF5UqMHYhiMTH/trKPL9YBLIMtncBV5Tw8NO1DqTGOkAmilWnH WnP4XUNArbm6L3cF7wq41A6Dews83WtMjqlCsH1ep5xKCbmDH86KqVJ+VEiii1fCvgb2 8OYZdkKK0zbU2O3fIzD4TGazXbINyUpUpCGFa8PuxPfPk+gXAni+byqRPKpNwSR+jdkH GfEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706532764; x=1707137564; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wh5PJX6dWm7kSDwjmqjlz8KtwMMRblZ6e8LLH/QNoIo=; b=erMyaywMoHHCcTTxGdbC0qz48WQfRd/FOWDGaRdkd8zJgNV948CVenT9AQLXUfpojh 12pEV54aoZPQrGsN4qPeY/15wcdQkEKmB7UZOL+VsYepDiPB/1v+2STxEfcO7M5NbOHx I/MmnJ+baS0TlTy8H+sc+drAf+YoJG2lqnV3saF3lLIOmIUNmW9Hp1ltMP9+roYmDJru Zx4iU7kUmjAh8c11mM45KhfaV2Nx94STbtoiukkOcS1c00CyU43Mbs5e54V7n1F+G2qV nKPGpx7FpfB7KtwPXIKxIh2iF9qGs7WS3ikHNVIvsnFM6swsATlPvmHffNVgjscTCIsd iGSg== X-Gm-Message-State: AOJu0YxW+zk8YCaKtRsxirTAvL0x48ZvkV9bUGgLO4EOVxyEg8Xp+Fkg 7DiSrjF9xrcnEp6agepXHNVRYVSEyJH4kPDNzDXdSOgaCzQWxLMfJ4LqXKFg8dA= X-Received: by 2002:a17:906:a45:b0:a28:fec2:ca17 with SMTP id x5-20020a1709060a4500b00a28fec2ca17mr3525460ejf.0.1706532764054; Mon, 29 Jan 2024 04:52:44 -0800 (PST) Received: from skbuf ([188.25.173.195]) by smtp.gmail.com with ESMTPSA id cu12-20020a170906ba8c00b00a27a32e6502sm3847552ejd.117.2024.01.29.04.52.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 04:52:43 -0800 (PST) Date: Mon, 29 Jan 2024 14:52:41 +0200 From: Vladimir Oltean To: arinc.unal@arinc9.com Cc: Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, Bartel Eerdekens , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next v3 6/7] net: dsa: mt7530: do not set priv->p5_interface on mt7530_setup_port5() Message-ID: <20240129125241.gu4srgufad6hpwor@skbuf> References: <20240122-for-netnext-mt7530-improvements-1-v3-0-042401f2b279@arinc9.com> <20240122-for-netnext-mt7530-improvements-1-v3-6-042401f2b279@arinc9.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240122-for-netnext-mt7530-improvements-1-v3-6-042401f2b279@arinc9.com> On Mon, Jan 22, 2024 at 08:35:57AM +0300, Arınç ÜNAL via B4 Relay wrote: > From: Arınç ÜNAL > > Running mt7530_setup_port5() from mt7530_setup() used to handle all cases > of configuring port 5, including phylink. > > Setting priv->p5_interface under mt7530_setup_port5() makes sure that > mt7530_setup_port5() from mt753x_phylink_mac_config() won't run. > > The commit ("net: dsa: mt7530: improve code path for setting up port 5") > makes so that mt7530_setup_port5() from mt7530_setup() runs only on > non-phylink cases. > > Get rid of unnecessarily setting priv->p5_interface under > mt7530_setup_port5() as port 5 phylink configuration will be done by > running mt7530_setup_port5() from mt753x_phylink_mac_config() now. > > Signed-off-by: Arınç ÜNAL > --- Reviewed-by: Vladimir Oltean I hope this moves the patch set out of the 'deferred' state. --- pw-bot: under-review