Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755797AbbGaUVf (ORCPT ); Fri, 31 Jul 2015 16:21:35 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:50645 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754708AbbGaUVd (ORCPT ); Fri, 31 Jul 2015 16:21:33 -0400 Date: Fri, 31 Jul 2015 13:21:29 -0700 (PDT) Message-Id: <20150731.132129.1623811034601507745.davem@davemloft.net> To: nathan.sullivan@ni.com Cc: f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] net/phy: micrel: Reenable interrupts during resume From: David Miller In-Reply-To: <20150731142706.GA11442@nathan3500-linux-VM> References: <20150730230905.GA9355@nathan3500-linux-VM> <20150731.002204.2044640569422262574.davem@davemloft.net> <20150731142706.GA11442@nathan3500-linux-VM> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 31 Jul 2015 13:21:32 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1100 Lines: 24 From: Nathan Sullivan Date: Fri, 31 Jul 2015 09:27:06 -0500 > I believe I found the issue, we are using this PHY with cadence macb as > the MAC. The driver currently turns off the management port in > macb_reset_hw, which we have stopped with a local change since our hardware > typically has multiple phys on one mdio bus. That also prevents phy suspend > from working correctly, since the bus goes down before the phy state machine > can stop the phy. > > In our local patch, we have macb_reset_hw keep the mdio bus on if it's on > already. Does that sound like an acceptable fix to you? Then you don't need this patch at all if your hardware configuration in question will not suspend the PHY device. Can you see how rediculous this situation looks to me? You can't even test this change on the hardware you are using. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/