FW: psp response issue on ubuntu 19.04 disco kernel

Yang, Adam Adam1.Yang at amd.com
Mon Apr 1 07:34:16 UTC 2019

I'm resending the mail since Anthony said it was not received successfully. See the forwarded message for main content.

Software Engineer, MLSE
AMD, Advanced Micro Devices
Phone: +86-13761283909
Adam Yang

From: Yang, Adam <Adam1.Yang at amd.com>
Sent: Friday, March 29, 2019 7:58 PM
To: kernel-team at lists.ubuntu.com
Cc: Huan, Alvin <Alvin.Huan at amd.com>; Kent Lin <kent.lin at canonical.com>; timo.aaltonen at canonical.com
Subject: psp response issue on ubuntu 19.04 disco kernel

Hi Canonical kernel team,
I'm an engineer for AMD and we've discovered an issue that causes the kernel hang during boot in Ubuntu 19.04. After querying with the canonical team, they introduce that it is better to send the patch directly here.

----- background information -----

I'm Adam from AMD to help improve Ubuntu user experiences and ecosystem on AMD platforms.

Currently I have worked on a bug on AMD Raven 2 platform and hope that the critical issue is merged in the kernel before the kernel freezes on April 4 th.
I have updated the issue information on Launchpad at https://bugs.launchpad.net/amd/+bug/1822267.

In case that the page permission is not correctly setup, I'd attach the issue in the plain text form as following and the backport patch as a file:

Title: [Patch][Raven 2] kernel 5.0.0 cannot boot because of psp response

Bug Description:


Raven 2 platform fails to boot on ubuntu 19.04 (disco) with kernel 5.0.0. The issue is related to a fixed patch in linux-mainline about psp response code status.

In some cases, psp response status is not 0 even there is no problem while the command is submitted. Some version of PSP FW doesn't write 0 to that field. So here we would like to only print a warning instead of an error during psp initialization to avoid breaking hw_init and it doesn't return -EINVAL.

1. Install Ubuntu 19.04 daily build on AMD Raven 2 platform (reproduced with 2019.03.18 version)
2. Reboot and it fails at kernel initialization.

Current patch status:
A patch has already accepted in the linux mainline. (id: 466bcb75b0791ba301817cdadeed20398f2224fe)
See: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=466bcb75b0791ba301817cdadeed20398f2224fe

Backport status:
A backport patch is available and verified.

Software Engineer, MLSE
AMD, Advanced Micro Devices
Phone: +86-13761283909
Adam Yang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20190401/cf60c62b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-amdgpu-psp-ignore-psp-response-status.patch
Type: application/octet-stream
Size: 2387 bytes
Desc: 0001-drm-amdgpu-psp-ignore-psp-response-status.patch
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20190401/cf60c62b/attachment-0001.obj>

More information about the kernel-team mailing list