[Kernel-packages] [Bug 2024427] Re: S3 stress issue for amdgpu Navi 31/Navi33

2023-10-07 Thread Alvin Huan
Please help fix this issue asap. Thanks!

https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2038745


[Impact]

NV31 XTX/XTW cannot boot into Ubuntu 22.04.3 after upgrading distro to
latest Ubuntu 22.04.3 kernel and firmware

Not repro with NV21 XL or W6800

[Fix]
Cherry-pick the latest PMFW 
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu/smu_13_0_0.bin

[Other Info]

The IMU FW included in Linux firmware package needs to be paired with
the latest PMFW smu_13_0_0.bin for Navi31

Jammy firmware updates only include latest IMU firmware.

https://www.ubuntuupdates.org/package/core/jammy/main/updates/linux-
firmware

20220329.git681281e4-0ubuntu3.19

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu/gc_11_0_0_imu.bin
(Missing) 
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu/smu_13_0_0.bin

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

Title:
  S3 stress issue for amdgpu Navi 31/Navi33

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  Triaged
Status in linux-firmware package in Ubuntu:
  Fix Released
Status in linux-oem-6.1 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-firmware source package in Jammy:
  Triaged
Status in linux-oem-6.1 source package in Jammy:
  Fix Released
Status in linux source package in Lunar:
  Fix Committed
Status in linux-firmware source package in Lunar:
  Fix Committed
Status in linux-oem-6.1 source package in Lunar:
  Invalid
Status in linux source package in Mantic:
  Triaged
Status in linux-firmware source package in Mantic:
  Fix Released
Status in linux-oem-6.1 source package in Mantic:
  Invalid

Bug description:
  [SRU Justification]

  BugLink: https://bugs.launchpad.net/bugs/2024427

  [Impact]

  Under stress testing it was reported that the amdgpu Navi31/Navi33 platforms
  will sometimes fail to wake from S3.

  [Fix]

  kernel patches:
  ac2f5739fdca drm/amdgpu/mes11: enable reg active poll
  a2fe4534bb38 drm/amd/amdgpu: update mes11 api def
  da9a8dc33da2 drm/amdgpu: reserve the old gc_11_0_*_mes.bin
  616843d5a11b drm/amd/amdgpu: introduce gc_*_mes_2.bin v2
  09bf14907d86 drm/amdgpu: declare firmware for new MES 11.0.4

  firmware patches:
  * Navi31: ffe1a41e2ddb amdgpu: update GC 11.0.0 firmware for amd.5.5 release
  * Navi33: a5d7b4df1a76 amdgpu: update GC 11.0.2 firmware for amd.5.5 release

  [Test Case]

  $ checkbox-cli run com.canonical.certification::stress-
  suspend-30-cycles-with-reboots-automated

  [Where problems could occur]

  Little we know about the firmware fixes. However, while with these commits 
have
  been pulled via stable kernel fixes, the driver begins to request new firmware
  blobs of a different filename.

  [Other Info]

  The kernel driver commits are in v6.4-rc1, backported to v6.3.4, v6.1.31, and
  partially (missing da9a8dc33da2, 616843d5a11b) v6.2.16. Only linux/lunar has 
to
  be fixed.

  For the firmware parts, they have been included in linux-firmware/mantic,
  leaving linux-firmware/lunar and linux-firmware/jammy to be fixed.

  == original bug report ==

  amdgppu update is needed to fix some potential Navi31/Navi33 S3 issue.

  amdgpu:
  ac2f5739fdca drm/amdgpu/mes11: enable reg active poll
  a2fe4534bb38 drm/amd/amdgpu: update mes11 api def
  da9a8dc33da2 drm/amdgpu: reserve the old gc_11_0_*_mes.bin
  616843d5a11b drm/amd/amdgpu: introduce gc_*_mes_2.bin v2
  09bf14907d86 drm/amdgpu: declare firmware for new MES 11.0.4

  Navi31:
  
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=ffe1a41e2ddbc39109b12d95dcac282d90eba8fc
  Navi33:
  
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=a5d7b4df1a76f82e2ecb725cc1b56ce111830bac

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2024427/+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 2038745] [NEW] NV31 XTX cannot boot into Ubuntu 22.04.3 Desktop with upstream(inbox) driver installed

2023-10-07 Thread Alvin Huan
Public bug reported:

[Impact]


NV31 XTX/XTW cannot boot into Ubuntu 22.04.3 after upgrading distro to
latest Ubuntu 22.04.3 kernel and firmware


Not repro with NV21 XL or W6800


[Fix]
Cherry-pick the latest PMFW 
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu/smu_13_0_0.bin


[Other Info]


The IMU FW included in Linux firmware package needs to be paired with
the latest PMFW smu_13_0_0.bin for Navi31

Jammy firmware updates only include latest IMU firmware.


https://www.ubuntuupdates.org/package/core/jammy/main/updates/linux-
firmware


20220329.git681281e4-0ubuntu3.19


https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu/gc_11_0_0_imu.bin
(Missing) 
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu/smu_13_0_0.bin

** Affects: linux-firmware (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  NV31 XTX cannot boot into Ubuntu 22.04.3 Desktop with upstream(inbox)
  driver installed

Status in linux-firmware package in Ubuntu:
  New

Bug description:
  [Impact]


  NV31 XTX/XTW cannot boot into Ubuntu 22.04.3 after upgrading distro to
  latest Ubuntu 22.04.3 kernel and firmware


  Not repro with NV21 XL or W6800



  [Fix]
  Cherry-pick the latest PMFW 
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu/smu_13_0_0.bin



  [Other Info]


  The IMU FW included in Linux firmware package needs to be paired with
  the latest PMFW smu_13_0_0.bin for Navi31

  Jammy firmware updates only include latest IMU firmware.


  https://www.ubuntuupdates.org/package/core/jammy/main/updates/linux-
  firmware


  20220329.git681281e4-0ubuntu3.19


  
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu/gc_11_0_0_imu.bin
  (Missing) 
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu/smu_13_0_0.bin

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2038745/+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 1742759] Re: boot failure on AMD Raven + WestonXT

2018-02-22 Thread Alvin Huan
** Changed in: amd
   Status: New => Confirmed

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

Title:
  boot failure on AMD Raven + WestonXT

Status in amd:
  Confirmed
Status in linux package in Ubuntu:
  Fix Released
Status in linux-oem package in Ubuntu:
  Invalid
Status in linux source package in Xenial:
  Invalid
Status in linux-oem source package in Xenial:
  Fix Released
Status in linux source package in Artful:
  Fix Released
Status in linux-oem source package in Artful:
  Invalid

Bug description:
  This issue has been fixed with with patch:

  https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-
  next-4.16=052c299080cd6859f82a8154a7a673fafabe644c

  drm/amdgpu: add atpx quirk handling (v2)
  Add quirks for handling PX/HG systems.  In this case, add
  a quirk for a weston dGPU that only seems to properly power
  down using ATPX power control rather than HG (_PR3).

  v2: append a new weston XT

To manage notifications about this bug go to:
https://bugs.launchpad.net/amd/+bug/1742759/+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 1742759] Re: boot failure on AMD Raven + WestonXT

2018-02-07 Thread Alvin Huan
Can we fix this issue in Ubuntu 16.04 "linux-hwe" kernel as well? in
case, end user try to install Ubuntu 16.04.4 on their Raven+WestonXT
platform, they will run into this issue.

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

Title:
  boot failure on AMD Raven + WestonXT

Status in amd:
  New
Status in linux package in Ubuntu:
  Fix Committed
Status in linux-oem package in Ubuntu:
  Invalid
Status in linux source package in Xenial:
  Invalid
Status in linux-oem source package in Xenial:
  Fix Committed
Status in linux source package in Artful:
  Triaged
Status in linux-oem source package in Artful:
  Invalid

Bug description:
  This issue has been fixed with with patch:

  https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-
  next-4.16=052c299080cd6859f82a8154a7a673fafabe644c

  drm/amdgpu: add atpx quirk handling (v2)
  Add quirks for handling PX/HG systems.  In this case, add
  a quirk for a weston dGPU that only seems to properly power
  down using ATPX power control rather than HG (_PR3).

  v2: append a new weston XT

To manage notifications about this bug go to:
https://bugs.launchpad.net/amd/+bug/1742759/+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 1742759] Re: boot failure on AMD Raven + WestonXT

2018-02-07 Thread Alvin Huan
** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

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

Title:
  boot failure on AMD Raven + WestonXT

Status in amd:
  New
Status in linux package in Ubuntu:
  Fix Committed
Status in linux-oem package in Ubuntu:
  Invalid
Status in linux source package in Xenial:
  Invalid
Status in linux-oem source package in Xenial:
  Fix Committed
Status in linux source package in Artful:
  Triaged
Status in linux-oem source package in Artful:
  Invalid

Bug description:
  This issue has been fixed with with patch:

  https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-
  next-4.16=052c299080cd6859f82a8154a7a673fafabe644c

  drm/amdgpu: add atpx quirk handling (v2)
  Add quirks for handling PX/HG systems.  In this case, add
  a quirk for a weston dGPU that only seems to properly power
  down using ATPX power control rather than HG (_PR3).

  v2: append a new weston XT

To manage notifications about this bug go to:
https://bugs.launchpad.net/amd/+bug/1742759/+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 1711096] Re: dma-buf: performance issue when looking up the fence status

2017-08-17 Thread Alvin Huan
** Description changed:

  SRU Request:
  
  [Impact]
  When a timeout of zero is specified, the caller is only interested in
  the fence status.
  
  In the current implementation, dma_fence_default_wait will always call
  schedule_timeout() at least once for an unsignaled fence. This adds a
  significant overhead to a fence status query.
  
  Avoid this overhead by returning early if a zero timeout is specified.
  
  [Test Case]
  1) Install the new kernel
  
- 2)
+ 2) Download amdgpu-pro-17.30-465504.tar.xz from http://support.amd.com
+ /en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx,
+ and follow the install guide to install the driver on Ubuntu 16.04.3
+ 
+ 3) Install Unigine Heaven to get performance score
+ 
+ 4) Rmeove DKMS, remove this patch
+ 
http://git.amd.com:8080/gitweb?p=brahma/ec/linux.git;a=commit;h=8586edda6677b90f3971919f3c6babbbec4b5b8c
+ from DKMS source code, and install DKMS
+ 
+ 5) re-run the benchmark, and check if there's any obvious performance
+ drop.
  
  [Regression Potential]
  Low, the patch is very small, and it is already available upstream.
  
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=03c0c5f6641533f5fc14bf4e76d2304197402552

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

Title:
  dma-buf: performance issue when looking up the fence status

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Zesty:
  In Progress

Bug description:
  SRU Request:

  [Impact]
  When a timeout of zero is specified, the caller is only interested in
  the fence status.

  In the current implementation, dma_fence_default_wait will always call
  schedule_timeout() at least once for an unsignaled fence. This adds a
  significant overhead to a fence status query.

  Avoid this overhead by returning early if a zero timeout is specified.

  [Test Case]
  1) Install the new kernel

  2) Download amdgpu-pro-17.30-465504.tar.xz from http://support.amd.com
  /en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-
  Notes.aspx, and follow the install guide to install the driver on
  Ubuntu 16.04.3

  3) Install Unigine Heaven to get performance score

  4) Rmeove DKMS, remove this patch
  
http://git.amd.com:8080/gitweb?p=brahma/ec/linux.git;a=commit;h=8586edda6677b90f3971919f3c6babbbec4b5b8c
  from DKMS source code, and install DKMS

  5) re-run the benchmark, and check if there's any obvious performance
  drop.

  [Regression Potential]
  Low, the patch is very small, and it is already available upstream.

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=03c0c5f6641533f5fc14bf4e76d2304197402552

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1711096/+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 1711098] Re: AMD RV platforms with SNPS 3.1 USB controller stop responding (S3 issue)

2017-08-17 Thread Alvin Huan
** Description changed:

  SRU Request:
  
  [Impact]
  AMD RV platforms with SNPS 3.1 USB controllers will stop responding because 
of an RTL bug.
  
- This workaround fixes S3 on these platforms:
+ This workaround fixes S3 on RV platform with a USB keyboard
  
  [Test Case]
  1) Install the new kernel
  
- 2)
+ 2) Run pm-suspend
+ 
+ 3) Press any key to wake up the system
  
  [Regression Potential]
  Low, the patch is very small, and it is already available upstream.
  
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/usb/host
  /xhci-hub.c?h=v4.13-rc2=28a2369f7d72ece55089f33e7d7b9c1223673cc3

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

Title:
  AMD RV platforms with SNPS 3.1 USB controller stop responding (S3
  issue)

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Zesty:
  In Progress

Bug description:
  SRU Request:

  [Impact]
  AMD RV platforms with SNPS 3.1 USB controllers will stop responding because 
of an RTL bug.

  This workaround fixes S3 on RV platform with a USB keyboard

  [Test Case]
  1) Install the new kernel

  2) Run pm-suspend

  3) Press any key to wake up the system

  [Regression Potential]
  Low, the patch is very small, and it is already available upstream.

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/usb/host
  /xhci-hub.c?h=v4.13-rc2=28a2369f7d72ece55089f33e7d7b9c1223673cc3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1711098/+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