Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 0/2] i915/uncore: constify the uncore vtables.
@ 2021-09-08  4:45 Dave Airlie
  2021-09-08  4:45 ` [Intel-gfx] [PATCH 1/2] drm/i915/uncore: split the fw get function into separate vfunc Dave Airlie
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Dave Airlie @ 2021-09-08  4:45 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula

static const vtables are more secure than writeable function pointers.

These two patches cleanup the uncore vtable to use static const tables.

Dave.



^ permalink raw reply	[flat|nested] 8+ messages in thread
* [Intel-gfx] i915/uncore: constify the uncore vtables. (v2)
@ 2021-09-09  2:34 Dave Airlie
  2021-09-09  2:34 ` [Intel-gfx] [PATCH 2/2] drm/i915/uncore: constify the register vtables Dave Airlie
  0 siblings, 1 reply; 8+ messages in thread
From: Dave Airlie @ 2021-09-09  2:34 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula

static const vtables are more secure than writeable function pointers.

These two patches cleanup the uncore vtable to use static const tables.

These are based on drm-tip, and should apply to the gt tree cleanly.

Dave.



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

end of thread, other threads:[~2021-09-09  2:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-08  4:45 [Intel-gfx] [PATCH 0/2] i915/uncore: constify the uncore vtables Dave Airlie
2021-09-08  4:45 ` [Intel-gfx] [PATCH 1/2] drm/i915/uncore: split the fw get function into separate vfunc Dave Airlie
2021-09-08  9:26   ` Jani Nikula
2021-09-08  4:45 ` [Intel-gfx] [PATCH 2/2] drm/i915/uncore: constify the register vtables Dave Airlie
2021-09-08  9:13   ` Jani Nikula
2021-09-08  5:35 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for i915/uncore: constify the uncore vtables Patchwork
2021-09-08 10:24 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for i915/uncore: constify the uncore vtables. (rev2) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2021-09-09  2:34 [Intel-gfx] i915/uncore: constify the uncore vtables. (v2) Dave Airlie
2021-09-09  2:34 ` [Intel-gfx] [PATCH 2/2] drm/i915/uncore: constify the register vtables Dave Airlie

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