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-09  3:07 Dave Airlie
  2021-09-09  3:07 ` [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; 6+ messages in thread
From: Dave Airlie @ 2021-09-09  3:07 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.

v2: rebased onto drm-tip
v3: fix selftests build failure.

Dave.


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [Intel-gfx] [PATCH 0/2] i915/uncore: constify the uncore vtables.
@ 2021-09-08  4:45 Dave Airlie
  0 siblings, 0 replies; 6+ 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] 6+ messages in thread

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-09  3:07 [Intel-gfx] [PATCH 0/2] i915/uncore: constify the uncore vtables Dave Airlie
2021-09-09  3:07 ` [Intel-gfx] [PATCH 1/2] drm/i915/uncore: split the fw get function into separate vfunc Dave Airlie
2021-09-09  3:07 ` [Intel-gfx] [PATCH 2/2] drm/i915/uncore: constify the register vtables. (v2) Dave Airlie
2021-09-09  3:49 ` [Intel-gfx] ✓ Fi.CI.BAT: success for i915/uncore: constify the uncore vtables. (rev3) Patchwork
2021-09-09  5:00 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2021-09-08  4:45 [Intel-gfx] [PATCH 0/2] i915/uncore: constify the uncore 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