Linux 2.6.23.13
Subsystems (2)
We (the -stable team) are announcing the release of the 2.6.23.13 kernel. It contains one serious fix for the w83627ehf.c hardware monitoring driver. If you use this driver, PLEASE, upgrade to this kernel version. To quote the developer, Jean Delvare:
I have had a private report that this bug might have caused permanent hardware damage. There is no definitive proof at this point, but unfortunately due to the lack of documentation I really can't rule it out.
This problem only affects the 2.6.23 kernel releases, it is not present on any prior release, or on the 2.6.24 upcoming release, as this fix is already in Linus's tree.
I'll also be replying to this message with a copy of the patch between 2.6.23.12 and 2.6.23.13
The updated 2.6.23.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.23.y.git
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.23.y.git;a=summarythanks,
greg k-h
--------
Makefile | 2 +- drivers/hwmon/w83627ehf.c | 36 ++++++++++++++++++++++-------------- 2 files changed, 23 insertions(+), 15 deletions(-)
Summary of changes from v2.6.23.12 to v2.6.23.13
================================================
Greg Kroah-Hartman (1):
Linux 2.6.23.13
Jean Delvare (1):
hwmon: (w83627ehf) Be more careful when changing VID input level
Makefile +1 -1
@@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 23 -EXTRAVERSION = .12 +EXTRAVERSION = .13 NAME = Arr Matey! A Hairy Bilge Rat! # *DOCUMENTATION*
drivers/hwmon/w83627ehf.c +22 -14
@@ -1276,23 +1276,31 @@ static int __devinit w83627ehf_probe(struct platform_device *pdev) data->vrm =vid_which_vrm ();superio_enter (sio_data->sioreg); -/* Set VID input sensibility if needed. In theory the BIOS should -have set it, but in practice it's not always the case. */ - en_vrm10 =superio_inb (sio_data->sioreg,SIO_REG_EN_VRM10 ); -if ((en_vrm10 &0x08 ) && data->vrm !=100 ) { -dev_warn (dev,"Setting VID input voltage to TTL\n" ); -superio_outb (sio_data->sioreg,SIO_REG_EN_VRM10 , - en_vrm10 & ~0x08 ); - }else if (!(en_vrm10 &0x08 ) && data->vrm ==100 ) { -dev_warn (dev,"Setting VID input voltage to VRM10\n" ); -superio_outb (sio_data->sioreg,SIO_REG_EN_VRM10 , - en_vrm10 |0x08 ); - }/* Read VID value */ superio_select (sio_data->sioreg,W83627EHF_LD_HWM ); -if (superio_inb (sio_data->sioreg,SIO_REG_VID_CTRL ) &0x80 ) +if (superio_inb (sio_data->sioreg,SIO_REG_VID_CTRL ) &0x80 ) { +/* Set VID input sensibility if needed. In theory the BIOS +should have set it, but in practice it's not always the +case. We only do it for the W83627EHF/EHG because the +W83627DHG is more complex in this respect. */ +if (sio_data->kind == w83627ehf) { + en_vrm10 =superio_inb (sio_data->sioreg, +SIO_REG_EN_VRM10 ); +if ((en_vrm10 &0x08 ) && data->vrm ==90 ) { +dev_warn (dev,"Setting VID input voltage to " +"TTL\n" ); +superio_outb (sio_data->sioreg,SIO_REG_EN_VRM10 , + en_vrm10 & ~0x08 ); + }else if (!(en_vrm10 &0x08 ) && data->vrm ==100 ) { +dev_warn (dev,"Setting VID input voltage to " +"VRM10\n" ); +superio_outb (sio_data->sioreg,SIO_REG_EN_VRM10 , + en_vrm10 |0x08 ); + } + } + data->vid =superio_inb (sio_data->sioreg,SIO_REG_VID_DATA ) &0x3f ; -else { + }else {dev_info (dev,"VID pins in output mode, CPU VID not " "available\n" ); data->vid =0x3f ;