dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Chubb <peter.chubb@nicta.com.au>
To: "Deucher, Alexander" <Alexander.Deucher@amd.com>
Cc: Peter Chubb <peter.chubb@nicta.com.au>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	Markus Trippelsdorf <markus@trippelsdorf.de>
Subject: Re: Can no longer shutdown after drm/radeon: Implement radeon_pci_shutdown
Date: Thu, 12 Dec 2013 11:04:00 +1100	[thread overview]
Message-ID: <84mwk7djf3.wl%peter.chubb@nicta.com.au> (raw)
In-Reply-To: <A3397C8B8B789E45844E7EC5DEAD89D030A9F2AB@satlexdag05.amd.com>

>>>>> "Deucher," == Deucher, Alexander <Alexander.Deucher@amd.com> writes:

>> 
>> >>>>> "Markus" == Markus Trippelsdorf <markus@trippelsdorf.de>
>> writes:
>> 
Markus> On 2013.12.11 at 11:37 +1100, Peter Chubb wrote:
>> 
Markus> It would be interesting to know where exactly it hangs.  Could
Markus> you comment out the *_fini(rdev) calls in
Markus> radeon_driver_unload_kms
>> (drivers/gpu/drm/radeon/radeon_kms.c)
Markus> one after the other to find out which one is responsible?
>> 
>> It's radeon_device_fini() that is the problem.

Deucher,> I think the problem is that the drm subsystem tears down the
Deucher,> device via drm_driver.unload in drm_dev_unregister(), but
Deucher,> now that we have a pci_driver.shutdown callback (which is
Deucher,> needed for kexec) that gets called too so the driver gets
Deucher,> torn down twice.  What exactly happens when you say it's
Deucher,> broken?

The machine hangs, with blank screen, getting hotter and hotter with
the fan screaming.  Magic sysrq does nothing.  Power button sometimes
works and sometimes does nothing.  The only sure way out is to take the
battery out of the laptop.

--
Dr Peter Chubb				        peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au          Software Systems Research Group/NICTA

  reply	other threads:[~2013-12-12  0:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-11  0:37 Can no longer shutdown after drm/radeon: Implement radeon_pci_shutdown Peter Chubb
2013-12-11  7:26 ` Markus Trippelsdorf
2013-12-11 22:11   ` Peter Chubb
2013-12-11 23:46     ` Deucher, Alexander
2013-12-12  0:04       ` Peter Chubb [this message]
2013-12-12  2:58       ` Markus Trippelsdorf
2013-12-12  3:10         ` Peter Chubb
2013-12-12  3:27         ` Deucher, Alexander
2013-12-12 13:56           ` Markus Trippelsdorf
2013-12-12 14:11             ` Alex Deucher

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=84mwk7djf3.wl%peter.chubb@nicta.com.au \
    --to=peter.chubb@nicta.com.au \
    --cc=Alexander.Deucher@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=markus@trippelsdorf.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox