Vaidy,
Thanks for fixing this.
drv->cpumask defaults to cpu_possible_mask in __cpuidle_driver_init().
This breaks cpuidle on powernv where sysfs files are not created for
cpus in cpu_possible_mask that cannot be hot-added.
I think I prefer the longer description below than this.
This patch fixes the issue by passing correct cpumask from
powernv-cpuidle driver.
Any reason the correct fix isn't to change __cpuidle_driver_init() to use
present mask? Seems like any arch where present < possible is going to hit
this.
Signed-off-by: Vaidyanathan Srinivasan <redacted>
Can we CC stable too. This breaks at least v4.10.
---
=C2=A0drivers/cpuidle/cpuidle-powernv.c | 22 ++++++++++++++++++++++
=C2=A01 file changed, 22 insertions(+)
=20