Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755395AbbLAHdL (ORCPT ); Tue, 1 Dec 2015 02:33:11 -0500 Received: from mail-bl2on0134.outbound.protection.outlook.com ([65.55.169.134]:26704 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755276AbbLAHdI (ORCPT ); Tue, 1 Dec 2015 02:33:08 -0500 From: Duan Andy To: =?utf-8?B?TG90aGFyIFdhw59tYW5u?= CC: Andrew Lunn , "David S. Miller" , Fabio Estevam , Greg Ungerer , Kevin Hao , Lucas Stach , Philippe Reynes , Richard Cochran , Russell King , Sascha Hauer , Stefan Agner , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , Jeff Kirsher , Uwe Kleine-K?nig Subject: RE: [PATCH 0/3] net: fec: Reset ethernet PHY whenever the enet_out clock Thread-Topic: [PATCH 0/3] net: fec: Reset ethernet PHY whenever the enet_out clock Thread-Index: AQHRK2LoJjXzOYpAHkS8F/Lf0Yrt9J61XXywgABeeACAAAGkcA== Date: Tue, 1 Dec 2015 07:33:04 +0000 Message-ID: References: <1448883168-30742-1-git-send-email-LW@KARO-electronics.de> <20151201082450.6a4a9421@ipc1.ka-ro> In-Reply-To: <20151201082450.6a4a9421@ipc1.ka-ro> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=fugang.duan@freescale.com; x-originating-ip: [123.151.195.51] x-microsoft-exchange-diagnostics: 1;BY1PR03MB1434;5:GJV7zhv/fbaDFNf2ZeKcED3OLqvBENUDquD+gQfftLo9WI89OE6ZjmYojCkAFjdXiJUFEWSE3ustb+bPK5vJy8X8/v70nl70SGjMmTYXh1TqT63x5XRMY3+vzQOa1rAAA9guig46QM96CMcN8rvJDg==;24:kx5vS9FJE1VKsABMuK0N+HCRj7OuwBBYIRcUPVejMcHo+ZXViFLkhpgQDgkyIzxsbd4yhivqJRtYJNTE1zaThIZxkPgZX/rjp6e8I6sK12M= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1434; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(10201501046);SRVR:BY1PR03MB1434;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1434; x-forefront-prvs: 07778E4001 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(189002)(199003)(377454003)(87936001)(5004730100002)(5008740100001)(101416001)(122556002)(102836003)(3846002)(1220700001)(81156007)(1096002)(99286002)(92566002)(105586002)(106356001)(106116001)(54356999)(5003600100002)(11100500001)(189998001)(6116002)(97736004)(10400500002)(586003)(19580405001)(40100003)(66066001)(33656002)(77096005)(86362001)(50986999)(76576001)(74316001)(5001960100002)(76176999)(2900100001)(110136002)(2950100001)(19580395003)(5002640100001);DIR:OUT;SFP:1102;SCL:1;SRVR:BY1PR03MB1434;H:BN3PR0301MB1219.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2015 07:33:04.1055 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1434 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id tB17XFUM025541 Content-Length: 1848 Lines: 39 From: Lothar Waßmann Sent: Tuesday, December 01, 2015 3:25 PM > To: Duan Fugang-B38611 > Cc: Andrew Lunn; David S. Miller; Estevam Fabio-R49496; Greg Ungerer; > Kevin Hao; Lucas Stach; Philippe Reynes; Richard Cochran; Russell King; > Sascha Hauer; Stefan Agner; linux-kernel@vger.kernel.org; > netdev@vger.kernel.org; Jeff Kirsher; Uwe Kleine-K?nig > Subject: Re: [PATCH 0/3] net: fec: Reset ethernet PHY whenever the > enet_out clock > > Hi, > > > From: Lothar Waßmann Sent: Monday, November > > 30, 2015 7:33 PM > > > To: Andrew Lunn; David S. Miller; Estevam Fabio-R49496; Greg > > > Ungerer; Kevin Hao; Lothar Waßmann; Lucas Stach; Duan Fugang-B38611; > > > Philippe Reynes; Richard Cochran; Russell King; Sascha Hauer; Stefan > > > Agner; linux- kernel@vger.kernel.org; netdev@vger.kernel.org; Jeff > > > Kirsher; Uwe Kleine- König > > > Subject: [PATCH 0/3] net: fec: Reset ethernet PHY whenever the > > > enet_out clock > > > > > > This patchset fixes a regression introduced by commit 8fff755e9f8d > ("net: > > > fec: Ensure clocks are enabled while using mdio bus") for ethernet > > > PHYs that are using ENET_OUT as reference clock (on i.MX6 or i.MX28) > > > > > Do you mean commit 8fff755e9f8d cause your problem ? This commit just > manage ipg clock in runtime because mdio bus can access external phy > switch no matter netdev status. > > > No. Actually I meant commit e8fcfcd5684a ("net: fec: optimize the clock > management to save power") which started to disable the clocks when not > in use. > Understand. Yes, disable enet_out clock for power saving is necessary. > Sorry for the confusion, > Lothar Waßmann ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?