Skip to content

hwmon: Remove vrm sysfs attribute

Guenter Roeck lm-sensors 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest23 of 24 patches 0 repliesNew

23 of 24 patches are in this archive. The cover letter announces 24.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/24hwmon: (adm1025) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/adm1025.c+9 -290 replies
3/24hwmon: (adm1026) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/adm1026.c+10 -310 replies
4/24hwmon: (adm9240) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/adm9240.c+21 -210 replies
5/24hwmon: (adt7475) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/adt7475.c+3 -280 replies
6/24hwmon: (asb100) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/asb100.c+9 -310 replies
7/24hwmon: (atxp1) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/atxp1.c+26 -360 replies
8/24hwmon: (dme1737) Drop vrm attribute, and make cpu0_vid conditionalDocumentation/hwmon/dme1737 drivers/hwmon/dme1737.c+7 -360 replies
9/24hwmon: (gl520sm) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/gl520sm.c+9 -50 replies
10/24hwmon: (it87) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/it87.c+3 -250 replies
11/24hwmon: (lm85) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/lm85.c+10 -330 replies
12/24hwmon: (lm87) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/lm87.c+4 -250 replies
13/24hwmon: (pc87360) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/pc87360.c+8 -270 replies
14/24hwmon: (smsc47m192) Drop vrm attribute, and make cpu0_vid conditionalDocumentation/hwmon/smsc47m192 drivers/hwmon/smsc47m192.c+12 -330 replies
15/24hwmon: (via-cputemp) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/via-cputemp.c+6 -110 replies
16/24hwmon: (vt1211) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/vt1211.c+9 -340 replies
17/24hwmon: (w83627ehf) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/w83627ehf.c+8 -80 replies
18/24hwmon: (w83627hf) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/w83627hf.c+8 -290 replies
19/24hwmon: (w83781d) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/w83781d.c+8 -310 replies
20/24hwmon: (w83791d) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/w83791d.c+9 -390 replies
21/24hwmon: (w83793) Drop vrm attribute, and make cpu0_vid conditionaldrivers/hwmon/w83793.c+4 -330 replies
22/24hwmon: (lm78) Make cpu0_vid conditionaldrivers/hwmon/lm78.c+9 -20 replies
23/24hwmon: (lm93) Make cpu0_vid and cpu1_vid conditionaldrivers/hwmon/lm93.c+27 -80 replies
24/24hwmon: (hwmon-vid) Drop optional API function parametersdrivers/hwmon/hwmon-vid.c include/linux/hwmon-vid.h+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [lm-sensors] [PATCH 0/24] hwmon: Remove vrm sysfs attribute

The vrm value is system-wide and only needs to be calculated once. Do it when the module is loaded. Provide a module parameter to enable overwriting the default value in case it is wrong or can not be calculated.

The first patch modifies hwmon-vid and its API to support and use a locally generated value for vrm or a module parameter specifying it. The vrm API parameter is made optional and ignored if provided. This ensures that the patch can be applied without affecting drivers which are calling the API functions.

Subsequent patches update the various hwmon drivers to remove vrm attribute support. At the same time, the cpuX_vid attribute is made optional and only supported if vrm is known.

The last patch finalizes the series by removing the optional vrm parameter from the hwmon-vid API functions.

This patch series applies to the top of my hwmon-next tree.

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors