Re: [PATCHv7 1/1] Hwmon: Merge Pkgtemp with Coretemp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guenter,

> Hi,
> 
> I did some testing on a SandyBridge system with two CPUs.
> 
> If I take all cores of the second CPU offline, the second instance of the
> driver
> still sticks around and tries to display the package sensor temperature.
> However, the temperature is always reported as "N/A". I think the driver
> instance should be removed if all cores of a CPU are offline.

I agree with you that the driver instance should be removed, in this case.
But how can we find that all cores of a CPU are offline ?
One way is to use a "count" variable and manipulate it when cores are
Onlined/offlined. Kindly let me know of any better ways to implement this.

> Also, the Physical ID is "0" for both CPUs. Is this intentional ? It does not
> make much sense to me.

Got it.. It is not intentional...I missed it..
Shall add this in the next version.

Thanks,
Durga

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux