All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Airlie <airlied@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: torvalds@linuxfoundation.org, fengguang.wu@intel.com,
	linux@arm.linux.org.uk
Subject: drm/sysfs lifetime interaction fixes
Date: Fri, 11 Oct 2013 15:05:55 +1000	[thread overview]
Message-ID: <1381467957-32193-1-git-send-email-airlied@gmail.com> (raw)

As reported in the thread
[xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
on Linux kernel the drm has a crappy interaction model with the sysfs objects.

This is my preferred method of fixing it as I don't think the lifetimes need
to be tied so closely, though this requires review my someone to make sure
my unregistering etc is correct and in the right place.

Russell helped my understanding of the device model and supplied a patch
doing this another way, but I think I like splitting the lifetimes more.

Patch 1 is just prepartory for i915, then patch 2 is the guts.

Dave.

             reply	other threads:[~2013-10-11  5:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-11  5:05 Dave Airlie [this message]
2013-10-11  5:05 ` [PATCH 1/2] drm/i915: abstract the conversion of device->minor out to a macro Dave Airlie
2013-10-12 13:16   ` Russell King - ARM Linux
2013-10-11  5:05 ` [PATCH 2/2] drm/sysfs: sort out minor and connector device object lifetimes Dave Airlie
2013-10-11 17:09 ` drm/sysfs lifetime interaction fixes Linus Torvalds
2013-10-11 21:47   ` Dave Airlie
2013-10-12 12:54     ` Fengguang Wu
2013-10-12 19:04       ` Vlastimil Babka
2013-10-13  0:27         ` Fengguang Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1381467957-32193-1-git-send-email-airlied@gmail.com \
    --to=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=fengguang.wu@intel.com \
    --cc=linux@arm.linux.org.uk \
    --cc=torvalds@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.