CPU hang on cpu_wait in CPU_74K

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello again ;)

I'm hacking a BCM4706 based board which uses a 74K CPU. The problem is
that wait_cpu (see cpu-probe.c) hangs my machine (is happens as soon
as the first [um]sleep is called).

The hang is related to the cpu-probe.c and:
> cpu_wait = r4k_wait;
> if ((c->processor_id & 0xff) >= PRID_REV_ENCODE_332(2, 1, 0))
> 	cpu_wait = r4k_wait_irqoff;

If I remove that lines completely [um]sleep doesn't hang machine
anymore. I'm not sure if removing that code is a proper solution. I'm
not sure what is the
> c->processor_id & 0xff
on my machine, but I've tried forcing both:
> cpu_wait = r4k_wait;
and
> cpu_wait = r4k_wait_irqoff;
and both are causing hangs.

If I recall correctly, Hauke was checking Broadcom's code and they're
using the same solution: removing that lines completely.

Do you have any idea how this could be solved?

-- 
Rafał


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux