From: "Coelho, Luciano" <luciano.coelho@intel.com> To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "prarit@redhat.com" <prarit@redhat.com> Cc: linuxwifi <linuxwifi@intel.com>, "Berg, Johannes" <johannes.berg@intel.com>, "kvalo@codeaurora.org" <kvalo@codeaurora.org>, "Ivgi, Chaya Rachel" <chaya.rachel.ivgi@intel.com>, "netdev@vger.kernel.org" <netdev@vger.kernel.org>, "Sharon, Sara" <sara.sharon@intel.com>, "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>, "Grumbach, Emmanuel" <emmanuel.grumbach@intel.com> Subject: Re: [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded Date: Mon, 11 Jul 2016 16:07:42 +0000 [thread overview] Message-ID: <1468253261.25088.126.camel@intel.com> (raw) In-Reply-To: <1468250301-10357-1-git-send-email-prarit@redhat.com> T24gTW9uLCAyMDE2LTA3LTExIGF0IDExOjE4IC0wNDAwLCBQcmFyaXQgQmhhcmdhdmEgd3JvdGU6 DQo+IERpZG4ndCBnZXQgYW55IGZlZWRiYWNrIG9yIHJldmlldyBjb21tZW50cyBvbiB0aGlzIHBh dGNoLsKgwqBSZXNlbmRpbmcNCj4gLi4uDQo+IA0KPiBQLg0KDQpTb3JyeSwgdGhpcyBnb3QgZmxv b2RlZCBkb3duIG15IGluYm94Lg0KDQoNCj4gLS0tODwtLS0NCj4gDQo+IFRoZSBpd2x3aWZpIGRy aXZlciBpbXBsZW1lbnRzIGEgdGhlcm1hbCB6b25lIGFuZCBod21vbiBkZXZpY2UsIGJ1dA0KPiBy ZXR1cm5zIC1FSU8gb24gdGVtcGVyYXR1cmUgcmVhZHMgaWYgdGhlIGZpcm13YXJlIGlzbid0IGxv YWRlZC7CoMKgVGhpcw0KPiByZXN1bHRzIGluIHRoZSBlcnJvcg0KPiANCj4gaXdsd2lmaS12aXJ0 dWFsLTANCj4gQWRhcHRlcjogVmlydHVhbCBkZXZpY2UNCj4gRVJST1I6I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zogQ2hheWEgUmFjaGVsIEl2Z2kg PGNoYXlhLnJhY2hlbC5pdmdpQGludGVsLmNvbT4NCj4gQ2M6IFNhcmEgU2hhcm9uIDxzYXJhLnNo YXJvbkBpbnRlbC5jb20+DQo+IENjOiBsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmcNCj4g Q2M6IG5ldGRldkB2Z2VyLmtlcm5lbC5vcmcNCj4gLS0tDQoNCkkgaGF2ZSBub3cgc2VudCBpdCBm b3IgcmV2aWV3IG9uIG91ciBpbnRlcm5hbCB0cmVlLg0KDQotLQ0KTHVjYS4=
WARNING: multiple messages have this Message-ID (diff)
From: "Coelho, Luciano" <luciano.coelho@intel.com> To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "prarit@redhat.com" <prarit@redhat.com> Cc: linuxwifi <linuxwifi@intel.com>, "Berg, Johannes" <johannes.berg@intel.com>, "kvalo@codeaurora.org" <kvalo@codeaurora.org>, "Ivgi, Chaya Rachel" <chaya.rachel.ivgi@intel.com>, "netdev@vger.kernel.org" <netdev@vger.kernel.org>, "Sharon, Sara" <sara.sharon@intel.com>, "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>, "Grumbach, Emmanuel" <emmanuel.grumbach@intel.com> Subject: Re: [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded Date: Mon, 11 Jul 2016 16:07:42 +0000 [thread overview] Message-ID: <1468253261.25088.126.camel@intel.com> (raw) In-Reply-To: <1468250301-10357-1-git-send-email-prarit@redhat.com> On Mon, 2016-07-11 at 11:18 -0400, Prarit Bhargava wrote: > Didn't get any feedback or review comments on this patch. Resending > ... > > P. Sorry, this got flooded down my inbox. > ---8<--- > > The iwlwifi driver implements a thermal zone and hwmon device, but > returns -EIO on temperature reads if the firmware isn't loaded. This > results in the error > > iwlwifi-virtual-0 > Adapter: Virtual device > ERROR: Can't get value of subfeature temp1_input: I/O error > temp1: N/A > > being output when using sensors from the lm-sensors package. Since > the temperature cannot be read unless the ucode is loaded there is no > reason to add the interface only to have it return an error 100% of > the time. > > This patch moves the firmware check to > iwl_mvm_thermal_zone_register() and > stops the thermal zone from being created if the ucode hasn't been > loaded. > > Signed-off-by: Prarit Bhargava <prarit@redhat.com> > Cc: Johannes Berg <johannes.berg@intel.com> > Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com> > Cc: Luca Coelho <luciano.coelho@intel.com> > Cc: Intel Linux Wireless <linuxwifi@intel.com> > Cc: Kalle Valo <kvalo@codeaurora.org> > Cc: Chaya Rachel Ivgi <chaya.rachel.ivgi@intel.com> > Cc: Sara Sharon <sara.sharon@intel.com> > Cc: linux-wireless@vger.kernel.org > Cc: netdev@vger.kernel.org > --- I have now sent it for review on our internal tree. -- Luca.
next prev parent reply other threads:[~2016-07-11 16:07 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-07-11 15:18 [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded Prarit Bhargava 2016-07-11 16:07 ` Coelho, Luciano [this message] 2016-07-11 16:07 ` Coelho, Luciano 2016-07-11 17:00 ` Prarit Bhargava 2016-07-11 18:00 ` Emmanuel Grumbach 2016-07-11 18:19 ` Prarit Bhargava 2016-07-11 18:27 ` Grumbach, Emmanuel 2016-07-11 18:27 ` Grumbach, Emmanuel 2016-07-11 20:31 ` Prarit Bhargava 2016-07-13 6:50 ` Kalle Valo 2016-07-13 6:50 ` Kalle Valo 2016-07-13 7:24 ` Luca Coelho 2016-07-13 7:24 ` Luca Coelho 2016-07-13 10:20 ` Prarit Bhargava 2016-07-14 8:01 ` Kalle Valo 2016-07-14 9:08 ` Grumbach, Emmanuel 2016-07-13 10:01 ` Prarit Bhargava 2016-07-14 7:13 ` Kalle Valo 2016-07-14 9:24 ` Stanislaw Gruszka 2016-07-14 9:44 ` Grumbach, Emmanuel 2016-07-15 11:25 ` Stanislaw Gruszka 2016-07-15 12:14 ` Prarit Bhargava 2016-07-17 6:13 ` Grumbach, Emmanuel
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1468253261.25088.126.camel@intel.com \ --to=luciano.coelho@intel.com \ --cc=chaya.rachel.ivgi@intel.com \ --cc=emmanuel.grumbach@intel.com \ --cc=johannes.berg@intel.com \ --cc=kvalo@codeaurora.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-wireless@vger.kernel.org \ --cc=linuxwifi@intel.com \ --cc=netdev@vger.kernel.org \ --cc=prarit@redhat.com \ --cc=sara.sharon@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.