All of lore.kernel.org
 help / color / mirror / Atom feed
* [regression 5.7-rc1] System does not power off, just halts
@ 2020-04-13  8:44 Paul Menzel
  2020-04-13 17:32   ` Paul Menzel
  0 siblings, 1 reply; 15+ messages in thread
From: Paul Menzel @ 2020-04-13  8:44 UTC (permalink / raw)
  To: x86, LKML; +Cc: regressions

Dear Linux folks,


A regression between causes a system with the AMD board MSI B350M MORTAR 
(MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just 
to halt.

The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the 
process to bisect this, but maybe somebody already has an idea.


Kind regards,

Paul

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
  2020-04-13  8:44 [regression 5.7-rc1] System does not power off, just halts Paul Menzel
  2020-04-13 17:32   ` Paul Menzel
@ 2020-04-13 17:32   ` Paul Menzel
  0 siblings, 0 replies; 15+ messages in thread
From: Paul Menzel @ 2020-04-13 17:32 UTC (permalink / raw)
  To: Prike Liang, Alex Deucher
  Cc: x86, LKML, regressions, stable, Mengbing Wang, Huang Rui,
	amd-gfx, dri-devel, David Airlie, Daniel Vetter

Dear Prike, dear Alex, dear Linux folks,


Am 13.04.20 um 10:44 schrieb Paul Menzel:

> A regression between causes a system with the AMD board MSI B350M MORTAR 
> (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just 
> to halt.
> 
> The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the 
> process to bisect this, but maybe somebody already has an idea.

I found the Easter egg:

> commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> Author: Prike Liang <Prike.Liang@amd.com>
> 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@amd.com>
>     Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
>     Reviewed-by: Huang Rui <ray.huang@amd.com>
>     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>     Cc: stable@vger.kernel.org

It reverts cleanly on top of 5.7-rc1, and this fixes the issue.

Greg, please do not apply this to the stable series. The commit message 
doesn’t even reference a issue/bug report, and doesn’t give a detailed 
problem description. What system is it?

Dave, Alex, how to proceed? Revert? I created issue 1094 [1].


Kind regards,

Paul


[1]: https://gitlab.freedesktop.org/drm/amd/-/issues/1094

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
@ 2020-04-13 17:32   ` Paul Menzel
  0 siblings, 0 replies; 15+ messages in thread
From: Paul Menzel @ 2020-04-13 17:32 UTC (permalink / raw)
  To: Prike Liang, Alex Deucher
  Cc: regressions, David Airlie, dri-devel, x86, LKML, stable,
	Huang Rui, amd-gfx, Mengbing Wang

Dear Prike, dear Alex, dear Linux folks,


Am 13.04.20 um 10:44 schrieb Paul Menzel:

