[Kernel-packages] [Bug 1685792] Comment bridged from LTC Bugzilla

2017-05-16 Thread bugproxy
--- Comment From ranjs...@in.ibm.com 2017-05-16 02:51 EDT---
Hello,

(In reply to comment #12)
> I'd like to submit and SRU for these four patches.  However, the fourth
> patch attached to this bug seems to have changes since it landed in mainline.
>
> The fourth patch posted in comment #4 does apply cleanly to Ubuntu 17.04.
> However, a cherry pick of 17ed4c8f81da from upstream 4.12-rc1 fails.  The
> cherry pick fails because your patch has:
>
> +   OFFSET(PACA_SIBLING_PACA_PTRS, paca_struct, thread_sibling_pacas);
>
> However, the mainline version has changed to:
> +   DEFINE(PACA_SIBLING_PACA_PTRS,
>
> Did you perform a backport of the fourth patch in the version you attached?
> If so, we can apply it to 17.04 that way, but I just want to confirm.

Yes, the attached patches are backports. Especially the fourth patch as
it didn't apply cleanly precisely due to the reason you have alluded to.

-- 
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/1685792

Title:
  Offlined CPUs of a core fail to come up online on POWER9 DD1 (Ubuntu
  17.04)

Status in The Ubuntu-power-systems project:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Zesty:
  In Progress

Bug description:
  == Comment: #0 - Ranjal G. Shenoy  - 2017-04-20 08:29:13 
==
  Power9 DD1 has a hardware issue due to which  in core whose all threads are 
offlined , when any of the CPUs are onlined, they come online with an incorrect 
PACA thereby resulting in a crash.

  The following fixes sent upstream need to applied to the 17.04 kernel
  to get CPU-Hotplug working correctly on a Power9 DD1 system.

  1) powerpc/linux.git next, commit a7cd88da9704 ("powernv: Move CPU-
  Offline idle state invocation from smp.c to idle.c").

  2) powerpc/linux.git next, the commit 900612315788
  ("powerpc/powernv/smp: Add busy-wait loop as fall back for CPU-
  Hotplug").

  3) powerpc/linux.git, commit f3b3f28493d932 ("powerpc/powernv/idle:
  Don't override default/deepest directly in kernel").

  4) powerpc/linux.git next, commit 17ed4c8f81da ("powerpc/powernv:
  Recover correct PACA on wakeup from a stop on P9 DD1").

  These patches have been backported onto the 17.04 Kernel tagged
  Ubuntu-4.10.0-19.21.

  == Comment: #1 - Ranjal G. Shenoy  - 2017-04-20
  08:29:54 ==

  
  == Comment: #2 - Ranjal G. Shenoy  - 2017-04-20 08:30:37 
==

  
  == Comment: #3 - Ranjal G. Shenoy  - 2017-04-20 08:31:15 
==

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1685792/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1685792] Comment bridged from LTC Bugzilla

2017-05-04 Thread bugproxy
--- Comment From ranjs...@in.ibm.com 2017-05-04 09:01 EDT---
(In reply to comment #10)
> I built a test kernel with these four patches.  The test kernel can be
> downloaded from:
> http://kernel.ubuntu.com/~jsalisbury/lp1685792/

I have verified that the CPU-Hotplug functions correctly on this kernel
on a  machine booted with upstream skiboot.

It can be observed that the CPUs were put into stop1 on a hotplug.

root@ubuntu:/home/ego# dmesg | grep -i "deep" | grep stop
[0.702036] cpuidle-powernv: Deepest stop: psscr = 
0x00300331,mask=0x003003ff
[0.702185] cpuidle-powernv: Requested Level (RL) value of first deep stop = 
0xf


-- 
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/1685792

Title:
  Offlined CPUs of a core fail to come up online on POWER9 DD1 (Ubuntu
  17.04)

Status in The Ubuntu-power-systems project:
  New
Status in linux package in Ubuntu:
  New

Bug description:
  == Comment: #0 - Ranjal G. Shenoy  - 2017-04-20 08:29:13 
==
  Power9 DD1 has a hardware issue due to which  in core whose all threads are 
offlined , when any of the CPUs are onlined, they come online with an incorrect 
PACA thereby resulting in a crash.

  The following fixes sent upstream need to applied to the 17.04 kernel
  to get CPU-Hotplug working correctly on a Power9 DD1 system.

  1) powerpc/linux.git next, commit a7cd88da9704 ("powernv: Move CPU-
  Offline idle state invocation from smp.c to idle.c").

  2) powerpc/linux.git next, the commit 900612315788
  ("powerpc/powernv/smp: Add busy-wait loop as fall back for CPU-
  Hotplug").

  3) powerpc/linux.git, commit f3b3f28493d932 ("powerpc/powernv/idle:
  Don't override default/deepest directly in kernel").

  4) powerpc/linux.git next, commit 17ed4c8f81da ("powerpc/powernv:
  Recover correct PACA on wakeup from a stop on P9 DD1").

  These patches have been backported onto the 17.04 Kernel tagged
  Ubuntu-4.10.0-19.21.

  == Comment: #1 - Ranjal G. Shenoy  - 2017-04-20
  08:29:54 ==

  
  == Comment: #2 - Ranjal G. Shenoy  - 2017-04-20 08:30:37 
==

  
  == Comment: #3 - Ranjal G. Shenoy  - 2017-04-20 08:31:15 
==

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1685792/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp