Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [patch added to 3.12-stable] Revert "drm/radeon: hold reference to fences in radeon_sa_bo_new"
@ 2016-03-14 13:16 Jiri Slaby
  2016-03-14 13:16 ` [patch added to 3.12-stable] KVM: VMX: disable PEBS before a guest entry Jiri Slaby
                   ` (16 more replies)
  0 siblings, 17 replies; 23+ messages in thread
From: Jiri Slaby @ 2016-03-14 13:16 UTC (permalink / raw)
  To: stable; +Cc: Jiri Slaby, Nicolai Hähnle, Christian König

This patch has been added to the 3.12 stable tree. If you have any
objections, please let us know.

===============

This reverts commit 40df18b49e7fe4ec9ab93f68c33661ee291149bd, commit
f6ff4f67cdf8455d0a4226eeeaf5af17c37d05eb upstream.

It causes oopses:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
IP: [<ffffffffa010345d>] radeon_fence_ref+0xd/0x50 [radeon]

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Nicolai Hähnle <nicolai.haehnle@amd.com>
Cc: Christian König <christian.koenig@amd.com>
---
 drivers/gpu/drm/radeon/radeon_sa.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_sa.c b/drivers/gpu/drm/radeon/radeon_sa.c
index bb166849aa6e..f0bac68254b7 100644
--- a/drivers/gpu/drm/radeon/radeon_sa.c
+++ b/drivers/gpu/drm/radeon/radeon_sa.c
@@ -349,13 +349,8 @@ int radeon_sa_bo_new(struct radeon_device *rdev,
 			/* see if we can skip over some allocations */
 		} while (radeon_sa_bo_next_hole(sa_manager, fences, tries));
 
-		for (i = 0; i < RADEON_NUM_RINGS; ++i)
-			radeon_fence_ref(fences[i]);
-
 		spin_unlock(&sa_manager->wq.lock);
 		r = radeon_fence_wait_any(rdev, fences, false);
-		for (i = 0; i < RADEON_NUM_RINGS; ++i)
-			radeon_fence_unref(&fences[i]);
 		spin_lock(&sa_manager->wq.lock);
 		/* if we have nothing to wait for block */
 		if (r == -ENOENT && block) {
-- 
2.7.3


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

end of thread, other threads:[~2016-03-14 22:10 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-14 13:16 [patch added to 3.12-stable] Revert "drm/radeon: hold reference to fences in radeon_sa_bo_new" Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] KVM: VMX: disable PEBS before a guest entry Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] tracing: Fix check for cpu online when event is disabled Jiri Slaby
2016-03-14 17:19   ` Luis Henriques
2016-03-14 17:25     ` Greg Kroah-Hartman
2016-03-14 17:28     ` Steven Rostedt
2016-03-14 13:16 ` [patch added to 3.12-stable] ASoC: wm8994: Fix enum ctl accesses in a wrong type Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] ASoC: wm8958: " Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] wext: fix message delay/ordering Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] iwlwifi: mvm: inc pending frames counter also when txing non-sta Jiri Slaby
2016-03-14 16:39   ` Luis Henriques
2016-03-14 22:10     ` Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] mac80211: minstrel_ht: set default tx aggregation timeout to 0 Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] powerpc: Fix dedotify for binutils >= 2.26 Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] KVM: x86: move steal time initialization to vcpu entry time Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] lib/ucs2_string: Add ucs2 -> utf8 helper functions Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] efi: Do variable name validation tests in utf8 Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] efi: Make our variable validation list include the guid Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] efi: Make efivarfs entries immutable by default Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] efi: Add pstore variables to the deletion whitelist Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] lib/ucs2_string: Correct ucs2 -> utf8 conversion Jiri Slaby
2016-03-14 13:16 ` [patch added to 3.12-stable] modules: fix longstanding /proc/kallsyms vs module insertion race Jiri Slaby

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