commit: f9bb09550d8abf4ea422bce7a714bf666e1e7212 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> AuthorDate: Fri Jan 16 00:28:40 2015 +0000 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> CommitDate: Fri Jan 16 00:28:40 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/linux-patches.git;a=commit;h=f9bb0955
Patch to not BUG_ON(\!spin_is_locked()) on UP --- 0000_README | 8 ++++++-- 2800_nouveau-spin-is-locked.patch | 31 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/0000_README b/0000_README index 3b11b74..d04c7db 100644 --- a/0000_README +++ b/0000_README @@ -69,11 +69,15 @@ Desc: Ensure that /dev/root doesn't appear in /proc/mounts when bootint withou Patch: 2905_s2disk-resume-image-fix.patch From: Al Viro <viro <at> ZenIV.linux.org.uk> -Desc: Do not lock when UMH is waiting on current thread spawned by linuxrc. (bug #481344) +Desc: Do not lock when UMH is waiting on current thread spawned by linuxrc. (bug #481344.) Patch: 2710_i915-drm-disallow-pin-ioctl-for-kms-drivers.patch From: http://www.kernel.org -Desc: drm/i915: Patch to disallow pin ioctl completely for kms drivers. See bug #532926 +Desc: drm/i915: Patch to disallow pin ioctl completely for kms drivers. See bug #532926. + +Patch: 2800_nouveau-spin-is-locked.patch +From: http://www.kernel.org +Desc: nouveau: Do not BUG_ON(!spin_is_locked()) on UP. Patch: 4200_fbcondecor-3.16.patch From: http://www.mepiscommunity.org/fbcondecor diff --git a/2800_nouveau-spin-is-locked.patch b/2800_nouveau-spin-is-locked.patch new file mode 100644 index 0000000..4cd72c9 --- /dev/null +++ b/2800_nouveau-spin-is-locked.patch @@ -0,0 +1,31 @@ +--- a/drivers/gpu/drm/nouveau/core/core/event.c 2015-01-12 14:01:30.999164123 -0500 ++++ b/drivers/gpu/drm/nouveau/core/core/event.c 2015-01-12 14:03:11.229163330 -0500 +@@ -26,7 +26,7 @@ + void + nvkm_event_put(struct nvkm_event *event, u32 types, int index) + { +- BUG_ON(!spin_is_locked(&event->refs_lock)); ++ assert_spin_locked(&event->refs_lock); + while (types) { + int type = __ffs(types); types &= ~(1 << type); + if (--event->refs[index * event->types_nr + type] == 0) { +@@ -39,7 +39,7 @@ nvkm_event_put(struct nvkm_event *event, + void + nvkm_event_get(struct nvkm_event *event, u32 types, int index) + { +- BUG_ON(!spin_is_locked(&event->refs_lock)); ++ assert_spin_locked(&event->refs_lock); + while (types) { + int type = __ffs(types); types &= ~(1 << type); + if (++event->refs[index * event->types_nr + type] == 1) { +--- a/drivers/gpu/drm/nouveau/core/core/notify.c 2015-01-12 14:01:38.299164065 -0500 ++++ b/drivers/gpu/drm/nouveau/core/core/notify.c 2015-01-12 14:03:45.739163057 -0500 +@@ -98,7 +98,7 @@ nvkm_notify_send(struct nvkm_notify *not + struct nvkm_event *event = notify->event; + unsigned long flags; + +- BUG_ON(!spin_is_locked(&event->list_lock)); ++ assert_spin_locked(&event->list_lock); + BUG_ON(size != notify->size); + + spin_lock_irqsave(&event->refs_lock, flags);