Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1607607
| From | Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v1 0/2] cpuidle: Fixes in cpuidle driver |
| Date | 2017-03-23 16:30 +0100 |
| Message-ID | <tocQx-473-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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>
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v1 0/2] cpuidle: Fixes in cpuidle driver Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> - 2017-03-23 16:30 +0100
Re: [PATCH v2 1/2] powerpc/powernv/cpuidle: Pass correct drv->cpumask for registration "Rafael J. Wysocki" <rafael@kernel.org> - 2017-03-23 16:30 +0100
Re: [PATCH v2 1/2] powerpc/powernv/cpuidle: Pass correct drv->cpumask for registration Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> - 2017-03-23 16:50 +0100
Re: [PATCH v2 1/2] powerpc/powernv/cpuidle: Pass correct drv->cpumask for registration Michael Ellerman <mpe@ellerman.id.au> - 2017-03-27 12:50 +0200
[PATCH v2 2/2] cpuidle: Validate cpu_dev in cpuidle_add_sysfs Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> - 2017-03-23 16:30 +0100
Re: [PATCH v2 2/2] cpuidle: Validate cpu_dev in cpuidle_add_sysfs "Rafael J. Wysocki" <rafael@kernel.org> - 2017-03-23 16:30 +0100
Re: [PATCH v2 2/2] cpuidle: Validate cpu_dev in cpuidle_add_sysfs Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> - 2017-03-23 16:50 +0100
[PATCH v2 1/2] powerpc/powernv/cpuidle: Pass correct drv->cpumask for registration Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> - 2017-03-23 16:30 +0100
Re: [PATCH v2 1/2] powerpc/powernv/cpuidle: Pass correct drv->cpumask for registration Gautham R Shenoy <ego.lkml@gmail.com> - 2017-03-24 09:40 +0100
csiph-web