From mboxrd@z Thu Jan 1 00:00:00 1970 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 7A322398 for ; Fri, 18 Aug 2023 02:18:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E53DC433C8; Fri, 18 Aug 2023 02:18:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692325106; bh=jg9PCZFEO/EbHzNEzSo1Zkc7QUTIqz+kOlAheDVPUTY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sYHtC3vuDGTQtiueKdicqJw+hX4YsAZkSD2X8vj3n4TkvRCgbgj8+xv2SUbp5B4/+ 4bZSb6C/h73+kNiXP1D3mB3g2yKC1Z12Q4/EryvSfHu560lzdpBDULS8kB1nMzFTtb TcrBjPBJg4DkRgeBGEAdj7DMcJDlo2mqHw74ZcTxvBDLhyt1MFKZ94dm618v26u4gS RksqMg+mZmUeXecLL5wbjV5HP6ezubO4+NPGoQJBa/BALs5ZLhMgJ6Z7CDY8vrJN8S DC6Q23hwJxuULHRq5kmOaI3GIQ9pFyX55Dv50X/zgmMzd7H2j5WXmYwrSozAB2+0Tk Xwo9XAOH3dQ0Q== Date: Thu, 17 Aug 2023 19:18:25 -0700 From: Jakub Kicinski To: Tony Nguyen Cc: davem@davemloft.net, pabeni@redhat.com, edumazet@google.com, netdev@vger.kernel.org, Kai-Heng Feng , Naama Meir , Sasha Neftin , Simon Horman , Leon Romanovsky Subject: Re: [PATCH net-next v2] e1000e: Use PME poll to circumvent unreliable ACPI wake Message-ID: <20230817191825.18711c80@kernel.org> In-Reply-To: <20230815170111.2789869-1-anthony.l.nguyen@intel.com> References: <20230815170111.2789869-1-anthony.l.nguyen@intel.com> 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-Transfer-Encoding: 7bit On Tue, 15 Aug 2023 10:01:11 -0700 Tony Nguyen wrote: > From: Kai-Heng Feng > > On some I219 devices, ethernet cable plugging detection only works once > from PCI D3 state. Subsequent cable plugging does set PME bit correctly, > but device still doesn't get woken up. > > Since I219 connects to the root complex directly, it relies on platform > firmware (ACPI) to wake it up. In this case, the GPE from _PRW only > works for first cable plugging but fails to notify the driver for > subsequent plugging events. > > The issue was originally found on CNP, but the same issue can be found > on ADL too. So workaround the issue by continuing use PME poll after > first ACPI wake. As PME poll is always used, the runtime suspend > restriction for CNP can also be removed. Applied, thanks! I'm curious - why not treat it as a fix?