linux_dsm_epyc7002/arch/sh/kernel/cpu
Magnus Damm 7426394f20 sh: cpuidle for SuperH Mobile using hwblk
This patch adds cpuidle support for SuperH Mobile.

The sleep mode selected by cpuidle is compared with
the mode selected by the hwblk sleep code and the
best allowed mode is entered.

At this point "Sleep mode" and "Sleep mode + SF" are
supported. This code can easily be extended to support
"Software suspend mode", but the assembly code must
first be updated to avoid loosing interrupts.

Also, update the code to only copy the assembly snippet
into internal memory once at bootup.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-07-05 00:29:54 +09:00
..
irq sh: Tie sparseirq in to Kconfig. 2009-06-11 10:33:09 +03:00
sh2 sh: clkfwk: module_clk -> peripheral_clk rename. 2009-05-13 16:59:40 +09:00
sh2a sh: clkfwk: module_clk -> peripheral_clk rename. 2009-05-13 16:59:40 +09:00
sh3 sh: clkfwk: module_clk -> peripheral_clk rename. 2009-05-13 16:59:40 +09:00
sh4 sh: Tidy up SH-4A boot_cpu_data.flags probing. 2009-06-01 19:50:08 +09:00
sh4a sh: hwblk for sh7722 2009-07-05 00:28:55 +09:00
sh5 sh: clkfwk: module_clk -> peripheral_clk rename. 2009-05-13 16:59:40 +09:00
shmobile sh: cpuidle for SuperH Mobile using hwblk 2009-07-05 00:29:54 +09:00
adc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clock-cpg.c sh: use kzalloc() for cpg clocks 2009-06-17 15:39:53 +09:00
clock.c sh: add enable()/disable()/set_rate() to div6 code 2009-06-11 09:12:58 +03:00
hwblk.c sh: hwblk base implementation 2009-07-05 00:28:39 +09:00
init.c sh: add weak l2_cache_init function. 2009-06-02 12:12:55 +09:00
Makefile sh: hwblk base implementation 2009-07-05 00:28:39 +09:00
ubc.S fix file specification in comments 2006-10-03 23:01:26 +02:00