[PATCH 07/13] ARM: dts: r8a7792: initial SoC device tree
From: geert@linux-m68k.org (Geert Uytterhoeven)
Date: 2016-06-07 07:13:54
Also in:
linux-devicetree, linux-renesas-soc
From: geert@linux-m68k.org (Geert Uytterhoeven)
Date: 2016-06-07 07:13:54
Also in:
linux-devicetree, linux-renesas-soc
Hi Sergei, On Tue, Jun 7, 2016 at 12:26 AM, Sergei Shtylyov [off-list ref] wrote:
quoted
With regards to SMP. Have you checked to make sure CPU hotplug works on all CPUs?How to test the CPU hotplug? I've now added the SMP support and made sure both CPUs are online and serve IRQs...
Off/online all CPUs:
for i in /sys/*/*/cpu/cpu[0-9]*; do echo 0 > $i/online; echo 1 >
$i/online; done
Offline all CPUs:
for i in /sys/*/*/cpu/cpu[0-9]*; do echo 0 > $i/online; done; cat
/proc/cpuinfo
Online all CPUs:
for i in /sys/*/*/cpu/cpu[0-9]*; do echo 1 > $i/online; done; cat
/proc/cpuinfo
quoted
And that the system behaves sanely on suspend/resume.I'd be thankful if you told me how to test that. :-)
System suspend:
echo mem > /sys/power/state
System resume: You're gonna need a "wakeup-source" in your DTS, e.g. gpio-keys.
Serial should work too, echo "enabled" to the corresponding wakeup
file in /sys first.
In case of issues, try "echo 0 > /sys/module/printk/parameters/console_suspend".
Good luck!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds