Skip to contentSkip to conversation

hwmon: Remove pkgtemp driver

PATCH In review Guenter Roeck 2 participants 2 messages May 20, 2011 – May 21, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 hwmon: Remove pkgtemp driver

After the merge of pkgtemp functionality into the coretemp driver, the pkgtemp driver is no longer necessary. Remove it.

---
 Documentation/hwmon/pkgtemp |   36 ----
 drivers/hwmon/Kconfig       |    7 -
 drivers/hwmon/Makefile      |    1 -
 drivers/hwmon/pkgtemp.c     |  444 -------------------------------------------
 4 files changed, 0 insertions(+), 488 deletions(-)
 delete mode 100644 Documentation/hwmon/pkgtemp
 delete mode 100644 drivers/hwmon/pkgtemp.c
Documentation/hwmon/pkgtemp deleted +0 -36
deleted file mode 100644
index c8e1fb0..0000000
@@ -1,36 +0,0 @@
-Kernel driver pkgtemp
-===========
-
-Supported chips:
-  * Intel family
-    Prefix: 'pkgtemp'
-    CPUID:
-    Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual
-               Volume 3A: System Programming Guide
-
-Author: Fenghua Yu
-
-Description
------------
-
-This driver permits reading package level temperature sensor embedded inside
-Intel CPU package. The sensors can be in core, uncore, memory controller, or
-other components in a package. The feature is first implemented in Intel Sandy
-Bridge platform.
-
-Temperature is measured in degrees Celsius and measurement resolution is
-1 degree C. Valid temperatures are from 0 to TjMax degrees C, because the actual
-value of temperature register is in fact a delta from TjMax.
-
-Temperature known as TjMax is the maximum junction temperature of package.
-We get this from MSR_IA32_TEMPERATURE_TARGET. If the MSR is not accessible,
-we define TjMax as 100 degrees Celsius. At this temperature, protection
-mechanism will perform actions to forcibly cool down the package. Alarm
-may be raised, if the temperature grows enough (more than TjMax) to trigger
-the Out-Of-Spec bit. Following table summarizes the exported sysfs files:
-
-temp1_input	  - Package temperature (in millidegrees Celsius).
-temp1_max        - All cooling devices should be turned on.
-temp1_crit	  - Maximum junction temperature (in millidegrees Celsius).
-temp1_crit_alarm - Set when Out-of-spec bit is set, never clears.
-		    Correct CPU operation is no longer guaranteed.
drivers/hwmon/Kconfig +0 -7
index 4abd373..43221be 100644
@@ -408,13 +408,6 @@ config SENSORS_CORETEMP
 	  sensor inside your CPU. Most of the family 6 CPUs
 	  are supported. Check Documentation/hwmon/coretemp for details.
 
-config SENSORS_PKGTEMP
-	tristate "Intel processor package temperature sensor"
-	depends on X86 && EXPERIMENTAL
-	help
-	  If you say yes here you get support for the package level temperature
-	  sensor inside your CPU. Check documentation/driver for details.
-
 config SENSORS_IBMAEM
 	tristate "IBM Active Energy Manager temperature/power sensors and control"
 	select IPMI_SI
drivers/hwmon/Makefile +0 -1
index 21c9b17..28e8d52 100644
@@ -40,7 +40,6 @@ obj-$(CONFIG_SENSORS_APPLESMC)	+= applesmc.o
 obj-$(CONFIG_SENSORS_ASC7621)	+= asc7621.o
 obj-$(CONFIG_SENSORS_ATXP1)	+= atxp1.o
 obj-$(CONFIG_SENSORS_CORETEMP)	+= coretemp.o
-obj-$(CONFIG_SENSORS_PKGTEMP)	+= pkgtemp.o
 obj-$(CONFIG_SENSORS_DME1737)	+= dme1737.o
 obj-$(CONFIG_SENSORS_DS620)	+= ds620.o
 obj-$(CONFIG_SENSORS_DS1621)	+= ds1621.o
drivers/hwmon/pkgtemp.c deleted +0 -444

444 lines not on this page · raw message

Signature · 7 lines
1.7.3.1


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Acked-by on v1 1/2
#1 lore raw
Quoted 5 lines · Guenter Roeck

After the merge of pkgtemp functionality into the coretemp driver, the pkgtemp driver is no longer necessary. Remove it.

Quoted 8 lines
---
 Documentation/hwmon/pkgtemp |   36 ----
 drivers/hwmon/Kconfig       |    7 -
 drivers/hwmon/Makefile      |    1 -
 drivers/hwmon/pkgtemp.c     |  444 -------------------------------------------
 4 files changed, 0 insertions(+), 488 deletions(-)
 delete mode 100644 Documentation/hwmon/pkgtemp
 delete mode 100644 drivers/hwmon/pkgtemp.c
Signature · 6 lines
Jean Delvare

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