This is a resubmission of the security fixed for a Kernel Crash found in the
drm part of the driver. It was caused by a attempt to Lock/Unlock a HW_LOCK
that was uninitialised. As this feature is only required on some legacy drivers
this patchset now only turns these features off.
There is an igt test to follow, just working out a way of not crashing the
systems that have this feature-set turned on (probably need to create a context
and if that succeeds then exit as the feature is on.
V2: Remove the patches that cover the Kernel Crash and the Lock Escalation.
Remove the PARAM that was used by the test to detect the presences of this
feature.
Peter Antoine (2):
drm: Make HW_LOCK access functions optional.
drm: Make Legacy Context access functions optional.
drivers/gpu/drm/drm_context.c | 36 +++++++++++++++++++++++++++++++++++
drivers/gpu/drm/drm_drv.c | 12 +++++++-----
drivers/gpu/drm/drm_lock.c | 6 ++++++
drivers/gpu/drm/nouveau/nouveau_drm.c | 3 ++-
include/drm/drmP.h | 23 +++++++++++-----------
5 files changed, 63 insertions(+), 17 deletions(-)
--
1.9.1
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx