[AMD Official Use Only - Internal Distribution Only] > -----Original Message----- > From: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> > Sent: Friday, April 17, 2020 2:06 PM > To: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>; Shuah Khan > <skhan@xxxxxxxxxxxxxxxxxxx>; LKML <linux-kernel@vger.kernelnorg>; > Liang, Prike <Prike.Liang@xxxxxxx>; Deucher, Alexander > <Alexander.Deucher@xxxxxxx>; stable <stable@xxxxxxxxxxxxxxx> > Subject: Linux 5.7-rc1 reboot/poweroff hangs > > Hi Linus, > > Linux 5.7-rc1 reboot/powereoff hangs on AMD Ryzen 5 PRO 2400GE system. > > I isolated the commit to: > > Revering the following commit fixes the problem. The fix is already sent out in my -fixes pull for this week: https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-5.7&id=b2a7e9735ab2864330be9d00d7f38c961c28de5d Alex > > commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58 > Author: Prike Liang <Prike.Liang@xxxxxxx> > Date: Tue Apr 7 20:21:26 2020 +0800 > > drm/amdgpu: fix gfx hang during suspend with video playback (v2) > > The system will be hang up during S3 suspend because of SMU is > pending for GC not respose the register CP_HQD_ACTIVE access > request.This issue root cause of accessing the GC register under > enter GFX CGGPG and can be fixed by disable GFX CGPG before perform > suspend. > > v2: Use disable the GFX CGPG instead of RLC safe mode guard. > > Signed-off-by: Prike Liang <Prike.Liang@xxxxxxx> > Tested-by: Mengbing Wang <Mengbing.Wang@xxxxxxx> > Reviewed-by: Huang Rui <ray.huang@xxxxxxx> > Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx > > > I did the bisect on Linux 5.6.5-rc1 > > git bisect start > # good: [0a27a29496060843ae3a8fe78aaec0062cbd5dfa] Linux 5.6.4 git bisect > good 0a27a29496060843ae3a8fe78aaec0062cbd5dfa > # bad: [576aa353744ce5f1279071363e4a55e97f486f39] Linux 5.6.5-rc1 git > bisect bad 576aa353744ce5f1279071363e4a55e97f486f39 > # good: [7509db5d111a5763a199902052eecc480e0ec724] x86/tsc_msr: Make > MSR derived TSC frequency more accurate git bisect good > 7509db5d111a5763a199902052eecc480e0ec724 > # good: [15f1ead7d7966d087352ba2cf81a1759b25ad163] scsi: lpfc: Fix broken > Credit Recovery after driver load git bisect good > 15f1ead7d7966d087352ba2cf81a1759b25ad163 > # good: [9e52b4ab5fadd803c8c2e617aa8c151720757fb1] s390/diag: fix display > of diagnose call statistics git bisect good > 9e52b4ab5fadd803c8c2e617aa8c151720757fb1 > # good: [3e1e6903924fd6c95db7e46c5baa41dfa0f46fdb] > powerpc/hash64/devmap: Use H_PAGE_THP_HUGE when setting up huge > devmap PTE entries git bisect good > 3e1e6903924fd6c95db7e46c5baa41dfa0f46fdb > # good: [0344e0fee2f904ebce1d58bec8ace3ee9cf5f777] drm/dp_mst: Fix > clearing payload state on topology disable git bisect good > 0344e0fee2f904ebce1d58bec8ace3ee9cf5f777 > # bad: [136881c0420bb52d5f21f75688f5aee1cf401737] perf/core: Unify > {pinned,flexible}_sched_in() > git bisect bad 136881c0420bb52d5f21f75688f5aee1cf401737 > # bad: [0d928b424b99cfe0e7806c530f6039a053d5082d] drm/i915/ggtt: do not > set bits 1-11 in gen12 ptes git bisect bad > 0d928b424b99cfe0e7806c530f6039a053d5082d > # bad: [a655a99c9f6a1d819d695fca6d48b450449f45ee] drm/amdgpu: fix gfx > hang during suspend with video playback (v2) git bisect bad > a655a99c9f6a1d819d695fca6d48b450449f45ee > # first bad commit: [a655a99c9f6a1d819d695fca6d48b450449f45ee] > drm/amdgpu: fix gfx hang during suspend with video playback (v2) > > > thanks, > -- Shuah