[PATCH v1 0/2] cpuidle: Fixes in cpuidle driver

Vaidyanathan Srinivasan svaidy at linux.vnet.ibm.com
Fri Mar 24 02:22:45 AEDT 2017


When CONFIG_HOTPLUG_CPU=n and cpu_present is less than cpu_possible,
then cpuidle-powernv not passing an explicit drv->cpu_mask allows
generic cpuidle driver to try create sysfs objects for cpus that does
not have cpu_devices created by calling register_cpu().

This caused kernel to access incorrect address and crash. The
following patch series fixes the cpuidle-powernv driver and also adds
additional checks in cpuidle_add_sysfs()

This patch set is against v4.11-rc3.

Changed from v1: Updated commit message and comments.

Signed-off-by: Vaidyanathan Srinivasan <svaidy at linux.vnet.ibm.com>



More information about the Linuxppc-dev mailing list