Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5739007pxb; Mon, 14 Feb 2022 06:33:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpCwhE61PXk5gRiqVB52eBDWje0ohM3DdQEu50/UzYbkaetxq665adu5CMWNu1wOoNwMo+ X-Received: by 2002:a17:90a:301:: with SMTP id 1mr45074pje.200.1644849217786; Mon, 14 Feb 2022 06:33:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644849217; cv=none; d=google.com; s=arc-20160816; b=OtHwhPAR99L+pLldOaTqYavvNKzzn9SS2NnQFSyCv7BHf/qF2qIJ5CkabKpz1ubZAl pJdIQPu9Fqt72Wl+RtHUJeISiV/inqlREuEhOrphOW7TIlEwyVOrSRgJ656FfQcccfNn q6szJ6ikolCbB7GzyGv6LEiZwrO2wR/8KaHxnDuBaxgTxuMuTJnpfoeFw4BZUCYWNDT4 YVfwxITZhXG83EMNWrf003oq6a3nIKALV2ovJdsb5nw8xucI94RIxLzsUWR3I541IsHU L4wUK7eVv5NGTjj66v+cigBZx0IzwT6aUbefGk8II+oqoK7CYZPYT+kNzmkfSlyG+r/M OSSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:sender:dkim-signature; bh=9OHuOKJbgH8itw9N7Okbk0KMW/V0yB0rDcvgbCzUOV0=; b=jWeJ8HHwQi6lmkMscfvq/mGeYEkQ19iBwKPKjrG2VkFyJwmO78q7jEorrT6ph1xO9z koMENO7/eYI66OPARjNt6f5zkz3rKBnkE4NZkK93UftH9BECSPQJjQAXDqKThwK4aiHh F4/m85raVL1dO8xP8Gdl3BvZGZiG1gp5Bc1u1YQHEM214Rl5k01X5HSevJvIp6+K5Pfh PtbfoIto7CdVSqG1j9x7GRaqw+7XXYXm8GEByJQEN3lkOqkFYCKvFRTOnEJuqqhM2ieK 3voEMnF0ScYChi0tI0AoylO/2HmN3NyXUaXSyKVMUrop4ySbF9/6DJoX27tW/iL+Rw4p fl8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=A7o0J6x2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t18si12560917plg.257.2022.02.14.06.33.20; Mon, 14 Feb 2022 06:33:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=A7o0J6x2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230243AbiBLSYX (ORCPT + 99 others); Sat, 12 Feb 2022 13:24:23 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:48954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230339AbiBLSYA (ORCPT ); Sat, 12 Feb 2022 13:24:00 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19B2660077 for ; Sat, 12 Feb 2022 10:23:44 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id q198-20020a1ca7cf000000b0037bb52545c6so9185547wme.1 for ; Sat, 12 Feb 2022 10:23:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=9OHuOKJbgH8itw9N7Okbk0KMW/V0yB0rDcvgbCzUOV0=; b=A7o0J6x2xfgsnZEqjw3jFbuYBBni4Tv+mlsISCbWTKTCGRdMPyC1txf4R148E4SF6h /cSII785FMECRtktBQiY7VW2WDOqPI4O1l6QkyE8gDfKOVGsJV7uy0kgZOLmkzb6eu7k NdOJBX68lVa5KpKEWGfK9ul/LuwblEI3mEKbUkqyysyt0xVUu1iLTp5b3j7WJ0B08Lv4 4Hg8hQbfuZsaPFZiy6nW3fUbeTeBPu3D7pEGFlfyDoBmMg1aZD4BUWeWOt3v5YjP2EwF 18l3LuMpXxpr2OaKU3lMyL1fNw47mI1Fb+wKyeMnuhkaO4s+9vIJTHFDXnMXNV7EcFMN mqBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mime-version:content-disposition; bh=9OHuOKJbgH8itw9N7Okbk0KMW/V0yB0rDcvgbCzUOV0=; b=HZuScwwjz4Id2SOLImXNGc0URuiHYi4K8UYtwUXxCDsEYrPz1gulIO7irqk+SoFAns 5Sdeil8Rd5rixS9ea7zdZfr3ViEXSTdRWKs2hdMVDD0uKA1e+FMkezVZw29/MqicK2SE tFx3mkNH/82CDTIShvIvlPFG30prSnAlROfAJRrW+QemO1QyHVzrWn5qkk5YZKi1GmuW 70L/+PUtBZCWUL8fpdreRugmxP30H0jTgR3Wr8+ONWetWlKV1ej9Hb17Jvd9IqZe0jdE k+dnL4PoOrr1ikZLYL76trI1JI34PGWW53Jn9i4mg8Yitb1lVUexlYRue2dcIuc0kSah gOiw== X-Gm-Message-State: AOAM5315SJEQ1Kj0PcTaqMGvoepmH02pMBMpwrX6bsY1U68exRuubqXo UVhDJVucJpTa8h7qKLWyvOYBQXxozwvTPA== X-Received: by 2002:a05:600c:4e16:: with SMTP id b22mr4832663wmq.31.1644690220157; Sat, 12 Feb 2022 10:23:40 -0800 (PST) Received: from eldamar (80-218-24-251.dclient.hispeed.ch. [80.218.24.251]) by smtp.gmail.com with ESMTPSA id c8sm8619122wmq.34.2022.02.12.10.23.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Feb 2022 10:23:39 -0800 (PST) Sender: Salvatore Bonaccorso Date: Sat, 12 Feb 2022 19:23:38 +0100 From: Salvatore Bonaccorso To: Alex Deucher Cc: Dominique Dumont , 1005005@bugs.debian.org, Luben Tuikov , Evan Quan , Sasha Levin , Christian =?iso-8859-1?Q?K=F6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Regression from 3c196f056666 ("drm/amdgpu: always reset the asic in suspend (v2)") on suspend? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alex, hi all In Debian we got a regression report from Dominique Dumont, CC'ed in https://bugs.debian.org/1005005 that afer an update to 5.15.15 based kernel, his machine noe longer suspends correctly, after screen going black as usual it comes back. The Debian bug above contians a trace. Dominique confirmed that this issue persisted after updating to 5.16.7 furthermore he bisected the issue and found 3c196f05666610912645c7c5d9107706003f67c3 is the first bad commit commit 3c196f05666610912645c7c5d9107706003f67c3 Author: Alex Deucher Date: Fri Nov 12 11:25:30 2021 -0500 drm/amdgpu: always reset the asic in suspend (v2) [ Upstream commit daf8de0874ab5b74b38a38726fdd3d07ef98a7ee ] If the platform suspend happens to fail and the power rail is not turned off, the GPU will be in an unknown state on resume, so reset the asic so that it will be in a known good state on resume even if the platform suspend failed. v2: handle s0ix Acked-by: Luben Tuikov Acked-by: Evan Quan Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) to be the first bad commit, see https://bugs.debian.org/1005005#34 . Does this ring any bell? Any idea on the problem? Regards, Salvatore