coretemp ABI breakage during pkgtemp/coretemp merger
Hello,
Commit 199e0de7f5df31a4fc485d4aaaf8a07718252ace: hwmon: (coretemp) Merge pkgtemp with coretemp introduced a breakage on our system (Intel CE4100 Atom core HT).
pkg_flag = 0 for our particular system, because we don't have X86_FEATURE_PTS set (I have no idea why hardware does not report it, whether this is genuine or not).
This is not a big deal, but since this is a sysfs attribute, it is kernel ABI and therefore should not break.
--
Florian
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hello again,
Quoted 9 lines · Florian Fainelli
Hello,
Commit
199e0de7f5df31a4fc485d4aaaf8a07718252ace: hwmon: (coretemp) Merge pkgtemp with coretemp introduced a breakage on our system (Intel CE4100 Atom core HT).
pkg_flag= 0 for our particular system, because we don't haveX86_FEATURE_PTSset (I have no idea why hardware does not report it, whether this is genuine or not).
I forgot to explain the real breakage here, this renamed temp1_* to temp2_* attributes, thus breaking userland expecting temp1_* attributes. --
Florian
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 12 lines · Florian Fainelli
Hello again,
Quoted 9 lines · Florian Fainelli
Hello,
Commit
199e0de7f5df31a4fc485d4aaaf8a07718252ace: hwmon: (coretemp) Merge pkgtemp with coretemp introduced a breakage on our system (Intel CE4100 Atom core HT).
pkg_flag= 0 for our particular system, because we don't haveX86_FEATURE_PTSset (I have no idea why hardware does not report it, whether this is genuine or not).
I don't expect Atom CPUs to have multiple thermal sensors, so that's probably correct.
Quoted 2 lines
I forgot to explain the real breakage here, this renamed temp1_* to temp2_* attributes, thus breaking userland expecting temp1_* attributes.
No, this isn't an ABI breakage. Attributes got renumbered but their new names still comply with the documented sysfs interface to hwmon devices.
This change indeed requires some changes to configuration files, most notably /etc/fancontrol. It will also require recreating the sensord rrd database, but so does pretty much every configuration change, this is really a design issue in sensord.
You did not even describe what your actual "breakage" was.
It's a little late to complain about this 8 months later. Back then it was decided that the benefits were worth it, and I still believe this was the right decision. The original driver design was simply wrong. We're obviously not going to revert this now, as this would be one more ABI change for users currently running kernels 3.0 to 3.3.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi,
Quoted 16 lines
-----Original Message-----
From: Florian Fainelli [mailto:[email protected]]
Sent: Friday, January 27, 2012 6:27 PM
To: R, Durgadoss; Yu, Fenghua
Cc: [email protected]; Guenter Roeck; Maxime Bizon
Subject: Re: coretemp ABI breakage during pkgtemp/coretemp mergerHello again,
Quoted 6 lines · Florian Fainelli
Hello,
Commit
199e0de7f5df31a4fc485d4aaaf8a07718252ace: hwmon: (coretemp) Merge pkgtemp with coretemp introduced a breakage on our system (Intel CE4100 Atom core HT).
Quoted 6 lines
Quoted 3 lines
pkg_flag= 0 for our particular system, because we don't haveX86_FEATURE_PTSset (I have no idea why hardware does not report it, whether this is genuine or not).I forgot to explain the real breakage here, this renamed temp1_* to temp2_* attributes, thus breaking userland expecting temp1_* attributes.
The Documentation for coretemp explains this change.
Thanks,
Durga
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors