hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | hwmon/coretemp: Fixup target cpu for package when cpu is offlineddrivers/ | +24 | 0 replies | |
| 2/6 | hwmon/coretemp: Simplify sibling managementdrivers/ | +38 | 0 replies | |
| 3/6 | hwmon/coretemp: Avoid redundant lookupsdrivers/ | +6 | 0 replies | |
| 4/6 | hwmon/coretemp: Convert to hotplug state machinedrivers/ | +29 | 0 replies | |
| 5/6 | hwmon/coretemp: Use proper error codes in cpu online callbackdrivers/ | +5 | 0 replies | |
| 6/6 | hwmon/coretemp: Simplify package managementdrivers/ | +38 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion
After the first attempt to convert the coretemp driver to the hotplug state machine failed, we had a deeper look and went a bit farther.
The driver has quite some interesting concepts vs. the package, core and sysfs file management and a bug in the package temperature sysfs interface vs. cpu hotplug.
The following series fixes that bug and simplifies the package/core management and at the end converts it to the hotplug state machine.
Along with the source size the binary size shrinks as well:
text data bss dec hex 4068 360 20 4448 1160 Before 3801 180 36 4017 fb1 After
Thanks,
tglx
-----
coretemp.c | 321 +++++++++++++++++++++---------------------------------------- 1 file changed, 113 insertions(+), 208 deletions(-)