public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: "Mario Limonciello (AMD) (kernel.org)" <superm1@kernel.org>
To: Pascal Ernster <git@hardfalcon.net>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org, Sasha Levin <sashal@kernel.org>
Subject: Re: Patch "PM: hibernate: Add pm_hibernation_mode_is_suspend()" has been added to the 6.17-stable tree
Date: Tue, 21 Oct 2025 16:34:50 -0500	[thread overview]
Message-ID: <edffeaca-e52a-4ecc-b788-3120e11bbef2@kernel.org> (raw)
In-Reply-To: <1f15260b-684e-4b8c-807f-244bbfd31f1c@kernel.org>



On 10/21/2025 4:19 PM, Mario Limonciello (AMD) (kernel.org) wrote:
> 
> 
> On 10/21/2025 4:08 PM, Pascal Ernster wrote:
>> [2025-10-21 22:45] Mario Limonciello (AMD) (kernel.org):
>>> Are you cleaning your tree between builds?
>>
>>
>> Yes.
>>
>> I'm building custom kernel packages in a clean chroot for my private 
>> package repo. The kernel config and the PKGBUILD can be found here:
>>
>> https://remotehost.online/linux-6.17.4/debug2/config
>> https://remotehost.online/linux-6.17.4/debug2/PKGBUILD
>>
>> Here's a tarball that contains the PKGBUILD, the config, and all 
>> source files that I used:
>>
>> https://remotehost.online/linux-6.17.4/debug2/linux- 
>> hardened-6.17.4.hardened0-0.src.tar.zst
>>
>> Here's a log of stdout and stderr of the build process:
>>
>> https://remotehost.online/linux-6.17.4/debug2/stdout_stderr_combined.log
>>
>>
>> Here's a fixed PKGBUILD that I used successfully to build my kernel 
>> packages:
>>
>> https://remotehost.online/linux-6.17.4/debug2/PKGBUILD.fixed
>>
>> The only difference is that I've commented out the two patches from 
>> your patch set, and removed the corresponding sha256 sums.
>>
>>
>> Regards
>> Pascal
> 
> It looks to me that you have CONFIG_HIBERNATE_CALLBACKS set but not 
> CONFIG_HIBERNATION set.
> 
> How does this happen?  HIBERNATE_CALLBACKS is hidden, and it's only 
> selected by CONFIG_HIBERNATE.
> 
> The fix for now for you is to either turn off CONFIG_HIBERNATE_CALLBACKS 
> or turn on CONFIG_HIBERNATION.

Alternatively does picking 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bbfe987c5a2854705393ad79813074e5eadcbde6 
help your issue?

  reply	other threads:[~2025-10-21 21:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2025102032-crescent-acuteness-5060 () gregkh>
2025-10-21 20:43 ` Patch "PM: hibernate: Add pm_hibernation_mode_is_suspend()" has been added to the 6.17-stable tree Pascal Ernster
2025-10-21 20:45   ` Mario Limonciello (AMD) (kernel.org)
2025-10-21 21:08     ` Pascal Ernster
2025-10-21 21:19       ` Mario Limonciello (AMD) (kernel.org)
2025-10-21 21:34         ` Mario Limonciello (AMD) (kernel.org) [this message]
2025-10-21 21:53           ` Pascal Ernster
2025-10-22  3:52             ` Pascal Ernster
2025-10-22  5:30               ` Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=edffeaca-e52a-4ecc-b788-3120e11bbef2@kernel.org \
    --to=superm1@kernel.org \
    --cc=git@hardfalcon.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox