From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Subject: [PATCH v2 0/3] drm/xe/display: Fixes to make kexec work.
Date: Mon, 19 Aug 2024 15:31:34 +0200 [thread overview]
Message-ID: <20240819133138.147511-1-maarten.lankhorst@linux.intel.com> (raw)
Lets see if we can get away with performing a FLR as shutdown handler. It should work.
These are all the patches I have used when testing if I could kexec from Xe with a game
running to a new kernel.
Tested with:
kexec --reuse-cmdline --initrd=initrd.img -f vmlinuz
I have tested about 4-5 times successive kexecs on my ADL-P,
while having a game actively running to keep the GPU loaded.
With this series xe kept running succesfully. After that
I accidentally rebooted, but I see no reason this wouldn't work
even more times.
Changes since previous version:
- s/r patches have been merged.
Maarten Lankhorst (3):
drm/xe: Read out rawclk_freq for display
drm/xe: Wire up device shutdown handler
CI-only: Test if FLR is disabled?
drivers/gpu/drm/xe/display/xe_display.c | 22 +++++++++++--
drivers/gpu/drm/xe/display/xe_display.h | 3 +-
drivers/gpu/drm/xe/xe_device.c | 43 +++++++++++++++++++++----
drivers/gpu/drm/xe/xe_gt.c | 7 ++++
drivers/gpu/drm/xe/xe_gt.h | 1 +
drivers/gpu/drm/xe/xe_pm.c | 4 +--
6 files changed, 69 insertions(+), 11 deletions(-)
--
2.45.2
next reply other threads:[~2024-08-19 13:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-19 13:31 Maarten Lankhorst [this message]
2024-08-19 13:31 ` [PATCH v2 1/3] drm/xe: Read out rawclk_freq for display Maarten Lankhorst
2024-08-20 7:43 ` Jani Nikula
2024-08-20 9:12 ` Jani Nikula
2024-08-19 13:31 ` [PATCH v2 2/3] drm/xe: Wire up device shutdown handler Maarten Lankhorst
2024-08-19 13:38 ` Lucas De Marchi
2024-08-19 13:31 ` [PATCH v2 3/3] CI-only: Test if FLR is disabled? Maarten Lankhorst
2024-08-19 13:37 ` ✓ CI.Patch_applied: success for drm/xe/display: Fixes to make kexec work. (rev2) Patchwork
2024-08-19 13:37 ` ✗ CI.checkpatch: warning " Patchwork
2024-08-19 13:37 ` ✗ CI.KUnit: failure " Patchwork
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=20240819133138.147511-1-maarten.lankhorst@linux.intel.com \
--to=maarten.lankhorst@linux.intel.com \
--cc=intel-xe@lists.freedesktop.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