Skip to content

ARM: tegra114: add CPU hotplug support

Joseph Lo linux-arm-kernel linux-tegra 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 6 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] ARM: tegra114: add CPU hotplug support
Quoted 7 lines · Stephen Warren
Quoted 5 lines · Joseph Lo

Tegra 114 is different with other Tegra SoC chips. It using ARM Cortex-A15 as CPU core and a enhanced flow controller for CPU power control. So we need to skip some code that was for Contex-A9 and some other support code that was for other Tegra SoC chips. Then adding the proper power up and hot plug control for Tegra114.

Quoted 6 lines

This series mostly works OK, but I see one problem: I can't hotunplug CPU0, which the commit descriptions and code changes imply I should be able to do:

root at localhost:~# echo 0 > /sys/devices/system/cpu/cpu0/online -bash: echo: write error: Operation not permitted

I want to provide this function originally. But I found the tegra_cpu_disable() was removed recently. It was replaced by the common cpu_disable() function that didn't allow CPU0 to be un-plugged.

But I had verified the CPU0 is OK to be un-plugged on the older linux-next branch that tegra_cpu_disable() watn't removed yet.

Do you want me to add them back to support this function for Tegra114?

Thanks,
Joseph