From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8444113D891 for ; Wed, 24 Sep 2025 20:52:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758747140; cv=none; b=j8l8hg8W1wANBdf6AuLuWx6D+Jiiuj5Fgy5Y6HuMBZljcrVtXiSIMvXNXJtI8+KVmDZ7dici1cc/LhxKygpJX6EBBaeQh0cL/76nJ0pFv9zBAPoxDZuvj8SDs13XF5cD5J7ZpqtsQIBzOmw2mKho2fAj3B37OW5CIBHp4ZGQdTk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758747140; c=relaxed/simple; bh=hY8KOOIdcLFeStFpDPUnr30X+UWyB7hNIoqZgjHszoQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jeDJnjzdx05Z286KoySUS6uZYy2oJTCF7bRY2CW5QxBmB22K2i7IKBaSvtiqdoPbZVo+IIF6JDcnb+wX/9jVNxK5LkRNDNvmCRMlOfFnM/lNe5ZcHxIa5+i6jrLJYS81/L426G9n7mZbP1tc8BI86/9pnGY3xhDI6H+f8dEEuuU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jziuuazt; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jziuuazt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43BDAC4CEF8; Wed, 24 Sep 2025 20:52:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758747139; bh=hY8KOOIdcLFeStFpDPUnr30X+UWyB7hNIoqZgjHszoQ=; h=From:To:Cc:Subject:Date:From; b=jziuuaztodkxEWwbzJvPzU9L1hkTITklU3j8ZBab0HOFzgjHNqcDS74Mxshzgz6ov VX2RTUDI3IczqfPVzyf8sx6sbM2z2Sk4qw2dujH0P/MsG9YDb3tNy+E7ska97rorYU Cyxt+ylCZfy6uqDPaF4C3alA1Nlm+e69cMTBagzOwv6Zj2mr90Xe5pLSea6c4O2WMj J5qAG+t6DONqsAoBawpVB/mWuKt7xgyJ6UelzSxQmrOiU77bn55c0mgipcYImggawR wSD6dO9486KTMQ2SNL07Kw845SHsgUeeERbLZyemCeziISSfd2shuTRjjF9Z35Rrik FPas4J9tTeZ8A== From: "Mario Limonciello (AMD)" To: Alex Deucher , "Rafael J . Wysocki" Cc: Samuel Zhang , amd-gfx@lists.freedesktop.org (open list:RADEON and AMDGPU DRM DRIVERS), linux-pm@vger.kernel.org (open list:HIBERNATION (aka Software Suspend, aka swsusp)), Mario Limonciello , Ionut Nechita Subject: [PATCH 0/3] Fixes for hybrid sleep Date: Wed, 24 Sep 2025 15:52:08 -0500 Message-ID: <20250924205211.1059571-1-superm1@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Ionut Nechita reported recently a hibernate failure, but in debugging the issue it's actually not a hibernate failure; but a hybrid sleep failure. Multiple changes related to the change of when swap is disabled in the suspend sequence contribute to the failure. See the individual patches for details. Link: https://gitlab.freedesktop.org/drm/amd/-/issues/4573 NOTE: I realize this is super late in the cycle, so sorry about that, but I debugged it as fast as I could as soon as I heard about it. If it needs to push out to the next cycle it is what it is. As it touches two subsystems it either needs to go through linux-pm or drm. I would suggest linux-pm with an Ack from Alex on the 3rd patch. Cc: Ionut Nechita Mario Limonciello (3): PM: hibernate: Fix hybrid-sleep PM: hibernate: Add pm_hibernation_mode_is_suspend() drm/amd: Fix hybrid sleep drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +- include/linux/suspend.h | 2 ++ kernel/power/hibernate.c | 13 ++++++++++++- 3 files changed, 15 insertions(+), 2 deletions(-) -- 2.51.0