From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: alsa-devel@alsa-project.org
Cc: Takashi Iwai <tiwai@suse.de>, intel-gfx@lists.freedesktop.org
Subject: snd-hda-intel runtime PM fail after module reload
Date: Thu, 25 Feb 2016 21:19:08 +0200 [thread overview]
Message-ID: <20160225191908.GN15993@intel.com> (raw)
Hi,
My investigation into some sporadic i915 runtime PM failures seem to
point the finger at snd-hda-intel.
I just tried to play around unloding and reloading snd-hda-intel and
sometimes I get snd-hda-intel loaded with runtime PM supposedly enabled,
but actually the device won't runtime suspend. At which point frobbing
with power/control is enough to kick it back into submission.
# for i in `seq 1 3`; do sleep 1 ; grep . /sys/bus/pci/devices/0000\:00\:03.0/power/* ; done
/sys/bus/pci/devices/0000:00:03.0/power/async:enabled
grep: /sys/bus/pci/devices/0000:00:03.0/power/autosuspend_delay_ms: Input/output error
/sys/bus/pci/devices/0000:00:03.0/power/control:auto
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_kids:0
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_time:117045
/sys/bus/pci/devices/0000:00:03.0/power/runtime_enabled:enabled
/sys/bus/pci/devices/0000:00:03.0/power/runtime_status:suspended
/sys/bus/pci/devices/0000:00:03.0/power/runtime_suspended_time:222657
/sys/bus/pci/devices/0000:00:03.0/power/runtime_usage:0
/sys/bus/pci/devices/0000:00:03.0/power/async:enabled
grep: /sys/bus/pci/devices/0000:00:03.0/power/autosuspend_delay_ms: Input/output error
/sys/bus/pci/devices/0000:00:03.0/power/control:auto
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_kids:0
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_time:117045
/sys/bus/pci/devices/0000:00:03.0/power/runtime_enabled:enabled
/sys/bus/pci/devices/0000:00:03.0/power/runtime_status:suspended
/sys/bus/pci/devices/0000:00:03.0/power/runtime_suspended_time:223666
/sys/bus/pci/devices/0000:00:03.0/power/runtime_usage:0
/sys/bus/pci/devices/0000:00:03.0/power/async:enabled
grep: /sys/bus/pci/devices/0000:00:03.0/power/autosuspend_delay_ms: Input/output error
/sys/bus/pci/devices/0000:00:03.0/power/control:auto
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_kids:0
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_time:117045
/sys/bus/pci/devices/0000:00:03.0/power/runtime_enabled:enabled
/sys/bus/pci/devices/0000:00:03.0/power/runtime_status:suspended
/sys/bus/pci/devices/0000:00:03.0/power/runtime_suspended_time:224674
/sys/bus/pci/devices/0000:00:03.0/power/runtime_usage:0
# rmmod snd-hda-intel
# modprobe snd-hda-intel
# for i in `seq 1 3`; do sleep 1 ; grep . /sys/bus/pci/devices/0000\:00\:03.0/power/* ; done
/sys/bus/pci/devices/0000:00:03.0/power/async:enabled
grep: /sys/bus/pci/devices/0000:00:03.0/power/autosuspend_delay_ms: Input/output error
/sys/bus/pci/devices/0000:00:03.0/power/control:auto
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_kids:0
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_time:121454
/sys/bus/pci/devices/0000:00:03.0/power/runtime_enabled:enabled
/sys/bus/pci/devices/0000:00:03.0/power/runtime_status:active
/sys/bus/pci/devices/0000:00:03.0/power/runtime_suspended_time:228560
/sys/bus/pci/devices/0000:00:03.0/power/runtime_usage:0
/sys/bus/pci/devices/0000:00:03.0/power/async:enabled
grep: /sys/bus/pci/devices/0000:00:03.0/power/autosuspend_delay_ms: Input/output error
/sys/bus/pci/devices/0000:00:03.0/power/control:auto
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_kids:0
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_time:122463
/sys/bus/pci/devices/0000:00:03.0/power/runtime_enabled:enabled
/sys/bus/pci/devices/0000:00:03.0/power/runtime_status:active
/sys/bus/pci/devices/0000:00:03.0/power/runtime_suspended_time:228560
/sys/bus/pci/devices/0000:00:03.0/power/runtime_usage:0
/sys/bus/pci/devices/0000:00:03.0/power/async:enabled
grep: /sys/bus/pci/devices/0000:00:03.0/power/autosuspend_delay_ms: Input/output error
/sys/bus/pci/devices/0000:00:03.0/power/control:auto
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_kids:0
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_time:123472
/sys/bus/pci/devices/0000:00:03.0/power/runtime_enabled:enabled
/sys/bus/pci/devices/0000:00:03.0/power/runtime_status:active
/sys/bus/pci/devices/0000:00:03.0/power/runtime_suspended_time:228560
/sys/bus/pci/devices/0000:00:03.0/power/runtime_usage:0
# echo on > /sys/bus/pci/devices/0000:00:03.0/power/control
# echo auto > /sys/bus/pci/devices/0000:00:03.0/power/control
# for i in `seq 1 3`; do sleep 1 ; grep . /sys/bus/pci/devices/0000\:00\:03.0/power/* ; done
/sys/bus/pci/devices/0000:00:03.0/power/async:enabled
grep: /sys/bus/pci/devices/0000:00:03.0/power/autosuspend_delay_ms: Input/output error
/sys/bus/pci/devices/0000:00:03.0/power/control:auto
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_kids:0
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_time:141459
/sys/bus/pci/devices/0000:00:03.0/power/runtime_enabled:enabled
/sys/bus/pci/devices/0000:00:03.0/power/runtime_status:suspended
/sys/bus/pci/devices/0000:00:03.0/power/runtime_suspended_time:231699
/sys/bus/pci/devices/0000:00:03.0/power/runtime_usage:0
/sys/bus/pci/devices/0000:00:03.0/power/async:enabled
grep: /sys/bus/pci/devices/0000:00:03.0/power/autosuspend_delay_ms: Input/output error
/sys/bus/pci/devices/0000:00:03.0/power/control:auto
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_kids:0
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_time:141459
/sys/bus/pci/devices/0000:00:03.0/power/runtime_enabled:enabled
/sys/bus/pci/devices/0000:00:03.0/power/runtime_status:suspended
/sys/bus/pci/devices/0000:00:03.0/power/runtime_suspended_time:232706
/sys/bus/pci/devices/0000:00:03.0/power/runtime_usage:0
/sys/bus/pci/devices/0000:00:03.0/power/async:enabled
grep: /sys/bus/pci/devices/0000:00:03.0/power/autosuspend_delay_ms: Input/output error
/sys/bus/pci/devices/0000:00:03.0/power/control:auto
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_kids:0
/sys/bus/pci/devices/0000:00:03.0/power/runtime_active_time:141459
/sys/bus/pci/devices/0000:00:03.0/power/runtime_enabled:enabled
/sys/bus/pci/devices/0000:00:03.0/power/runtime_status:suspended
/sys/bus/pci/devices/0000:00:03.0/power/runtime_suspended_time:233713
/sys/bus/pci/devices/0000:00:03.0/power/runtime_usage:0
--
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2016-02-25 19:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-25 19:19 Ville Syrjälä [this message]
2016-02-25 20:28 ` snd-hda-intel runtime PM fail after module reload Takashi Iwai
2016-02-25 21:57 ` Ville Syrjälä
2016-02-26 7:49 ` Takashi Iwai
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=20160225191908.GN15993@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=tiwai@suse.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