android_kernel_xiaomi_sm8350/drivers/macintosh
Lyonel Vincent b8e4a7dae5 powerpc/powermac: Thermal control turns system off too eagerly
On certain PowerMacs, a module (therm_windtunnel) controls various
thermal settings (it can report CPU/case temperature, change speed
of internal fans, etc.)

By default, the hardware thermal control has a temperature limit to
protect the computer from damages (the default limit seems to be 80°C)
but therm_windtunnel.c reduces it to an anormaly low value (65°C),
which means that he computer will shut down randomly when hit by direct
sun light or during summer (summer in France can be quite hot), actually
possibly losing data instead of protecting it.

The overheat limit in therm_windtunnel.c:253-254 should be set to 75°C
and 70°C instead of 65°C and 60°C respectively.

From: Lyonel Vincent <lyonel@ezix.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-09-02 15:46:00 +10:00
..
adb-iop.c
adb.c device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
adbhid.c Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 into next 2008-07-21 00:55:14 -04:00
ans-lcd.c ans-lcd: BKL pushdown 2008-06-20 14:05:54 -06:00
ans-lcd.h
apm_emu.c
Kconfig powerpc: Make macintosh/mediabay driver depend on CONFIG_BLOCK 2009-04-22 14:56:35 +10:00
mac_hid.c
macio_asic.c powerpc/macio: Don't the address of an array element before boundchecking 2009-08-20 10:29:26 +10:00
macio_sysfs.c [POWERPC] Create modalias file in sysfs for of_platform bus 2008-05-14 22:31:28 +10:00
macio-adb.c
Makefile
mediabay.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 2009-04-24 08:16:05 -07:00
nvram.c
rack-meter.c rackmeter section fixes 2008-11-30 10:03:37 -08:00
smu.c Merge commit '85082fd7cbe3173198aac0eb5e85ab1edcc6352c' into test-build 2008-07-15 15:44:51 +10:00
therm_adt746x.c Merge branch 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging 2009-06-16 11:29:17 -07:00
therm_pm72.c therm_pm72: Convert to a new-style i2c driver 2009-06-15 18:01:50 +02:00
therm_pm72.h
therm_windtunnel.c powerpc/powermac: Thermal control turns system off too eagerly 2009-09-02 15:46:00 +10:00
via-cuda.c m68k: machw.h cleanup 2008-12-28 20:00:03 +01:00
via-macii.c m68k: machw.h cleanup 2008-12-28 20:00:03 +01:00
via-maciisi.c m68k: machw.h cleanup 2008-12-28 20:00:03 +01:00
via-pmu68k.c m68k: machw.h cleanup 2008-12-28 20:00:03 +01:00
via-pmu-backlight.c
via-pmu-event.c
via-pmu-event.h
via-pmu-led.c
via-pmu.c powerpc/mm: Split mmu_context handling 2008-12-21 14:21:15 +11:00
windfarm_core.c
windfarm_cpufreq_clamp.c
windfarm_lm75_sensor.c windfarm: Convert to new-style i2c drivers 2009-06-15 18:01:51 +02:00
windfarm_max6690_sensor.c windfarm: Convert to new-style i2c drivers 2009-06-15 18:01:51 +02:00
windfarm_pid.c
windfarm_pid.h
windfarm_pm81.c
windfarm_pm91.c
windfarm_pm112.c
windfarm_pm121.c
windfarm_smu_controls.c
windfarm_smu_sat.c windfarm: Convert to new-style i2c drivers 2009-06-15 18:01:51 +02:00
windfarm_smu_sensors.c
windfarm.h