From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4CEC8C433F5 for ; Mon, 21 Mar 2022 08:58:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1127910E2B5; Mon, 21 Mar 2022 08:58:07 +0000 (UTC) Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E1F210E2B5; Mon, 21 Mar 2022 08:58:05 +0000 (UTC) Received: from ip4d144895.dynamic.kabel-deutschland.de ([77.20.72.149] helo=[192.168.66.200]); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1nWDrU-0003JJ-BW; Mon, 21 Mar 2022 09:58:00 +0100 Message-ID: <61c2b2ce-d749-3723-ad27-f40e1c49d967@leemhuis.info> Date: Mon, 21 Mar 2022 09:57:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Regression from 3c196f056666 ("drm/amdgpu: always reset the asic in suspend (v2)") on suspend? Content-Language: en-US To: Eric Valette , Salvatore Bonaccorso , Dominique Dumont References: <5164225.DI6hChFYCN@ylum> From: Thorsten Leemhuis In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de; regressions@leemhuis.info; 1647853085; 667eccc4; X-HE-SMSGID: 1nWDrU-0003JJ-BW X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sasha Levin , David Airlie , "Pan, Xinhui" , LKML , amd-gfx list , Luben Tuikov , Maling list - DRI developers , Alex Deucher , 1005005@bugs.debian.org, Evan Quan , =?UTF-8?Q?Christian_K=c3=b6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, this is your Linux kernel regression tracker. Top-posting for once, to make this easily accessible to everyone. Dominique/Salvatore/Eric, what's the status of this regression? According to the debian bug tracker the problem is solved with 5.16 and 5.17, but was 5.15 ever fixed? Ciao, Thorsten On 21.02.22 15:16, Alex Deucher wrote: > On Mon, Feb 21, 2022 at 3:29 AM Eric Valette wrote: >> >> On 20/02/2022 16:48, Dominique Dumont wrote: >>> On Monday, 14 February 2022 22:52:27 CET Alex Deucher wrote: >>>> Does the system actually suspend? >>> >>> Not really. The screens looks like it's going to suspend, but it does come >>> back after 10s or so. The light mounted in the middle of the power button does >>> not switch off. >> >> >> As I have a very similar problem and also commented on the original >> debian bug report >> (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005005), I will add >> some information here on another amd only laptop (renoir AMD Ryzen 7 >> 4800H with Radeon Graphics + Radeon RX 5500/5500M / Pro 5500M). >> >> For me the suspend works once, but after the first resume (I do know >> know if it is in the suspend path or the resume path I see a RIP in the >> dmesg (see aditional info in debian bug)) and later suspend do not >> work: It only go to the kde login screen. >> >> I was unable due to network connectivity to do a full bisect but tested >> with the patch I had on my laptop: >> >> 5.10.101 works, 5.10 from debian works >> 5.11 works >> 5.12 works >> 5.13 suspend works but when resuming the PC is dead I have to reboot >> 5.14 seems to work but looking at dmesg it is full of RIP messages at >> various places. >> 5.15.24 is a described 5.15 from debian is behaving identically >> 5.16 from debian is behaving identically. >> >>>> Is this system S0i3 or regular S3? >> >> For me it is real S3. >> >> The proposed patch is intended for INTEl + intel gpu + amdgpu but I have >> dual amd GPU. > > It doesn't really matter what the platform is, it could still > potentially help on your system, it depends on the bios implementation > for your platform and how it handles suspend. You can try the patch, > but I don't think you are hitting the same issue. I bisect would be > helpful in your case. > > Alex From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20C01C433EF for ; Mon, 21 Mar 2022 08:58:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345567AbiCUJAN (ORCPT ); Mon, 21 Mar 2022 05:00:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243643AbiCUI7y (ORCPT ); Mon, 21 Mar 2022 04:59:54 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E1C9D95 for ; Mon, 21 Mar 2022 01:58:04 -0700 (PDT) Received: from ip4d144895.dynamic.kabel-deutschland.de ([77.20.72.149] helo=[192.168.66.200]); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1nWDrU-0003JJ-BW; Mon, 21 Mar 2022 09:58:00 +0100 Message-ID: <61c2b2ce-d749-3723-ad27-f40e1c49d967@leemhuis.info> Date: Mon, 21 Mar 2022 09:57:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Regression from 3c196f056666 ("drm/amdgpu: always reset the asic in suspend (v2)") on suspend? Content-Language: en-US To: Eric Valette , Salvatore Bonaccorso , Dominique Dumont Cc: Sasha Levin , David Airlie , "Pan, Xinhui" , LKML , amd-gfx list , Luben Tuikov , Maling list - DRI developers , Alex Deucher , 1005005@bugs.debian.org, Evan Quan , =?UTF-8?Q?Christian_K=c3=b6nig?= , Alex Deucher References: <5164225.DI6hChFYCN@ylum> From: Thorsten Leemhuis In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1647853085;667eccc4; X-HE-SMSGID: 1nWDrU-0003JJ-BW Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, this is your Linux kernel regression tracker. Top-posting for once, to make this easily accessible to everyone. Dominique/Salvatore/Eric, what's the status of this regression? According to the debian bug tracker the problem is solved with 5.16 and 5.17, but was 5.15 ever fixed? Ciao, Thorsten On 21.02.22 15:16, Alex Deucher wrote: > On Mon, Feb 21, 2022 at 3:29 AM Eric Valette wrote: >> >> On 20/02/2022 16:48, Dominique Dumont wrote: >>> On Monday, 14 February 2022 22:52:27 CET Alex Deucher wrote: >>>> Does the system actually suspend? >>> >>> Not really. The screens looks like it's going to suspend, but it does come >>> back after 10s or so. The light mounted in the middle of the power button does >>> not switch off. >> >> >> As I have a very similar problem and also commented on the original >> debian bug report >> (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005005), I will add >> some information here on another amd only laptop (renoir AMD Ryzen 7 >> 4800H with Radeon Graphics + Radeon RX 5500/5500M / Pro 5500M). >> >> For me the suspend works once, but after the first resume (I do know >> know if it is in the suspend path or the resume path I see a RIP in the >> dmesg (see aditional info in debian bug)) and later suspend do not >> work: It only go to the kde login screen. >> >> I was unable due to network connectivity to do a full bisect but tested >> with the patch I had on my laptop: >> >> 5.10.101 works, 5.10 from debian works >> 5.11 works >> 5.12 works >> 5.13 suspend works but when resuming the PC is dead I have to reboot >> 5.14 seems to work but looking at dmesg it is full of RIP messages at >> various places. >> 5.15.24 is a described 5.15 from debian is behaving identically >> 5.16 from debian is behaving identically. >> >>>> Is this system S0i3 or regular S3? >> >> For me it is real S3. >> >> The proposed patch is intended for INTEl + intel gpu + amdgpu but I have >> dual amd GPU. > > It doesn't really matter what the platform is, it could still > potentially help on your system, it depends on the bios implementation > for your platform and how it handles suspend. You can try the patch, > but I don't think you are hitting the same issue. I bisect would be > helpful in your case. > > Alex From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E7D6DC433F5 for ; Mon, 21 Mar 2022 12:55:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DB15D10E2BF; Mon, 21 Mar 2022 12:55:52 +0000 (UTC) Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E1F210E2B5; Mon, 21 Mar 2022 08:58:05 +0000 (UTC) Received: from ip4d144895.dynamic.kabel-deutschland.de ([77.20.72.149] helo=[192.168.66.200]); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1nWDrU-0003JJ-BW; Mon, 21 Mar 2022 09:58:00 +0100 Message-ID: <61c2b2ce-d749-3723-ad27-f40e1c49d967@leemhuis.info> Date: Mon, 21 Mar 2022 09:57:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Regression from 3c196f056666 ("drm/amdgpu: always reset the asic in suspend (v2)") on suspend? Content-Language: en-US To: Eric Valette , Salvatore Bonaccorso , Dominique Dumont References: <5164225.DI6hChFYCN@ylum> From: Thorsten Leemhuis In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de; regressions@leemhuis.info; 1647853085; 667eccc4; X-HE-SMSGID: 1nWDrU-0003JJ-BW X-Mailman-Approved-At: Mon, 21 Mar 2022 12:55:51 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sasha Levin , David Airlie , "Pan, Xinhui" , LKML , amd-gfx list , Alex Deucher , Luben Tuikov , Maling list - DRI developers , Alex Deucher , 1005005@bugs.debian.org, Evan Quan , =?UTF-8?Q?Christian_K=c3=b6nig?= Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" Hi, this is your Linux kernel regression tracker. Top-posting for once, to make this easily accessible to everyone. Dominique/Salvatore/Eric, what's the status of this regression? According to the debian bug tracker the problem is solved with 5.16 and 5.17, but was 5.15 ever fixed? Ciao, Thorsten On 21.02.22 15:16, Alex Deucher wrote: > On Mon, Feb 21, 2022 at 3:29 AM Eric Valette wrote: >> >> On 20/02/2022 16:48, Dominique Dumont wrote: >>> On Monday, 14 February 2022 22:52:27 CET Alex Deucher wrote: >>>> Does the system actually suspend? >>> >>> Not really. The screens looks like it's going to suspend, but it does come >>> back after 10s or so. The light mounted in the middle of the power button does >>> not switch off. >> >> >> As I have a very similar problem and also commented on the original >> debian bug report >> (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005005), I will add >> some information here on another amd only laptop (renoir AMD Ryzen 7 >> 4800H with Radeon Graphics + Radeon RX 5500/5500M / Pro 5500M). >> >> For me the suspend works once, but after the first resume (I do know >> know if it is in the suspend path or the resume path I see a RIP in the >> dmesg (see aditional info in debian bug)) and later suspend do not >> work: It only go to the kde login screen. >> >> I was unable due to network connectivity to do a full bisect but tested >> with the patch I had on my laptop: >> >> 5.10.101 works, 5.10 from debian works >> 5.11 works >> 5.12 works >> 5.13 suspend works but when resuming the PC is dead I have to reboot >> 5.14 seems to work but looking at dmesg it is full of RIP messages at >> various places. >> 5.15.24 is a described 5.15 from debian is behaving identically >> 5.16 from debian is behaving identically. >> >>>> Is this system S0i3 or regular S3? >> >> For me it is real S3. >> >> The proposed patch is intended for INTEl + intel gpu + amdgpu but I have >> dual amd GPU. > > It doesn't really matter what the platform is, it could still > potentially help on your system, it depends on the bios implementation > for your platform and how it handles suspend. You can try the patch, > but I don't think you are hitting the same issue. I bisect would be > helpful in your case. > > Alex