Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (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 EFEF3C2C9 for ; Wed, 30 Jul 2025 15:49:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753890602; cv=none; b=GEY591g7bVBb/Mw5Z34KcxGqgozeiT2xKzaJs2s1oNwXcIG6+tSoA9FWCEOYwFwbnV+HvyaS/LYU3NnoVAvjOmFpXzxquGreVWPmRQveh4sZJ91pk86oPZYMItrw50NAERqsJ7DcLxIqMCkNWQMDZWfXLt7mjVAVYChLIhyMg9Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753890602; c=relaxed/simple; bh=e9kYErHjFhzUf3XeESIKPKrgFGNt9wqV9SjPW13Nerk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JSvcDl8ES1chV3kqV7yz0EJLxNsEQDteDiUQ5rO11E/9yd/13yzCaQLnJyjyA4TnwxUqFi+USTWIwKOunUSuB21N0nBbjyyo32srhPWa0VJtNoLeuNBIrRyCfr4X/9KMeqLRptV49lyUKmDEWK4+3o2nidNkEBG5YjQPTH/HumQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=qZsyztBm; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="qZsyztBm" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=DX98Vz/xWZD2X73NvuuHorJ74GY9eVS0xZ3PXHU78QA=; b=qZsyztBmR11SRsiHq571va+/qO MBY1nDHyc6j3TAhBhiWkiwLKFt1oVNHbrNOJFCqqtF4548+aaPOWGNND3aTzY++TkiPfEvTkIXWox T2Xw9Cj/CrfAArR7lAh/6ZbVwVahw7PFshU/nmwaIJBwx2bcPzLuToQ9czugwLAw4Y4aJBqNcyIYI yOEZiPdToiRq3F6br4lzzv8Q2a4wv4rp/L33cKzmIlNo/YOfQEM8emoEkimrrdDNZf4Cs9DgJYgOh i60ucYJ0WiEUnf5tvVcYxJvGj94rhd2F/r/BUlNru0GzjbFoaHnHfEZzjqOu18Bw0L8HAW0Fp1UeS FoaGHh9Q==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:40004) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uh93t-0003hu-0n; Wed, 30 Jul 2025 16:49:49 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.96) (envelope-from ) id 1uh93p-00006z-1T; Wed, 30 Jul 2025 16:49:45 +0100 Date: Wed, 30 Jul 2025 16:49:45 +0100 From: "Russell King (Oracle)" To: Andrew Lunn Cc: Heiner Kallweit , Daniel Braunwarth , "David S. Miller" , Eric Dumazet , Florian Fainelli , Gatien CHEVALLIER , Jakub Kicinski , Jon Hunter , netdev@vger.kernel.org, Paolo Abeni , Thierry Reding Subject: Re: [PATCH RFC ???net???] net: phy: realtek: fix wake-on-lan support Message-ID: References: <2842a6b1-ba65-4f7c-8699-aa2fd3de85b0@lunn.ch> Precedence: bulk X-Mailing-List: netdev@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: <2842a6b1-ba65-4f7c-8699-aa2fd3de85b0@lunn.ch> Sender: Russell King (Oracle) On Wed, Jul 30, 2025 at 04:35:45PM +0200, Andrew Lunn wrote: > > Not all interrupts are capable of waking the system up, and there is > > no way for a PHY to know whether it's connected to an interrupt that > > has that ability. > > I was wondering about that. And maybe that enable_irq_wake() returns > -EOPNOTSUPP if it cannot actually wake the system? But there is no > documentation about that. ,,, and that means we can't use the wakeirq helpers. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!