Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED29EC43381 for ; Thu, 28 Mar 2019 15:49:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C81C32082F for ; Thu, 28 Mar 2019 15:49:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726266AbfC1Ptg (ORCPT ); Thu, 28 Mar 2019 11:49:36 -0400 Received: from mga07.intel.com ([134.134.136.100]:53921 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726173AbfC1Ptg (ORCPT ); Thu, 28 Mar 2019 11:49:36 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2019 08:49:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,280,1549958400"; d="scan'208";a="135612871" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by fmsmga008.fm.intel.com with ESMTP; 28 Mar 2019 08:49:32 -0700 Received: from andy by smile with local (Exim 4.92) (envelope-from ) id 1h9XHX-0004AC-IM; Thu, 28 Mar 2019 17:49:31 +0200 Date: Thu, 28 Mar 2019 17:49:31 +0200 From: Andy Shevchenko To: Hans de Goede Cc: David =?iso-8859-1?Q?M=FCller?= , "Fujinaka, Todd" , "Kirsher, Jeffrey T" , "e1000-devel@lists.sf.net" , Stephen Boyd , linux-clk@vger.kernel.org, Michael Turquette , Stephen Boyd Subject: Re: [E1000-devel] igb driver with Intel Atom Bay Trail issue Message-ID: <20190328154931.GK9224@smile.fi.intel.com> References: <9B4A1B1917080E46B64F07F2989DADD69AF4DDE7@ORSMSX115.amr.corp.intel.com> <0d0b97cc-2871-6a81-11ad-4dbb8a6b652e@redhat.com> <20190327164748.GO9224@smile.fi.intel.com> <907ab1ec-ae46-a678-4f0e-87af5069f2eb@gmx.ch> <20190327191925.GP9224@smile.fi.intel.com> <5dd6a6ac-94de-07ad-df5a-2601cbc7e9d0@gmx.ch> <20190328145827.GI9224@smile.fi.intel.com> <20190328152421.GJ9224@smile.fi.intel.com> <26800a0e-c309-1e69-c5b4-e11b761c7b40@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <26800a0e-c309-1e69-c5b4-e11b761c7b40@redhat.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org On Thu, Mar 28, 2019 at 04:32:27PM +0100, Hans de Goede wrote: > On 28-03-19 16:24, Andy Shevchenko wrote: > > On Thu, Mar 28, 2019 at 04:01:37PM +0100, Hans de Goede wrote: > > > On 28-03-19 15:58, Andy Shevchenko wrote: > > > > On Thu, Mar 28, 2019 at 03:35:58PM +0100, David Müller wrote: > > > > > Andy Shevchenko wrote: > > > > > > On Wed, Mar 27, 2019 at 06:31:19PM +0100, David Müller wrote: > > > > > > Any driver for device which is using PMC clock should take it into > > > > > > consideration. > > > > > > > > > > I agree that each driver should properly request the clocks and other > > > > > resources needed. > > > > Can you elaborate a bit more the case you are talking about? > > > I think the board with igb ethernet controllers might > > > just as well be handled the same way (I already checked it has usable > > > DMI identifying info). > > > > But am I right that in the case of igb we will loose power at suspend? Wouldn't > > be better to patch the driver? > > This is an industrial embedded PC, so it is not running on battery and > I doubt it typically spends a lot of time in suspend at all. Okay, but still from logical point of view wouldn't be better to fix the driver for such case? At least I see benefits out of this approach: a) less hackish, less quirk code; b) if this happens on non-industrial case it would be better to have in the driver due to power consumption. -- With Best Regards, Andy Shevchenko