psp response issue on ubuntu 19.04 disco kernel

Yang, Adam Adam1.Yang at
Fri Mar 29 11:57:39 UTC 2019

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

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)

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: <>
-------------- 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: <>

More information about the kernel-team mailing list