Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Avoid oops on illegal VGA register access
@ 2026-02-17 16:51 Simon Richter
  2026-02-17 16:51 ` [PATCH 1/1] drm/i915: handle failure from vga_get Simon Richter
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Simon Richter @ 2026-02-17 16:51 UTC (permalink / raw)
  To: intel-xe, dri-devel; +Cc: Simon Richter

Hi,

this adds a way to avoid the illegal VGA accesses on non-x86 platforms by
letting these platforms report that VGA registers cannot be mapped.

This patch alone doesn't fully solve the problem, it also needs complementary
changes in vgaarb to actually report this, but since the interface is unchanged
and it is wrong to ignore the error code anyway, little coordination is needed
here.

Needs review from Intel whether this is the correct flow, and a decision on
whether this should be backported.

   Simon

Simon Richter (1):
  drm/i915: handle failure from vga_get

 drivers/gpu/drm/i915/display/intel_vga.c | 29 ++++++++++++++++++++----
 1 file changed, 24 insertions(+), 5 deletions(-)


base-commit: 15658979e64a7c97eaa65563e27a5a65e68a0188
-- 
2.47.3


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2026-03-10 15:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-17 16:51 [PATCH 0/1] Avoid oops on illegal VGA register access Simon Richter
2026-02-17 16:51 ` [PATCH 1/1] drm/i915: handle failure from vga_get Simon Richter
2026-02-18 13:10   ` [PATCH v2 " Simon Richter
2026-03-06 15:13     ` [PATCH v3 1/1] drm/i915: handle failure from vga_get_uninterruptible() Simon Richter
2026-03-10 11:10       ` Ville Syrjälä
2026-03-10 14:45         ` Simon Richter
2026-03-10 15:11           ` Ville Syrjälä
2026-02-26 10:44   ` [PATCH 1/1] drm/i915: handle failure from vga_get Jani Nikula
2026-02-17 17:03 ` ✗ CI.checkpatch: warning for Avoid oops on illegal VGA register access Patchwork
2026-02-17 17:04 ` ✓ CI.KUnit: success " Patchwork
2026-02-17 17:42 ` ✓ Xe.CI.BAT: " Patchwork
2026-02-17 20:50 ` ✓ Xe.CI.FULL: " Patchwork
2026-02-18 17:11 ` ✓ CI.KUnit: success for Avoid oops on illegal VGA register access (rev2) Patchwork
2026-02-18 18:04 ` ✓ Xe.CI.BAT: " Patchwork
2026-02-18 19:47 ` ✓ Xe.CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox