From: "Mario Limonciello (AMD) (kernel.org)" <superm1@kernel.org>
To: Alex Deucher <alexdeucher@gmail.com>,
"Ionut Nechita (Sunlight Linux)" <sunlightlinux@gmail.com>
Cc: christian.koenig@amd.com, alexander.deucher@amd.com,
amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
ionut_n2001@yahoo.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] drm/amdgpu: Fix TLB flush failures after hibernation resume
Date: Mon, 26 Jan 2026 14:32:23 -0600 [thread overview]
Message-ID: <ad3e0556-385b-471e-bb1c-43bd043ecf47@kernel.org> (raw)
In-Reply-To: <e8e1e479-0c13-40f2-b9be-d87e4503dcb4@kernel.org>
On 1/26/2026 2:28 PM, Mario Limonciello (AMD) (kernel.org) wrote:
>
>
> On 1/26/2026 2:25 PM, Alex Deucher wrote:
>> On Mon, Jan 26, 2026 at 2:52 PM Ionut Nechita (Sunlight Linux)
>> <sunlightlinux@gmail.com> wrote:
>>>
>>> From: Ionut Nechita <sunlightlinux@gmail.com>
>>>
>>> On Thu, Jan 8 2026 at 13:36, Christian König wrote:
>>>
>>>> Question is why the KIQ is not up and running before we do anything
>>>> with it?
>>>
>>> Thank you for the feedback. I completely understand that my patch is
>>> just a workaround and not proper engineering - you're absolutely right
>>> that the real issue is KIQ being marked as ready before it's actually
>>> functional.
>>>
>>> I don't have experience with GPU drivers and video subsystems, so I'm
>>> not familiar with the proper initialization sequence for KIQ. I'd prefer
>>> not to keep a workaround for this issue in my tree.
>>>
>>> Is there a proper fix available, or could you point me in the right
>>> direction? I'm happy to test any patches on my AMD Cezanne (Renoir)
>>> hardware where I can reliably reproduce the issue after hibernation.
>>
>> Can you get a stack trace when this happens so we can see the call chain?
>>
>>>
>>> Also, regarding hibernation support: you mentioned that hibernation is
>>> not generally supported with the driver. Should I expect other issues
>>> beyond this TLB flush problem, or is this the main blocker?
>>
>> The biggest issue with hibernation is that it's not compatible with
>> secure boot so most distros don't officially support it.
>
> And by extension of this it doesn't get as much testing as s2idle/s3 do.
>
>> The other
>> issue is that when we go into hibernation, we need to evict the
>> contents of VRAM somewhere and at the point when that happens, swap is
>> already offline. So in a lot of cases, we don't have enough memory to
>> back up the VRAM contents. There were patches to the Linux PM core,
>> but I can't recall if they've all landed yet.
>
> Yeah everything should have landed now, so swap will still be enabled.
>
> There's also the
>> possibility that the user's swap partition is too small.
>>
>> Alex
>
> I heard something about /sys/power/reserved_size being too small by
> default still, so if you're having problems you might increase that.
>
Sorry not reserved_size, /sys/power/image_size.
Here's where it was mentioned.
https://gitlab.freedesktop.org/drm/amd/-/issues/4882#note_3287247
next prev parent reply other threads:[~2026-01-26 20:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-06 12:59 [PATCH 0/1] drm/amdgpu: Fix TLB flush failures after hibernation resume Ionut Nechita (Sunlight Linux)
2026-01-06 12:59 ` [PATCH 1/1] " Ionut Nechita (Sunlight Linux)
2026-01-06 16:26 ` Alex Deucher
2026-01-07 10:52 ` Ionut Nechita (Sunlight Linux)
2026-01-08 12:36 ` Christian König
2026-01-26 19:40 ` Ionut Nechita (Sunlight Linux)
2026-01-26 20:25 ` Alex Deucher
2026-01-26 20:28 ` Mario Limonciello (AMD) (kernel.org)
2026-01-26 20:32 ` Mario Limonciello (AMD) (kernel.org) [this message]
2026-01-26 20:46 ` Ionut Nechita (Sunlight Linux)
2026-01-26 20:37 ` Ionut Nechita (Sunlight Linux)
2026-01-27 11:35 ` Christian König
2026-02-01 19:05 ` Ionut Nechita (Sunlight Linux)
2026-02-02 10:39 ` Christian König
2026-03-24 8:07 ` Ionut Nechita (Sunlight Linux)
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=ad3e0556-385b-471e-bb1c-43bd043ecf47@kernel.org \
--to=superm1@kernel.org \
--cc=alexander.deucher@amd.com \
--cc=alexdeucher@gmail.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=ionut_n2001@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sunlightlinux@gmail.com \
/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