Messages in this thread | | | From | Vaidyanathan Srinivasan <> | Subject | [PATCH v1 0/2] cpuidle: Fixes in cpuidle driver | Date | Thu, 23 Mar 2017 20:52:45 +0530 |
| |
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@linux.vnet.ibm.com>
| |