Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6556595rdb; Fri, 15 Dec 2023 01:46:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJsmYbVPgAeL8Zp7N/PQ1NoUNK+VVm1HUAGiRn5kGc7qDc40VAxL5aNzNIUHNzBjiYGOz3 X-Received: by 2002:a17:907:3e1d:b0:a19:a19b:c719 with SMTP id hp29-20020a1709073e1d00b00a19a19bc719mr6732750ejc.105.1702633619495; Fri, 15 Dec 2023 01:46:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702633619; cv=none; d=google.com; s=arc-20160816; b=RLkWe/wQ/kD7Y9vSE/gRaCGZUFcyeDnd8JyU9lmTYYP3MR+3nZbpK8QESq43zGqzZ5 phC9OrqXxQP2AMzA4xUzlHjDMS+wdNCVcF6Hzb3QRRhFfcjHLuec7D5yJDcVPAF+mt8a l/8gY4Zuej/zRzkVGdlfrZwmfc4tgd/lPRR5dW5jWNY0A4P6xP2Lo/B6SUOevr79uQI0 1UoInIXh8tmnJjZThIJrxdqodUoDs0EGTXx4vwJVT+StoYHKZrshUCi2j9wHy2uMEpG9 ymbUA6QVLmyI3ZbdbzaEy/RgSGMuX5eQQkusf4yigGIaUu0ey4Jawllnxw6I5sHnXuSr g4Eg== ARC-Message-Signature: i=1; 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=yvoaT28TBKL7llm28i1pYRM9G1xSj4Pn2SV2L7ge1gk=; fh=tAZVIRNfqRqbqyxcpzIg+PDEkCP5fUCd3W03+2HadmE=; b=PnRVaEMG7kuRR2ebm+/EnD+TvcHqpnxs5cu+Q97/YCmjRPqR/QH3FrospzWuGwWSs/ qTvM4Nj6M71aYqtG0Nayjzl+03D0rDYOnFKcttRSQGPFCho/fVb9DYfCUYPLDrGimzTV Dv0KxCnzhT72gRaxeMFqpS/jYW+hCuH2tw9/E9OiaLAfbPHN2EJpopm8Zg6FKeLmERki N0ONO887oUUaqv7btbqmtVnXTR7yeLhcHiIyn93O4L23JE1EpgGgK+aljmg4+g9mJt+h +bT0WU8zRGI5c0S2ZHsHkjoanjyMtgsJWgBhIk8Fv0+eegrfUaw0v1zhnCczClbiJtUt c/jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=nD+pv1RB; spf=pass (google.com: domain of linux-kernel+bounces-700-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-700-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ks25-20020a170906f85900b00a1b8484085bsi6941063ejb.383.2023.12.15.01.46.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 01:46:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-700-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=@lunn.ch header.s=20171124 header.b=nD+pv1RB; spf=pass (google.com: domain of linux-kernel+bounces-700-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-700-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 400031F235CE for ; Fri, 15 Dec 2023 09:46:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E42118B04; Fri, 15 Dec 2023 09:46:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="nD+pv1RB" X-Original-To: linux-kernel@vger.kernel.org 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 39A2D18C01; Fri, 15 Dec 2023 09:46:45 +0000 (UTC) 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=yvoaT28TBKL7llm28i1pYRM9G1xSj4Pn2SV2L7ge1gk=; b=nD+pv1RBbRaWEzppDZW/619dGm /j/JYI9TfPHHmtAEzy0p3k/xR63lbCZhhxpxWyYTQRmUHWANtYXlpJnR0ajGnQMzkKLEeENonNDAc bJmMsTWIboD5CaWe3dkYyvTGKrt56scMA/pzCgyrO5WZEhOsMpiS54lliAF7QRYVq8p0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rE4lu-0030Qk-7h; Fri, 15 Dec 2023 10:46:18 +0100 Date: Fri, 15 Dec 2023 10:46:18 +0100 From: Andrew Lunn To: "Russell King (Oracle)" Cc: Paolo Abeni , Daniel Golle , Maxime Chevallier , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net] net: phy: skip LED triggers on PHYs on SFP modules Message-ID: <37a66b85-3980-4553-8447-d040404bbc11@lunn.ch> References: <102a9dce38bdf00215735d04cd4704458273ad9c.1702339354.git.daniel@makrotopia.org> <20231212153512.67a7a35b@device.home> <6dd8d8b62d6db979d6c2197a4091ebc768e6610a.camel@redhat.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: > I disagree with that - analysing the locking and coming up with a fix > is likely going to be a lengthy affair, meanwhile the mainline kernel > will deadlock on this. This patch prevents that deadlock at the > expense of removing the LED triggers for the PHY-on-SFP which I don't > think is a big deal considering the age of the PHY-based LED triggers. > > So I personally would prefer this patch to be merged while a > different solution (that we have little idea at this point what it > would look like) is sought. So, if i'm reading this patch correctly, it only affects PHYs within SFPs. The discussion went off on a tangent and also talked about media converter PHYs, but from my reading of this patch, they are unaffected by this patch. Do they however also suffer from this deadlock? Anybody tested that? Andrew