linux-mips
[Top] [All Lists]

MIPS 20Kc and WAIT instruction

To: linux-mips@linux-mips.org
Subject: MIPS 20Kc and WAIT instruction
From: Aurelien Jarno <aurelien@aurel32.net>
Date: Mon, 11 Jun 2007 11:54:07 +0200
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: IceDove 1.5.0.10 (X11/20070329)
Hi all,

The latest kernels from kernel.org or linux-mips.org do not enter low
power mode when the CPU is idle on a MIPS 20Kc CPU.

Looking at the code in arch/mips/kernel/cpu-probe.c, the "case"
corresponding to the 20Kc CPU is commented out:

        case CPU_5KC:
/*      case CPU_20KC:*/
        case CPU_24K:

According to the datasheet this CPU supports the WAIT instruction, so I
don't really understand why it is disabled in the kernel. Does anybody
know why?

Thanks,
Aurelien

-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

<Prev in Thread] Current Thread [Next in Thread>