Feature: Add powernv-cpufreq upstream bug fixes to ubuntu-14.04.02 kernel

Bug #1397928 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Utopic
Fix Released
Medium
Chris J Arges

Bug Description

SRU Justification:
[Impact]
Users of ppc64el arches could have issues related to powernv-cpufreq.
[Test Case]
Ensure the pstate of various cpus respond properly after hotswapping/kexec/reboot events.
[Fix]
789ca24 cpufreq: Allow stop CPU callback to be used by all cpufreq drivers
b120339 cpufreq: powernv: Set the pstate of the last hotplugged out cpu in policy->cpus to minimum
cf30af76 cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

--

Problem Description
===========================
This is a feature request to include the following upstream(3.18) commits to Ubuntu-14.04.02 kernel.
1)789ca2 cpufreq: Allow stop CPU callback to be used by all cpufreq drivers
2)b12033 cpufreq: powernv: Set the pstate of the last hotplugged out cpu in policy->cpus to minimum
3)cf30af cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

== Comment: #1 - Shilpasri G. Bhat <email address hidden> ==
This patch was applied on top of kernel(3.16) ubuntu-trusty/lts-backport-utopic
(8bf5db16 UBUNTU: Ubuntu-lts-3.16.0-26.34~14.04.1)

Revision history for this message
bugproxy (bugproxy) wrote : 789ca2 cpufreq: Allow stop CPU callback to be used by all cpufreq drivers

Default Comment by Bridge

tags: added: architecture-ppc64le bugnameltc-118940 severity-medium targetmilestone-inin140402
Revision history for this message
bugproxy (bugproxy) wrote : b12033 cpufreq: powernv: Set the pstate of the last hotplugged out cpu in policy->cpus

Default Comment by Bridge

Revision history for this message
bugproxy (bugproxy) wrote : cf30af cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

Default Comment by Bridge

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1397928/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Confirmed
Chris J Arges (arges)
Changed in linux (Ubuntu Utopic):
assignee: nobody → Chris J Arges (arges)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Chris J Arges (arges) wrote :

All commits are present in v3.18-rc1

Chris J Arges (arges)
description: updated
Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Breno Leitão (breno-leitao) wrote :

hi Chris,

The target for this bug is 14.04.2 (Trusty). We would need to have these features over 3.16 kernel that would make into trusty.

Revision history for this message
Chris J Arges (arges) wrote :

@breno-leitao
Hi, we'll make sure this gets into the lts-utopic kernel for Trusty.
Thanks,

Brad Figg (brad-figg)
Changed in linux (Ubuntu Utopic):
status: In Progress → Fix Committed
Revision history for this message
Brad Figg (brad-figg) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-utopic' to 'verification-done-utopic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-utopic
Revision history for this message
Chris J Arges (arges) wrote :

Tested by hotplugging CPUs and kexec'ing checking cpuinfo_cur_freq before and after these events.

Before hotplug CPU can be at various frequencies.
After hotplug CPU is at minimum frequency.

Before kexec CPUs are around min frequency (mostly idle machine).
After kexec all CPUs are at 3690000 which is the highest freq for that machine, eventually cpufreq returns to minimal/lower values.

tags: added: verification-done-utopic
removed: verification-needed-utopic
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (21.8 KiB)

This bug was fixed in the package linux - 3.16.0-29.39

---------------
linux (3.16.0-29.39) utopic; urgency=low

  [ Kamal Mostafa ]

  * Release Tracking Bug
    - LP: #1402822

  [ AceLan Kao ]

  * SAUCE: Add use_native_backlight quirk for HP ProBook 6570b
    - LP: #1359010

  [ Andy Whitcroft ]

  * Revert "SAUCE: (no-up) arm64: optimized copy_to_user and copy_from_user
    assembly code"
    - LP: #1398596
  * [Config] updateconfigs to balance CONFIG_SCOM_DEBUGFS

  [ Paolo Pisati ]

  * [Config] armhf: VIRTIO_[BALLOON|MMIO]=y

  [ Upstream Kernel Changes ]

  * Revert "arm64: Make default dma_ops to be noncoherent"
    - LP: #1386490
  * Revert "percpu: free percpu allocation info for uniprocessor system"
    - LP: #1401079
  * ath3k: Add support of MCI 13d3:3408 bt device
    - LP: #1395465
  * x86: kvm: use alternatives for VMCALL vs. VMMCALL if kernel text is
    read-only
    - LP: #1379340
  * cpufreq: Allow stop CPU callback to be used by all cpufreq drivers
    - LP: #1397928
  * cpufreq: powernv: Set the pstate of the last hotplugged out cpu in
    policy->cpus to minimum
    - LP: #1397928
  * cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec
    - LP: #1397928
  * xen-netfront: Remove BUGs on paged skb data which crosses a page
    boundary
    - LP: #1275879
  * ACPI / blacklist: blacklist Win8 OSI for Dell Vostro 3546
    - LP: #1383589
  * iwlwifi: add device / firmware to fw-error-dump file
    - LP: #1399440
  * iwlwifi: rename iwl_mvm_fw_error_next_data
    - LP: #1399440
  * iwlwifi: pcie: add firmware monitor capabilities
    - LP: #1399440
  * iwlwifi: remove wrong comment about alignment in iwl-fw-error-dump.h
    - LP: #1399440
  * iwlwifi: mvm: don't collect logs in the interrupt thread
    - LP: #1399440
  * iwlwifi: mvm: kill iwl_mvm_fw_error_rxf_dump
    - LP: #1399440
  * iwlwifi: mvm: update layout of firmware error dump
    - LP: #1399440
  * powerpc/pseries: Fix endiannes issue in RTAS call from xmon
    - LP: #1396235
  * mmc: sdhci-pci-o2micro: Fix Dell E5440 issue
    - LP: #1346067
  * mfd: rtsx: Fix PM suspend for 5227 & 5249
    - LP: #1359052
  * samsung-laptop: Add broken-acpi-video quirk for NC210/NC110
    - LP: #1401079
  * acer-wmi: Add acpi_backlight=video quirk for the Acer KAV80
    - LP: #1401079
  * pinctrl: baytrail: show output gpio state correctly on Intel Baytrail
    - LP: #1401079
  * ALSA: hda - Add dock support for Thinkpad T440 (17aa:2212)
    - LP: #1401079
  * ALSA: hda - Add ultra dock support for Thinkpad X240.
    - LP: #1401079
  * rbd: Fix error recovery in rbd_obj_read_sync()
    - LP: #1401079
  * ds3000: fix LNB supply voltage on Tevii S480 on initialization
    - LP: #1401079
  * powerpc: do_notify_resume can be called with bad thread_info flags
    argument
    - LP: #1401079
  * powerpc/powernv: Properly fix LPC debugfs endianness
    - LP: #1401079
  * irqchip: armada-370-xp: Fix MSI interrupt handling
    - LP: #1401079
  * irqchip: armada-370-xp: Fix MPIC interrupt handling
    - LP: #1401079
  * USB: kobil_sct: fix non-atomic allocation in write path
    - LP: #1401079
  * USB: opticon: fix non-atomic allocation in write path
    - LP: #14010...

Changed in linux (Ubuntu Utopic):
status: Fix Committed → Fix Released
bugproxy (bugproxy)
tags: removed: verification-done-utopic
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.