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/ar71xx
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
..
base-files ar71xx: add diag support for the DB120 board 13 years ago
files ar71xx: use the button for WPS control on the DB120 13 years ago
generic ar71xx: build image for the Buffalo WHR-HP-GN 13 years ago
image ar71xx: change generated Buffalo firmware versions 13 years ago
nand linux: ar71xx: add support for Mikrotik Routerboard RB493G 13 years ago
patches-2.6.39 ar71xx: fix occasional kernel hangs during boot on AR934x 13 years ago
Makefile ar71xx: clean up profiles, put in kmod-ath9k and wpad-mini by default (fixes #9954) 13 years ago
base-files.mk defconfig: remove network config installed by base-files so defconfig can work 16 years ago
config-2.6.39 ar71xx: enable WHR-HP-G300N support in kernel config 13 years ago