← Back to team overview

kernel-packages team mailing list archive

[Bug 1555765] Re: Backport upstream bugfixes to ubuntu-16.04

 

Found and applied patch 6 at patchwork.ozlab.com. Patch 7 is gonna take
a bit more work.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1555765

Title:
  Backport upstream bugfixes to ubuntu-16.04

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  Backport the below upstream "powernv-cpufreq" bug fixes to ubuntu
  16.04:

  The below listed patchset is accepted upstream and is in linux-next.

  1) 86622cb8c57abb05fe95bea3a068949c0ca79fc3 cpufreq: powernv: Free 'chips' on module exit
  2) 6d167a44e6c8da3316e037b788585fcf96112bea  cpufreq: powernv: Hot-plug safe the kworker thread
  3) 96c4726f01cdbf53acf74cf2394e287d74bf40a3 cpufreq: powernv: Remove cpu_to_chip_id() from hot-path
  4) 0306e481d479a58eff17c27adf213fbb5822946b cpufreq: powernv/tracing: Add powernv_throttle tracepoint
  5)c89f2682a39192433c296bf97b834fd2815a758b cpufreq: powernv: Replace pr_info with trace print for throttle event

  Two more patches that are posted upstream:
  6) http://marc.info/?l=linuxppc-embedded&m=145648325218686&w=2
  7) http://marc.info/?l=linux-pm&m=145648316718658&w=2

  1) Fixes a memory leak
  2) Makes the worker thread hot-plug safe which is scheduled on an OCC event.
  3) Fixes the below bug which cause 4% cpu overhead by powernv_cpufreq_throttle_check() function.
       4.44%  [k] _raw_spin_lock_irqsave                                 
              |          
              |--48.56%-- _raw_spin_lock_irqsave
              |          |          
              |          |--72.55%-- of_find_property
              |          |          |          
              |          |          |--62.14%-- of_n_addr_cells
              |          |          |          __of_find_n_match_cpu_property
              |          |          |          |          
              |          |          |          |--75.72%-- of_get_cpu_node
              |          |          |          |          cpu_to_chip_id
              |          |          |          |          powernv_cpufreq_throttle_check
              |          |          |          |          powernv_cpufreq_target_index
              |          |          |          |          __cpufreq_driver_target
  4) , 5) and 7) are permanent fixes for BZ 131119, BZ 130125 which complained on the throttle message reporting
  6) Fixes bug in powernv_cpufreq_{init/exit}

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1555765/+subscriptions