You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux
Gabor Juhos 0112153a0e ar71xx: fix occasional kernel hangs during boot on AR934x
The patch taken from the linux-mips mailing list.

The Kernel hangs occasionally during boot after
"Calibrating delay loop..". This is caused by the
c0_compare_int_usable() routine in cevt-r4k.c
returning false which causes the system to disable
the timer and hang later. The false return happens
because the routine is using a series of four calls
to irq_disable_hazard() as a delay while it waits
for the timer changes to propagate to the cp0 cause
register. On newer MIPS cores, like the 74K, the
series of irq_disable_hazard() calls turn into ehb
instructions and can take as little as a few clock
ticks for all 4 instructions. This is not enough of
a delay, so the routine thinks the timer is not
working.

This fix uses up to a max number of cycle counter
ticks for the delay and uses back_to_back_c0_hazard()
instead of irq_disable_hazard() to handle the hazard
condition between cp0 writes and cp0 reads.

SVN-Revision: 29009
13 years ago
..
adm5120 base-files, target: assign name to system timeserver section, makes it easier to set servers on the cli 13 years ago
adm8668 fill maintainer infos for a couple of targets 13 years ago
amazon amazon: Upgrade amazon target to kernel 2.6.37 13 years ago
ar7 add additionnal debug symbols when kernel debugging is enabled 13 years ago
ar71xx ar71xx: fix occasional kernel hangs during boot on AR934x 13 years ago
at91 base-files, target: assign name to system timeserver section, makes it easier to set servers on the cli 13 years ago
atheros base-files, target: assign name to system timeserver section, makes it easier to set servers on the cli 13 years ago
au1000 kernel: update kernel to version 2.6.39.4 13 years ago
avr32 kernel: update kernel to version 2.6.39.4 13 years ago
brcm47xx brcm47xx: revert accidentially added EARLY_PRINTK symbol from previous commit 13 years ago
brcm63xx linux: update 3.1 to 3.1.1 13 years ago
cns3xxx update 3.1 patches 13 years ago
cns21xx cns21xx belongs to the Econa family, too 13 years ago
cobalt target: globally disable BSD process accounting 13 years ago
coldfire remove 2.6.25 support 14 years ago
ep93xx target: globally disable BSD process accounting 13 years ago
etrax mark it broken 13 years ago
gemini kernel: Update to version 2.6.37.6 13 years ago
generic linux: update 3.1 to 3.1.1 13 years ago
goldfish global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance 13 years ago
imx21 target: globally disable BSD process accounting 13 years ago
iop32x kernel: Update to version 2.6.37.6 13 years ago
ixp4xx add 3.0 support 13 years ago
kirkwood base-files, target: assign name to system timeserver section, makes it easier to set servers on the cli 13 years ago
lantiq linux: update 3.1 to 3.1.1 13 years ago
leon target: globally disable BSD process accounting 13 years ago
malta add missing kernel config symbols 13 years ago
mpc52xx target: globally disable BSD process accounting 13 years ago
mpc83xx target: globally disable BSD process accounting 13 years ago
mpc85xx target: globally disable BSD process accounting 13 years ago
octeon target: globally disable BSD process accounting 13 years ago
omap24xx linux: update 3.1 to 3.1.1 13 years ago
omap35xx target: globally disable BSD process accounting 13 years ago
orion kernel: update to version 3.0.3 13 years ago
ppc40x kernel: update to version 3.0.3 13 years ago
ppc44x kernel: update to version 3.0.3 13 years ago
ps3 target: globally disable BSD process accounting 13 years ago
pxa target: globally disable BSD process accounting 13 years ago
pxcab target: globally disable BSD process accounting 13 years ago
ramips rt305x: Create factory image for Fonera 2.0n 13 years ago
rb532 target: globally disable BSD process accounting 13 years ago
rdc fix r6040 multicast patch, thanks nicolas le falher 13 years ago
realview kernel: update to version 3.0.3 13 years ago
s3c24xx global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance 13 years ago
sibyte target: globally disable BSD process accounting 13 years ago
sparc target: globally disable BSD process accounting 13 years ago
ubicom32 target: globally disable BSD process accounting 13 years ago
uml kernel: update to version 3.0.3 13 years ago
x86 base-files, target: assign name to system timeserver section, makes it easier to set servers on the cli 13 years ago
xburst target: globally disable BSD process accounting 13 years ago
Makefile Add kernel_nconfig make target 14 years ago