lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 14 Jun 2016 07:03:45 +0000
From:	Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To:	Zhang Rui <rui.zhang@...el.com>
CC:	"edubezval@...il.com" <edubezval@...il.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-renesas-soc@...r.kernel.org" 
	<linux-renesas-soc@...r.kernel.org>,
	"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
	"yoshihiro.shimoda.uh@...esas.com" <yoshihiro.shimoda.uh@...esas.com>,
	"cm-hiep@...so.co.jp" <cm-hiep@...so.co.jp>
Subject: Re: lm-senser can't detect thermal on thermal_zone


Hi Zhang

> > > > struct thermal_zone_device *thermal_zone_device_register(xxxx)
> > > > {
> > > > 	...
> > > > 	if (!tz->tzp || !tz->tzp->no_hwmon) {
> > > > 		result = thermal_add_hwmon_sysfs(tz);
> > > > 		...
> > > > 	}
> > > > 	...
> > > > }
> > > > 
> > > > Does this mean "thermal_zone doesn't use lm-senser" ?
> 
> I'd prefer to say of_thermal registered thermal_zone doesn't use lm-
> sensor.
> If you're really want to see hwmon interface, I think you should use
> thermal API (thermal_zone_device_register) directly.

Thank you for your feedback.
My driver is supporting both of_thermal and thermal API.
So, switching is not a big deal.

But can you teach me why of_thermal doesn't use lm-senser ??

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