dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* Re: [regression 5.7-rc1] System does not power off, just halts
       [not found] <f4eaf0ca-6cd6-c224-9205-bf64ca533ff5@molgen.mpg.de>
@ 2020-04-13 17:32 ` Paul Menzel
  2020-04-13 17:48   ` Alex Deucher
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread

* Re: [regression 5.7-rc1] System does not power off, just halts
  2020-04-13 17:32 ` [regression 5.7-rc1] System does not power off, just halts Paul Menzel
@ 2020-04-13 17:48   ` Alex Deucher
  2020-04-14  8:21     ` Greg KH
  0 siblings, 1 reply; 4+ 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] 4+ 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
  2020-04-14 13:07       ` Alex Deucher
  0 siblings, 1 reply; 4+ 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] 4+ 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
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2020-04-14 13:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <f4eaf0ca-6cd6-c224-9205-bf64ca533ff5@molgen.mpg.de>
2020-04-13 17:32 ` [regression 5.7-rc1] System does not power off, just halts Paul Menzel
2020-04-13 17:48   ` Alex Deucher
2020-04-14  8:21     ` Greg KH
2020-04-14 13:07       ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).