> A regression between causes a system with the AMD board MSI B350M MORTAR 
> (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just 
> to halt.
> 
> The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the 
> process to bisect this, but maybe somebody already has an idea.

I found the Easter egg:

> commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> Author: Prike Liang <Prike.Liang@amd.com>
> 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@amd.com>
>     Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
>     Reviewed-by: Huang Rui <ray.huang@amd.com>
>     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>     Cc: stable@vger.kernel.org

It reverts cleanly on top of 5.7-rc1, and this fixes the issue.

Greg, please do not apply this to the stable series. The commit message 
doesn’t even reference a issue/bug report, and doesn’t give a detailed 
problem description. What system is it?

Dave, Alex, how to proceed? Revert? I created issue 1094 [1].


Kind regards,

Paul


[1]: https://gitlab.freedesktop.org/drm/amd/-/issues/1094
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
@ 2020-04-13 17:32   ` Paul Menzel
  0 siblings, 0 replies; 15+ messages in thread
From: Paul Menzel @ 2020-04-13 17:32 UTC (permalink / raw)
  To: Prike Liang, Alex Deucher
  Cc: regressions, David Airlie, dri-devel, x86, LKML, stable,
	Huang Rui, amd-gfx, Daniel Vetter, Mengbing Wang

Dear Prike, dear Alex, dear Linux folks,


Am 13.04.20 um 10:44 schrieb Paul Menzel:

> A regression between causes a system with the AMD board MSI B350M MORTAR 
> (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just 
> to halt.
> 
> The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the 
> process to bisect this, but maybe somebody already has an idea.

I found the Easter egg:

> commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> Author: Prike Liang <Prike.Liang@amd.com>
> 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@amd.com>
>     Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
>     Reviewed-by: Huang Rui <ray.huang@amd.com>
>     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>     Cc: stable@vger.kernel.org

It reverts cleanly on top of 5.7-rc1, and this fixes the issue.

Greg, please do not apply this to the stable series. The commit message 
doesn’t even reference a issue/bug report, and doesn’t give a detailed 
problem description. What system is it?

Dave, Alex, how to proceed? Revert? I created issue 1094 [1].


Kind regards,

Paul


[1]: https://gitlab.freedesktop.org/drm/amd/-/issues/1094
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
  2020-04-13 17:32   ` Paul Menzel
  (?)
@ 2020-04-13 17:48     ` Alex Deucher
  -1 siblings, 0 replies; 15+ messages in thread
From: Alex Deucher @ 2020-04-13 17:48 UTC (permalink / raw)
  To: Paul Menzel
  Cc: Prike Liang, Alex Deucher, regressions, David Airlie,
	Maling list - DRI developers, X86 ML, LKML, for 3.8, Huang Rui,
	amd-gfx list, Daniel Vetter, Mengbing Wang

On Mon, Apr 13, 2020 at 1:47 PM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
>
> Dear Prike, dear Alex, dear Linux folks,
>
>
> Am 13.04.20 um 10:44 schrieb Paul Menzel:
>
> > A regression between causes a system with the AMD board MSI B350M MORTAR
> > (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just
> > to halt.
> >
> > The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the
> > process to bisect this, but maybe somebody already has an idea.
>
> I found the Easter egg:
>
> > commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> > Author: Prike Liang <Prike.Liang@amd.com>
> > 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@amd.com>
> >     Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
> >     Reviewed-by: Huang Rui <ray.huang@amd.com>
> >     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> >     Cc: stable@vger.kernel.org
>
> It reverts cleanly on top of 5.7-rc1, and this fixes the issue.
>
> Greg, please do not apply this to the stable series. The commit message
> doesn’t even reference a issue/bug report, and doesn’t give a detailed
> problem description. What system is it?
>
> Dave, Alex, how to proceed? Revert? I created issue 1094 [1].

Already fixed:
https://patchwork.freedesktop.org/patch/361195/

Alex

>
>
> Kind regards,
>
> Paul
>
>
> [1]: https://gitlab.freedesktop.org/drm/amd/-/issues/1094
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
@ 2020-04-13 17:48     ` Alex Deucher
  0 siblings, 0 replies; 15+ messages in thread
From: Alex Deucher @ 2020-04-13 17:48 UTC (permalink / raw)
  To: Paul Menzel
  Cc: amd-gfx list, David Airlie, X86 ML, Huang Rui, LKML,
	Maling list - DRI developers, Prike Liang, regressions, for 3.8,
	Alex Deucher, Mengbing Wang

On Mon, Apr 13, 2020 at 1:47 PM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
>
> Dear Prike, dear Alex, dear Linux folks,
>
>
> Am 13.04.20 um 10:44 schrieb Paul Menzel:
>
> > A regression between causes a system with the AMD board MSI B350M MORTAR
> > (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just
> > to halt.
> >
> > The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the
> > process to bisect this, but maybe somebody already has an idea.
>
> I found the Easter egg:
>
> > commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> > Author: Prike Liang <Prike.Liang@amd.com>
> > 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@amd.com>
> >     Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
> >     Reviewed-by: Huang Rui <ray.huang@amd.com>
> >     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> >     Cc: stable@vger.kernel.org
>
> It reverts cleanly on top of 5.7-rc1, and this fixes the issue.
>
> Greg, please do not apply this to the stable series. The commit message
> doesn’t even reference a issue/bug report, and doesn’t give a detailed
> problem description. What system is it?
>
> Dave, Alex, how to proceed? Revert? I created issue 1094 [1].

Already fixed:
https://patchwork.freedesktop.org/patch/361195/

Alex

>
>
> Kind regards,
>
> Paul
>
>
> [1]: https://gitlab.freedesktop.org/drm/amd/-/issues/1094
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
@ 2020-04-13 17:48     ` Alex Deucher
  0 siblings, 0 replies; 15+ messages in thread
From: Alex Deucher @ 2020-04-13 17:48 UTC (permalink / raw)
  To: Paul Menzel
  Cc: amd-gfx list, David Airlie, X86 ML, Huang Rui, LKML,
	Maling list - DRI developers, Prike Liang, regressions, for 3.8,
	Daniel Vetter, Alex Deucher, Mengbing Wang

On Mon, Apr 13, 2020 at 1:47 PM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
>
> Dear Prike, dear Alex, dear Linux folks,
>
>
> Am 13.04.20 um 10:44 schrieb Paul Menzel:
>
> > A regression between causes a system with the AMD board MSI B350M MORTAR
> > (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just
> > to halt.
> >
> > The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the
> > process to bisect this, but maybe somebody already has an idea.
>
> I found the Easter egg:
>
> > commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> > Author: Prike Liang <Prike.Liang@amd.com>
> > 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@amd.com>
> >     Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
> >     Reviewed-by: Huang Rui <ray.huang@amd.com>
> >     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> >     Cc: stable@vger.kernel.org
>
> It reverts cleanly on top of 5.7-rc1, and this fixes the issue.
>
> Greg, please do not apply this to the stable series. The commit message
> doesn’t even reference a issue/bug report, and doesn’t give a detailed
> problem description. What system is it?
>
> Dave, Alex, how to proceed? Revert? I created issue 1094 [1].

Already fixed:
https://patchwork.freedesktop.org/patch/361195/

Alex

>
>
> Kind regards,
>
> Paul
>
>
> [1]: https://gitlab.freedesktop.org/drm/amd/-/issues/1094
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
  2020-04-13 17:48     ` Alex Deucher
  (?)
@ 2020-04-14  8:21       ` Greg KH
  -1 siblings, 0 replies; 15+ messages in thread
From: Greg KH @ 2020-04-14  8:21 UTC (permalink / raw)
  To: Alex Deucher
  Cc: Paul Menzel, Prike Liang, Alex Deucher, regressions,
	David Airlie, Maling list - DRI developers, X86 ML, LKML,
	for 3.8, Huang Rui, amd-gfx list, Daniel Vetter, Mengbing Wang

On Mon, Apr 13, 2020 at 01:48:58PM -0400, Alex Deucher wrote:
> On Mon, Apr 13, 2020 at 1:47 PM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
> >
> > Dear Prike, dear Alex, dear Linux folks,
> >
> >
> > Am 13.04.20 um 10:44 schrieb Paul Menzel:
> >
> > > A regression between causes a system with the AMD board MSI B350M MORTAR
> > > (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just
> > > to halt.
> > >
> > > The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the
> > > process to bisect this, but maybe somebody already has an idea.
> >
> > I found the Easter egg:
> >
> > > commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> > > Author: Prike Liang <Prike.Liang@amd.com>
> > > 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@amd.com>
> > >     Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
> > >     Reviewed-by: Huang Rui <ray.huang@amd.com>
> > >     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> > >     Cc: stable@vger.kernel.org
> >
> > It reverts cleanly on top of 5.7-rc1, and this fixes the issue.
> >
> > Greg, please do not apply this to the stable series. The commit message
> > doesn’t even reference a issue/bug report, and doesn’t give a detailed
> > problem description. What system is it?
> >
> > Dave, Alex, how to proceed? Revert? I created issue 1094 [1].
> 
> Already fixed:
> https://patchwork.freedesktop.org/patch/361195/

Any reason that doesn't have a cc: stable tag on it?

And is it committed to any tree at the moment?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
@ 2020-04-14  8:21       ` Greg KH
  0 siblings, 0 replies; 15+ messages in thread
From: Greg KH @ 2020-04-14  8:21 UTC (permalink / raw)
  To: Alex Deucher
  Cc: Paul Menzel, amd-gfx list, David Airlie, X86 ML, Huang Rui, LKML,
	Maling list - DRI developers, Prike Liang, regressions, for 3.8,
	Alex Deucher, Mengbing Wang

On Mon, Apr 13, 2020 at 01:48:58PM -0400, Alex Deucher wrote:
> On Mon, Apr 13, 2020 at 1:47 PM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
> >
> > Dear Prike, dear Alex, dear Linux folks,
> >
> >
> > Am 13.04.20 um 10:44 schrieb Paul Menzel:
> >
> > > A regression between causes a system with the AMD board MSI B350M MORTAR
> > > (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just
> > > to halt.
> > >
> > > The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the
> > > process to bisect this, but maybe somebody already has an idea.
> >
> > I found the Easter egg:
> >
> > > commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> > > Author: Prike Liang <Prike.Liang@amd.com>
> > > 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@amd.com>
> > >     Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
> > >     Reviewed-by: Huang Rui <ray.huang@amd.com>
> > >     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> > >     Cc: stable@vger.kernel.org
> >
> > It reverts cleanly on top of 5.7-rc1, and this fixes the issue.
> >
> > Greg, please do not apply this to the stable series. The commit message
> > doesn’t even reference a issue/bug report, and doesn’t give a detailed
> > problem description. What system is it?
> >
> > Dave, Alex, how to proceed? Revert? I created issue 1094 [1].
> 
> Already fixed:
> https://patchwork.freedesktop.org/patch/361195/

Any reason that doesn't have a cc: stable tag on it?

And is it committed to any tree at the moment?

thanks,

greg k-h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
@ 2020-04-14  8:21       ` Greg KH
  0 siblings, 0 replies; 15+ messages in thread
From: Greg KH @ 2020-04-14  8:21 UTC (permalink / raw)
  To: Alex Deucher
  Cc: Paul Menzel, amd-gfx list, David Airlie, X86 ML, Huang Rui, LKML,
	Maling list - DRI developers, Prike Liang, regressions, for 3.8,
	Daniel Vetter, Alex Deucher, Mengbing Wang

On Mon, Apr 13, 2020 at 01:48:58PM -0400, Alex Deucher wrote:
> On Mon, Apr 13, 2020 at 1:47 PM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
> >
> > Dear Prike, dear Alex, dear Linux folks,
> >
> >
> > Am 13.04.20 um 10:44 schrieb Paul Menzel:
> >
> > > A regression between causes a system with the AMD board MSI B350M MORTAR
> > > (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just
> > > to halt.
> > >
> > > The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the
> > > process to bisect this, but maybe somebody already has an idea.
> >
> > I found the Easter egg:
> >
> > > commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> > > Author: Prike Liang <Prike.Liang@amd.com>
> > > 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@amd.com>
> > >     Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
> > >     Reviewed-by: Huang Rui <ray.huang@amd.com>
> > >     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> > >     Cc: stable@vger.kernel.org
> >
> > It reverts cleanly on top of 5.7-rc1, and this fixes the issue.
> >
> > Greg, please do not apply this to the stable series. The commit message
> > doesn’t even reference a issue/bug report, and doesn’t give a detailed
> > problem description. What system is it?
> >
> > Dave, Alex, how to proceed? Revert? I created issue 1094 [1].
> 
> Already fixed:
> https://patchwork.freedesktop.org/patch/361195/

Any reason that doesn't have a cc: stable tag on it?

And is it committed to any tree at the moment?

thanks,

greg k-h
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
  2020-04-14  8:21       ` Greg KH
  (?)
@ 2020-04-14 13:07         ` Alex Deucher
  -1 siblings, 0 replies; 15+ messages in thread
From: Alex Deucher @ 2020-04-14 13:07 UTC (permalink / raw)
  To: Greg KH
  Cc: Paul Menzel, Prike Liang, Alex Deucher, regressions,
	David Airlie, Maling list - DRI developers, X86 ML, LKML,
	for 3.8, Huang Rui, amd-gfx list, Daniel Vetter, Mengbing Wang

On Tue, Apr 14, 2020 at 4:21 AM Greg KH <greg@kroah.com> wrote:
>
> On Mon, Apr 13, 2020 at 01:48:58PM -0400, Alex Deucher wrote:
> > On Mon, Apr 13, 2020 at 1:47 PM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
> > >
> > > Dear Prike, dear Alex, dear Linux folks,
> > >
> > >
> > > Am 13.04.20 um 10:44 schrieb Paul Menzel:
> > >
> > > > A regression between causes a system with the AMD board MSI B350M MORTAR
> > > > (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just
> > > > to halt.
> > > >
> > > > The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the
> > > > process to bisect this, but maybe somebody already has an idea.
> > >
> > > I found the Easter egg:
> > >
> > > > commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> > > > Author: Prike Liang <Prike.Liang@amd.com>
> > > > 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@amd.com>
> > > >     Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
> > > >     Reviewed-by: Huang Rui <ray.huang@amd.com>
> > > >     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> > > >     Cc: stable@vger.kernel.org
> > >
> > > It reverts cleanly on top of 5.7-rc1, and this fixes the issue.
> > >
> > > Greg, please do not apply this to the stable series. The commit message
> > > doesn’t even reference a issue/bug report, and doesn’t give a detailed
> > > problem description. What system is it?
> > >
> > > Dave, Alex, how to proceed? Revert? I created issue 1094 [1].
> >
> > Already fixed:
> > https://patchwork.freedesktop.org/patch/361195/
>
> Any reason that doesn't have a cc: stable tag on it?
>
> And is it committed to any tree at the moment?

It's going out in my -fixes pull this week with a stable tag.

Alex

>
> thanks,
>
> greg k-h

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
@ 2020-04-14 13:07         ` Alex Deucher
  0 siblings, 0 replies; 15+ messages in thread
From: Alex Deucher @ 2020-04-14 13:07 UTC (permalink / raw)
  To: Greg KH
  Cc: Paul Menzel, amd-gfx list, David Airlie, X86 ML, Huang Rui, LKML,
	Maling list - DRI developers, Prike Liang, regressions, for 3.8,
	Alex Deucher, Mengbing Wang

On Tue, Apr 14, 2020 at 4:21 AM Greg KH <greg@kroah.com> wrote:
>
> On Mon, Apr 13, 2020 at 01:48:58PM -0400, Alex Deucher wrote:
> > On Mon, Apr 13, 2020 at 1:47 PM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
> > >
> > > Dear Prike, dear Alex, dear Linux folks,
> > >
> > >
> > > Am 13.04.20 um 10:44 schrieb Paul Menzel:
> > >
> > > > A regression between causes a system with the AMD board MSI B350M MORTAR
> > > > (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just
> > > > to halt.
> > > >
> > > > The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the
> > > > process to bisect this, but maybe somebody already has an idea.
> > >
> > > I found the Easter egg:
> > >
> > > > commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> > > > Author: Prike Liang <Prike.Liang@amd.com>
> > > > 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@amd.com>
> > > >     Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
> > > >     Reviewed-by: Huang Rui <ray.huang@amd.com>
> > > >     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> > > >     Cc: stable@vger.kernel.org
> > >
> > > It reverts cleanly on top of 5.7-rc1, and this fixes the issue.
> > >
> > > Greg, please do not apply this to the stable series. The commit message
> > > doesn’t even reference a issue/bug report, and doesn’t give a detailed
> > > problem description. What system is it?
> > >
> > > Dave, Alex, how to proceed? Revert? I created issue 1094 [1].
> >
> > Already fixed:
> > https://patchwork.freedesktop.org/patch/361195/
>
> Any reason that doesn't have a cc: stable tag on it?
>
> And is it committed to any tree at the moment?

It's going out in my -fixes pull this week with a stable tag.

Alex

>
> thanks,
>
> greg k-h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
@ 2020-04-14 13:07         ` Alex Deucher
  0 siblings, 0 replies; 15+ messages in thread
From: Alex Deucher @ 2020-04-14 13:07 UTC (permalink / raw)
  To: Greg KH
  Cc: Paul Menzel, amd-gfx list, David Airlie, X86 ML, Huang Rui, LKML,
	Maling list - DRI developers, Prike Liang, regressions, for 3.8,
	Daniel Vetter, Alex Deucher, Mengbing Wang

On Tue, Apr 14, 2020 at 4:21 AM Greg KH <greg@kroah.com> wrote:
>
> On Mon, Apr 13, 2020 at 01:48:58PM -0400, Alex Deucher wrote:
> > On Mon, Apr 13, 2020 at 1:47 PM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
> > >
> > > Dear Prike, dear Alex, dear Linux folks,
> > >
> > >
> > > Am 13.04.20 um 10:44 schrieb Paul Menzel:
> > >
> > > > A regression between causes a system with the AMD board MSI B350M MORTAR
> > > > (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just
> > > > to halt.
> > > >
> > > > The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the
> > > > process to bisect this, but maybe somebody already has an idea.
> > >
> > > I found the Easter egg:
> > >
> > > > commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> > > > Author: Prike Liang <Prike.Liang@amd.com>
> > > > 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@amd.com>
> > > >     Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
> > > >     Reviewed-by: Huang Rui <ray.huang@amd.com>
> > > >     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> > > >     Cc: stable@vger.kernel.org
> > >
> > > It reverts cleanly on top of 5.7-rc1, and this fixes the issue.
> > >
> > > Greg, please do not apply this to the stable series. The commit message
> > > doesn’t even reference a issue/bug report, and doesn’t give a detailed
> > > problem description. What system is it?
> > >
> > > Dave, Alex, how to proceed? Revert? I created issue 1094 [1].
> >
> > Already fixed:
> > https://patchwork.freedesktop.org/patch/361195/
>
> Any reason that doesn't have a cc: stable tag on it?
>
> And is it committed to any tree at the moment?

It's going out in my -fixes pull this week with a stable tag.

Alex

>
> thanks,
>
> greg k-h
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
  2020-04-14 13:07         ` Alex Deucher
  (?)
  (?)
@ 2020-04-18 19:09         ` Thomas Backlund
  2020-04-19  7:19           ` Greg Kroah-Hartman
  -1 siblings, 1 reply; 15+ messages in thread
From: Thomas Backlund @ 2020-04-18 19:09 UTC (permalink / raw)
  To: stable; +Cc: Deucher, Alexander, Greg Kroah-Hartman

Den 14-04-2020 kl. 16:07, skrev Alex Deucher:
> On Tue, Apr 14, 2020 at 4:21 AM Greg KH <greg@kroah.com> wrote:
>>
>> On Mon, Apr 13, 2020 at 01:48:58PM -0400, Alex Deucher wrote:
>>> On Mon, Apr 13, 2020 at 1:47 PM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
>>>>
>>>> Dear Prike, dear Alex, dear Linux folks,
>>>>
>>>>
>>>> Am 13.04.20 um 10:44 schrieb Paul Menzel:
>>>>
>>>>> A regression between causes a system with the AMD board MSI B350M MORTAR
>>>>> (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just
>>>>> to halt.
>>>>>
>>>>> The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the
>>>>> process to bisect this, but maybe somebody already has an idea.
>>>>
>>>> I found the Easter egg:
>>>>
>>>>> commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
>>>>> Author: Prike Liang <Prike.Liang@amd.com>
>>>>> 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@amd.com>
>>>>>      Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
>>>>>      Reviewed-by: Huang Rui <ray.huang@amd.com>
>>>>>      Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>>>>>      Cc: stable@vger.kernel.org
>>>>
>>>> It reverts cleanly on top of 5.7-rc1, and this fixes the issue.
>>>>
>>>> Greg, please do not apply this to the stable series. The commit message
>>>> doesn’t even reference a issue/bug report, and doesn’t give a detailed
>>>> problem description. What system is it?
>>>>
>>>> Dave, Alex, how to proceed? Revert? I created issue 1094 [1].
>>>
>>> Already fixed:
>>> https://patchwork.freedesktop.org/patch/361195/
>>
>> Any reason that doesn't have a cc: stable tag on it?
>>
>> And is it committed to any tree at the moment?
> 
> It's going out in my -fixes pull this week with a stable tag.
> 
> Alex
> 


The fix is now in linus tree as:
b2a7e9735ab2864330be9d00d7f38c961c28de5d

and should be added to fix all theese stable trees where the breakage 
got added despite the warnings in this thread:

releases/5.4.33/drm-amdgpu-fix-gfx-hang-during-suspend-with-video-pl.patch:[ 
Upstream commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58 ]
releases/5.6.5/drm-amdgpu-fix-gfx-hang-during-suspend-with-video-pl.patch:[ 
Upstream commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58 ]
releases/5.5.18/drm-amdgpu-fix-gfx-hang-during-suspend-with-video-pl.patch:[ 
Upstream commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58 ]



--
Thomas

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
  2020-04-18 19:09         ` Thomas Backlund
@ 2020-04-19  7:19           ` Greg Kroah-Hartman
  0 siblings, 0 replies; 15+ messages in thread
From: Greg Kroah-Hartman @ 2020-04-19  7:19 UTC (permalink / raw)
  To: Thomas Backlund; +Cc: stable, Deucher, Alexander

On Sat, Apr 18, 2020 at 10:09:28PM +0300, Thomas Backlund wrote:
> Den 14-04-2020 kl. 16:07, skrev Alex Deucher:
> > On Tue, Apr 14, 2020 at 4:21 AM Greg KH <greg@kroah.com> wrote:
> > > 
> > > On Mon, Apr 13, 2020 at 01:48:58PM -0400, Alex Deucher wrote:
> > > > On Mon, Apr 13, 2020 at 1:47 PM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
> > > > > 
> > > > > Dear Prike, dear Alex, dear Linux folks,
> > > > > 
> > > > > 
> > > > > Am 13.04.20 um 10:44 schrieb Paul Menzel:
> > > > > 
> > > > > > A regression between causes a system with the AMD board MSI B350M MORTAR
> > > > > > (MS-7A37) with an AMD Ryzen 3 2200G not to power off any more but just
> > > > > > to halt.
> > > > > > 
> > > > > > The regression is introduced in 9ebe5422ad6c..b032227c6293. I am in the
> > > > > > process to bisect this, but maybe somebody already has an idea.
> > > > > 
> > > > > I found the Easter egg:
> > > > > 
> > > > > > commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58
> > > > > > Author: Prike Liang <Prike.Liang@amd.com>
> > > > > > 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@amd.com>
> > > > > >      Tested-by: Mengbing Wang <Mengbing.Wang@amd.com>
> > > > > >      Reviewed-by: Huang Rui <ray.huang@amd.com>
> > > > > >      Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> > > > > >      Cc: stable@vger.kernel.org
> > > > > 
> > > > > It reverts cleanly on top of 5.7-rc1, and this fixes the issue.
> > > > > 
> > > > > Greg, please do not apply this to the stable series. The commit message
> > > > > doesn’t even reference a issue/bug report, and doesn’t give a detailed
> > > > > problem description. What system is it?
> > > > > 
> > > > > Dave, Alex, how to proceed? Revert? I created issue 1094 [1].
> > > > 
> > > > Already fixed:
> > > > https://patchwork.freedesktop.org/patch/361195/
> > > 
> > > Any reason that doesn't have a cc: stable tag on it?
> > > 
> > > And is it committed to any tree at the moment?
> > 
> > It's going out in my -fixes pull this week with a stable tag.
> > 
> > Alex
> > 
> 
> 
> The fix is now in linus tree as:
> b2a7e9735ab2864330be9d00d7f38c961c28de5d
> 
> and should be added to fix all theese stable trees where the breakage got
> added despite the warnings in this thread:
> 
> releases/5.4.33/drm-amdgpu-fix-gfx-hang-during-suspend-with-video-pl.patch:[
> Upstream commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58 ]
> releases/5.6.5/drm-amdgpu-fix-gfx-hang-during-suspend-with-video-pl.patch:[
> Upstream commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58 ]
> releases/5.5.18/drm-amdgpu-fix-gfx-hang-during-suspend-with-video-pl.patch:[
> Upstream commit 487eca11a321ef33bcf4ca5adb3c0c4954db1b58 ]

Now queued up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-04-19  7:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13  8:44 [regression 5.7-rc1] System does not power off, just halts Paul Menzel
2020-04-13 17:32 ` Paul Menzel
2020-04-13 17:32   ` Paul Menzel
2020-04-13 17:32   ` Paul Menzel
2020-04-13 17:48   ` Alex Deucher
2020-04-13 17:48     ` Alex Deucher
2020-04-13 17:48     ` Alex Deucher
2020-04-14  8:21     ` Greg KH
2020-04-14  8:21       ` Greg KH
2020-04-14  8:21       ` Greg KH
2020-04-14 13:07       ` Alex Deucher
2020-04-14 13:07         ` Alex Deucher
2020-04-14 13:07         ` Alex Deucher
2020-04-18 19:09         ` Thomas Backlund
2020-04-19  7:19           ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.