WSL2-Linux-Kernel/arch/mips/alchemy/common
Manuel Lauss 8e36579035 MIPS: Alchemy: Increase minimum timeout for 32kHz timer.
Since a clocksource change post 3.2-rc1, tasks on my DB1500 board
hang after random amounts of time (from a few minutes to a few hours),
regardless of load.  Debugging showed that the compare-match register
value is a few seconds lower than the current counter value.

The minimum value of 8 was initialy determined by a trial-and-error
approach.  Currently it is sufficient for all Alchemys (without PCI
apparently), independent of CPU clock;  only the DB1500 and DB1550
boards experience these timer-related tasks hangs now.

This patch increases the minimum timeout by 1 (to 9 counter ticks)
which seems sufficient since the systems are still working perfectly
fine after over 24 hours.

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3214/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2012-02-20 18:33:18 +01:00
..
Makefile MIPS: Alchemy: merge Au1000 and Au1300-style IRQ controller code. 2011-12-08 10:42:16 +00:00
clocks.c Fix common misspellings 2011-03-31 11:26:23 -03:00
dbdma.c Merge branch 'next/alchemy' into mips-for-linux-next 2012-01-11 15:42:10 +01:00
dma.c MIPS: Alchemy: clean DMA code of CONFIG_SOC_AU1??? defines 2011-10-24 23:34:24 +01:00
gpiolib.c MIPS: Alchemy: Au1300 SoC support 2011-12-07 22:02:05 +00:00
irq.c MIPS: Alchemy: merge Au1000 and Au1300-style IRQ controller code. 2011-12-08 10:42:16 +00:00
platform.c MIPS: Alchemy: Au1300 SoC support 2011-12-07 22:02:05 +00:00
power.c MIPS: Alchemy: Au1300 SoC support 2011-12-07 22:02:05 +00:00
prom.c MIPS: Alchemy: Resolve prom section mismatches 2010-10-04 18:33:59 +01:00
setup.c MIPS: Alchemy: Redo PCI as platform driver 2011-10-24 23:34:24 +01:00
sleeper.S MIPS: Alchemy: Au1300 SoC support 2011-12-07 22:02:05 +00:00
time.c MIPS: Alchemy: Increase minimum timeout for 32kHz timer. 2012-02-20 18:33:18 +01:00
vss.c MIPS: Alchemy: Au1300 SoC support 2011-12-07 22:02:05 +00:00