Re: [PATCH] hwmon: ina2xx: Document compatible for INA231

2016-06-02 Thread Rob Herring
On Wed, Jun 01, 2016 at 11:43:12AM +0200, Krzysztof Kozlowski wrote: > Document the compatible for INA231 sensor. > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/hwmon/ina2xx.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring -- To unsubscribe fr

Re: [Experimental PATCH] dell-smm-hwmon: Add support for disabling automatic BIOS fan control

2016-06-02 Thread Pali Rohár
On Monday 30 May 2016 17:26:36 Gabriele Mazzotta wrote: > On 30/05/2016 11:32, Pali Rohár wrote: > > On Friday 27 May 2016 14:11:11 Gabriele Mazzotta wrote: > >> On 22/05/2016 13:50, Pali Rohár wrote: > >>> This patch exports standard hwmon pwmX_enable sysfs attribute for enabling > >>> or disablin

Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use fan_status() for fan detection

2016-06-02 Thread Pali Rohár
On Monday 30 May 2016 17:25:26 Peter Saunderson wrote: > On 30/05/16 10:36, Pali Rohár wrote: > >Hi Peter! Thank you for information! Are you able to try to call that > >function on some old kernel (e.g. 3.12 or 3.14) to verify that it is > >caused only and only by that function? > > > I have tried

Re: [PATCH] hwmon: (fam15h_power) Disable preemption when reading registers

2016-06-02 Thread Borislav Petkov
On Thu, Jun 02, 2016 at 09:58:30AM +0200, Borislav Petkov wrote: > Ha, very nice! Let me try it. Yap, much better than opencoding on_each_cpu_mask() :-) --- From: Borislav Petkov Date: Wed, 1 Jun 2016 11:36:13 +0200 Subject: [PATCH] hwmon: (fam15h_power) Disable preemption when reading register

[PATCH 1/1 v6] hwmon: add support for Sensirion SHT3x sensors

2016-06-02 Thread Pascal Sachs
From: David Frey This driver implements support for the Sensirion SHT3x-DIS chip, a humidity and temperature sensor. Temperature is measured in degrees celsius, relative humidity is expressed as a percentage. In the sysfs interface, all values are scaled by 1000, i.e. the value for 31.5 degrees c

Re: [PATCH] hwmon: (fam15h_power) Disable preemption when reading registers

2016-06-02 Thread Borislav Petkov
On Thu, Jun 02, 2016 at 09:47:54AM +0200, Thomas Gleixner wrote: > What's wrong with using: > >on_each_cpu_mask() > > Which does all that magic for you? Ha, very nice! Let me try it. Thanks! -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- To unsubscribe

Re: [PATCH] hwmon: (fam15h_power) Disable preemption when reading registers

2016-06-02 Thread Thomas Gleixner
On Thu, 2 Jun 2016, Borislav Petkov wrote: > static int read_registers(struct fam15h_power_data *data) > { > - int this_cpu, ret, cpu; > int core, this_core; > cpumask_var_t mask; > + int ret, cpu; > > ret = zalloc_cpumask_var(&mask, GFP_KERNEL); > if (!ret) > @@

Re: [PATCH] hwmon: (fam15h_power) Disable preemption when reading registers

2016-06-02 Thread Borislav Petkov
On Wed, Jun 01, 2016 at 11:15:09AM -0700, Guenter Roeck wrote: > It would be great if you can add at least part of the BUG message as well > as a Fixes: tag into the patch description. How's that: --- From: Borislav Petkov Date: Wed, 1 Jun 2016 11:36:13 +0200 Subject: [PATCH] hwmon: (fam15h_powe