All of lore.kernel.org
 help / color / mirror / Atom feed
* Does the R10K family support the "wait" instruction?
@ 2017-03-27  1:50 Joshua Kinard
  2017-03-27 13:05 ` Ralf Baechle
  0 siblings, 1 reply; 5+ messages in thread
From: Joshua Kinard @ 2017-03-27  1:50 UTC (permalink / raw)
  To: Linux/MIPS

Does anyone know if the R1x000 family of CPUs support the "wait" instruction?
The 'check_wait' function in arch/mips/kernel/idle.c doesn't have a case for
any of the R10K CPUs, and I can't find any specific guidance in the final R10K
manual produced by Renesas, nor in the MIPS-IV instruction set.  It appears
this was added in MIPS-II, and the R4K CPUs use it, with one version for when
interrupts are enabled, and one where they're disabled.  Since a lot of CPUs
tend to reuse R4K-compatible code, I wasn't sure.

Kinda-assuming it doesn't, since the R10K lacks any notion of reduced power
operation.

-- 
Joshua Kinard
Gentoo/MIPS
kumba@gentoo.org
6144R/F5C6C943 2015-04-27
177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943

"The past tempts us, the present confuses us, the future frightens us.  And our
lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-28 14:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27  1:50 Does the R10K family support the "wait" instruction? Joshua Kinard
2017-03-27 13:05 ` Ralf Baechle
2017-03-27 21:04   ` Joshua Kinard
2017-03-27 22:39     ` Maciej W. Rozycki
2017-03-28 14:25     ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.