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.
0112153a0e
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 | 13 years ago | |
adm8668 | 13 years ago | |
amazon | 13 years ago | |
ar7 | 13 years ago | |
ar71xx | 13 years ago | |
at91 | 13 years ago | |
atheros | 13 years ago | |
au1000 | 13 years ago | |
avr32 | 13 years ago | |
brcm47xx | 13 years ago | |
brcm63xx | 13 years ago | |
cns3xxx | 13 years ago | |
cns21xx | 13 years ago | |
cobalt | 13 years ago | |
coldfire | 14 years ago | |
ep93xx | 13 years ago | |
etrax | 13 years ago | |
gemini | 13 years ago | |
generic | 13 years ago | |
goldfish | 13 years ago | |
imx21 | 13 years ago | |
iop32x | 13 years ago | |
ixp4xx | 13 years ago | |
kirkwood | 13 years ago | |
lantiq | 13 years ago | |
leon | 13 years ago | |
malta | 13 years ago | |
mpc52xx | 13 years ago | |
mpc83xx | 13 years ago | |
mpc85xx | 13 years ago | |
octeon | 13 years ago | |
omap24xx | 13 years ago | |
omap35xx | 13 years ago | |
orion | 13 years ago | |
ppc40x | 13 years ago | |
ppc44x | 13 years ago | |
ps3 | 13 years ago | |
pxa | 13 years ago | |
pxcab | 13 years ago | |
ramips | 13 years ago | |
rb532 | 13 years ago | |
rdc | 13 years ago | |
realview | 13 years ago | |
s3c24xx | 13 years ago | |
sibyte | 13 years ago | |
sparc | 13 years ago | |
ubicom32 | 13 years ago | |
uml | 13 years ago | |
x86 | 13 years ago | |
xburst | 13 years ago | |
Makefile | 14 years ago |