From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6AF6B138A1A for ; Fri, 16 Jan 2015 00:30:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8E74E083D; Fri, 16 Jan 2015 00:30:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8B6E5E083D for ; Fri, 16 Jan 2015 00:30:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 964953401BC for ; Fri, 16 Jan 2015 00:30:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 30211FAA2 for ; Fri, 16 Jan 2015 00:30:07 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1421368204.d3b6891f47be9ecc46753b7da1ae9d4ab09e004a.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:3.17 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 0000_README 2800_nouveau-spin-is-locked.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: d3b6891f47be9ecc46753b7da1ae9d4ab09e004a X-VCS-Branch: 3.17 Date: Fri, 16 Jan 2015 00:30:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 66270296-06b8-4233-85f8-6b8e9d4295ce X-Archives-Hash: 3f21ac19ebe642ce290cce3e3c7b4dd4 commit: d3b6891f47be9ecc46753b7da1ae9d4ab09e004a Author: Mike Pagano gentoo org> AuthorDate: Fri Jan 16 00:30:04 2015 +0000 Commit: Mike Pagano gentoo org> CommitDate: Fri Jan 16 00:30:04 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/linux-patches.git;a=commit;h=d3b6891f Patch to not BUG_ON(\!spin_is_locked()) on UP --- 0000_README | 4 ++++ 2800_nouveau-spin-is-locked.patch | 31 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/0000_README b/0000_README index 348066f..79091ba 100644 --- a/0000_README +++ b/0000_README @@ -95,6 +95,10 @@ Patch: 2710_ultra-dock-support-for-Thinkpad-X240.patch From: http://www.kernel.org Desc: ALSA: hda - Add ultra dock support for Thinkpad X240. See bug #532176. +Patch: 2800_nouveau-spin-is-locked.patch +From: http://www.kernel.org +Desc: nouveau: Do not BUG_ON(!spin_is_locked()) on UP. + Patch: 2900_dev-root-proc-mount-fix.patch From: https://bugs.gentoo.org/show_bug.cgi?id=438380 Desc: Ensure that /dev/root doesn't appear in /proc/mounts when bootint without an initramfs. 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);