Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp159604lqe; Wed, 27 Mar 2024 01:46:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWaAj2TxW67HMrCEMc6HI4kdwPXe5y0bVfkFSlM0WesG7tCv1SVsSWthdL2vG73P1hyMn2gAfK7VTk7dXbd5Y4Xi9SqIw/W5Aga1ka0nQ== X-Google-Smtp-Source: AGHT+IENoLEFHRoV2aZwOapyHykFpofKrus2mTFFkTiqNdRgiBvok3URi+0k5jrtQ43kQSG21R/k X-Received: by 2002:a17:902:f791:b0:1e0:b3a5:af73 with SMTP id q17-20020a170902f79100b001e0b3a5af73mr2159939pln.43.1711529201753; Wed, 27 Mar 2024 01:46:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711529201; cv=pass; d=google.com; s=arc-20160816; b=V6ofIcS15IQNQvDZxw9UrgwW1NaUayJLmJp1lXn8RX7t+FIkqUKDkVgBqAZG7CjlIo P5j792Iwj56UhD0CVWipo+caAidTRrbiYJcV64MYPNiy5yDJg53HN8HFJ9dvk1tLdz5a jWcjfSH4HFUsSkgXiqVIgyPgz0RvHJlIJV36HJ501vbHgJYO06wxjcPH7Ah9T6Wnc38s pKUVwW8D2rtWo5j3i7kEeNt+ku14nUsga6F+ybRF3MU944CInD1LMgB87+Dzq/t1VmjN 6lUwMSDhkgZ0tD5au2SSpDnzpxXIcn5gWbmy9gaQIyivvhNjcLM/2YRc5VB8AQDZhp9j NxdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:references:in-reply-to:subject :cc:to:from:date:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=V6/9Lbi9NXGVyx2M/GwqTcAQaMos4oEM2EADJm5/7JA=; fh=4SdOp3P3UruqHyIyicLppTVknAN3WZ5I8FH9gZzzu/k=; b=Ic1HCUGZsFeE0Al9CIpb9omgGvFpymcs5BpotTPcyTsW/Uo5J/UV2qSkKlquSytViK dji9FwAZ7l1E84YFLDbScjlOBcuDJC3MLxQvUsel7oSudwfCY1yeERK34NsgWgRecpnJ j3U3VnUMxKhefGBaF8+foyQFOWHWN+u5vxrhRMlvaJXw6oZ/I6fhGaJqb5DP7WGytIqZ 772gTUKdj+hVWe0X86a5CtXkoG66APlIFiRUON/SrLN8GalneO6VOmKNCDNNlqcyqTFh MlQ1gzwJXCr0gm2lzgs2aBFKegYBZs7963YOlW/xIJlsW6MvH6u1O50hVUIKd6DBbiuw 3M5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=fUI+UlYj; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-120566-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120566-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a17-20020a170902ecd100b001db70a99e90si9214146plh.430.2024.03.27.01.46.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 01:46:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120566-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=@arinc9.com header.s=gm1 header.b=fUI+UlYj; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com); spf=pass (google.com: domain of linux-kernel+bounces-120566-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120566-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6DC11295B37 for ; Wed, 27 Mar 2024 08:46:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F872374C6; Wed, 27 Mar 2024 08:46:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b="fUI+UlYj" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 1C6B035881; Wed, 27 Mar 2024 08:46:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711529186; cv=none; b=GKkFvx7yLJOPXiq5efGkcipiuo/KJdl66OWaPC9mPfUcYwhTnGnfKebHySnJVBuI4MRlO19rAm5x5ZE6CXjUM14kphTkL/18Rw90F+kgrm2w8h8gmoB+ztl3hinhbxYPUONuZNAvddPbkv6s6/nKjRb4BUPD9SGagimh57zt0yw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711529186; c=relaxed/simple; bh=hjuB1NTOIJIDWdrjxrlzbkyEhKqeT0IDibX9JMRk5l0=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=Xyk2bjxPFsQPOLRv/KAet8Tw8wuH+fQL2Yv4VVKbednyatXX5zuqJKZDJnUiADZPVQIPBNJA440DjBKum4tq0ALwtLBaFMVxpXH/npdVJQsSd1PbF9VdU5vVIxVFAiT5x9or6XQal+bx1WABweLgpuLpt2uB3/pPkcMgl7Hhwf4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com; spf=pass smtp.mailfrom=arinc9.com; dkim=pass (2048-bit key) header.d=arinc9.com header.i=@arinc9.com header.b=fUI+UlYj; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arinc9.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arinc9.com Received: by mail.gandi.net (Postfix) with ESMTPA id 44BE120003; Wed, 27 Mar 2024 08:46:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1711529182; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V6/9Lbi9NXGVyx2M/GwqTcAQaMos4oEM2EADJm5/7JA=; b=fUI+UlYj89U6BM+J15/EBp0MtnKjFnJM6AomUDVdkohOldxf0oyoLbAIL84DEZ3jAOfGWs L+AC0AAU6+p5tirDlSTz3J/v6xQjw42EECSdNlDtPqpT9Pj3o8DCrIksLLU2aTOjLGkx+b 7Z0Rd9C9Ul0nT5abGD/q8OI1CKyxJSGDbEtHjIwO6qyp6ZDJrP0j0Phg15ZpmrfeAjJ6WM hjAmEkoGMLuMAeLhF9rMqSc4RxR8Z6I2dNzIYpDN1KrqEK71NlDsRk3CL5sc0CLYg+Jr9x 9/Rq+6LqG++FKKGK6WX6GOfrb0A42Qj6rwlTF7zyIsQStaKSG88rOllE1rlhKg== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Wed, 27 Mar 2024 11:46:19 +0300 From: arinc.unal@arinc9.com To: Paolo Abeni , Daniel Golle , DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Matthias Brugger , AngeloGioacchino Del Regno , =?UTF-8?Q?Ren=C3=A9_van_Dor?= =?UTF-8?Q?st?= , Russell King , SkyLake Huang , Heiner Kallweit Cc: Bartel Eerdekens , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net v2 2/2] net: dsa: mt7530: fix disabling EEE on failure on MT7531 and MT7988 In-Reply-To: References: <20240321-for-net-mt7530-fix-eee-for-mt7531-mt7988-v2-0-9af9d5041bfe@arinc9.com> <20240321-for-net-mt7530-fix-eee-for-mt7531-mt7988-v2-2-9af9d5041bfe@arinc9.com> <799572b672ea8b4756236b14068aef7c8fa726a6.camel@redhat.com> Message-ID: <530da7c1-c058-44ef-84fd-86ff58f1501b@arinc9.com> X-Sender: arinc.unal@arinc9.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Sasl: arinc.unal@arinc9.com On 26.03.2024 12:19, Arınç ÜNAL wrote: > On 26.03.2024 12:02, Paolo Abeni wrote: >> If I read the past discussion correctly, this is a potential issue >> found by code inspection and never producing problem in practice, am I >> correct? >> >> If so I think it will deserve a 3rd party tested-by tag or similar to >> go in. >> >> If nobody could provide such feedback in a little time, I suggest to >> drop this patch and apply only 1/2. > > Whether a problem would happen in practice depends on when > phy_init_eee() > fails, meaning it returns a negative non-zero code. I requested Russell > to > review this patch to shed light on when phy_init_eee() would return a > negative non-zero code so we have an idea whether this patch actually > fixes > a problem. I don't suppose Russell is going to review the patch at this point. I will submit this to net-next then. If someone actually reports a problem in practice, I can always submit it to the stable trees. Arınç