summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2015-03-31 20:15:09 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-04-03 13:15:50 +0200
commitd75e4af14e228bbe3f86e29bcecb8e6be98d4e04 (patch)
tree6a7c821d8dd08581e092a7b08ce8009001636b2b /tools/perf/scripts/python
parente42391cd048809d903291d07f86ed3934ce138e9 (diff)
downloadkernel-d75e4af14e228bbe3f86e29bcecb8e6be98d4e04.tar.gz
cpuidle: remove state_count field from struct cpuidle_device
Thomas Schlichter reports the following issue on his Samsung NC20: "The C-states C1 and C2 to the OS when connected to AC, and additionally provides the C3 C-state when disconnected from AC. However, the number of C-states shown in sysfs is fixed to the number of C-states present at boot. If I boot with AC connected, I always only see the C-states up to C2 even if I disconnect AC. The reason is commit 130a5f692425 (ACPI / cpuidle: remove dev->state_count setting). It removes the update of dev->state_count, but sysfs uses exactly this variable to show the C-states. The fix is to use drv->state_count in sysfs. As this is currently the last user of dev->state_count, this variable can be completely removed." Remove dev->state_count as per the above. Reported-by: Thomas Schlichter <thomas.schlichter@web.de> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: 3.14+ <stable@vger.kernel.org> # 3.14+ [ rjw: Changelog ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
.y&id=5fb7f87408f1534f2c3fadb876dc429cca601104'>lib: add module support to crc32 testsGeert Uytterhoeven 2017-02-23Merge tag 'drm-for-v4.11-less-shouty' of git://people.freedesktop.org/~airlie...Linus Torvalds 2017-02-24lib/Kconfig: make PRIME_NUMBERS not user selectable.Dave Airlie 2017-02-23lib: Remove string from parman config selectionJiri Pirko 2017-02-03lib: Introduce priority array area managerJiri Pirko 2017-01-24lib/dma-virt: Add dma_virt_opsBart Van Assche 2017-01-24lib/dma-noop: Only build dma_noop_ops for s390 and m32rBart Van Assche 2016-12-27lib: Add a simple prime number generatorChris Wilson 2016-10-07Merge branch 'akpm' (patches from Andrew)Linus Torvalds 2016-10-07atomic64: no need for CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVEVineet Gupta 2016-09-17blk-mq: abstract tag allocation out into sbitmap libraryOmar Sandoval 2016-05-20raxix-tree: introduce CONFIG_RADIX_TREE_MULTIORDERMatthew Wilcox 2016-04-15lib: scatterlist: move SG pool code from SCSI driver to lib/sg_pool.cMing Lin 2016-03-25mm, kasan: stackdepot implementation. Enable stackdepot for SLABAlexander Potapenko 2016-01-23Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledfo...Linus Torvalds 2016-01-22Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds 2016-01-18lib: sw842: select crc32Arnd Bergmann 2015-12-11irq_poll: make blk-iopoll available outside the block layerChristoph Hellwig 2015-12-08lib: scatterlist: fix Kconfig descriptionGeert Uytterhoeven 2015-10-16lib/Kconfig: ZLIB_DEFLATE must select BITREVERSEAndrew Morton 2015-09-08Merge tag 'libnvdimm-for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds 2015-09-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds 2015-09-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds 2015-08-27nd_blk: change aperture mapping from WC to WBRoss Zwisler 2015-08-24lib: scatterlist: add sg splitting functionRobert Jarzmik 2015-08-20average: remove out-of-line implementationJohannes Berg 2015-08-15percpu-rwsem: kill CONFIG_PERCPU_RWSEMOleg Nesterov