[Nouveau] [Bug 87552] [NV1A] 3.18.1 BUG on modprobe nouveau in drivers/gpu/drm/nouveau/core/core/event.c:42

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 21 08:36:27 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=87552

--- Comment #2 from Bruno <bonbons67 at internet.lu> ---
Created attachment 111115
  --> https://bugs.freedesktop.org/attachment.cgi?id=111115&action=edit
BUG_ON(!spin_is_locked(lock)) is taboo on UP

void
nvkm_event_get(struct nvkm_event *event, u32 types, int index)
{
        BUG_ON(!spin_is_locked(&event->refs_lock));
        while (types) {
                int type = __ffs(types); types &= ~(1 << type);
                if (++event->refs[index * event->types_nr + type] == 1) {
                        if (event->func->init)
                                event->func->init(event, 1 << type, index);
                }
        }
}

Is it ever valid to do these spin_is_locked() checks on !SMP system?

!SMP system do not have spinlocks at all!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20141221/8eafb69d/attachment.html>


More information about the Nouveau mailing list