mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Parag Warudkar <parag.lkml@gmail.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org
Subject: WARNING: at drivers/pci/pci-driver.c:368
Date: Tue, 3 Feb 2009 18:50:38 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.2.00.0902031821590.7302@parag-laptop> (raw)
In-Reply-To: <200902032315.27113.rjw@sisk.pl>


Today's git triggers the below warning on suspending my laptop, which is -

if (WARN_ON_ONCE(pci_dev->current_state != PCI_D0))

Would it be helpful to also print info about the device that was not in 
PCI_D0?


pci_legacy_suspend+0x7e/0xc3()[  123.510055] WARNING: at 
drivers/pci/pci-driver.c:368 
pci_legacy_suspend+0x7e/0xc3()                                                        
[  123.510056] Hardware name: HP Compaq 6910p                                                                                                 
[  123.510058] Modules linked in: ipv6 aes_x86_64 aes_generic af_packet 
radeon drm i2c_core binfmt_misc kvm_intel kvm ppdev acpi_cpufreq cpufr
eq_userspace cpufreq_ondemand cpufreq_conservative cpufreq_stats 
freq_table cpufreq_powersave pci_slot iptable_filter ip_tables x_tables 
input
_polldev sbp2 ieee1394 parport_pc lp parport joydev snd_hda_codec_analog 
snd_hda_intel snd_hda_codec arc4 snd_pcm_oss snd_mixer_oss ecb snd_pc
m sdhci_pci sdhci snd_seq_dummy mmc_core snd_seq_oss iwlagn iwlcore evdev 
ricoh_mmc psmouse serio_raw pcspkr rfkill snd_seq_midi led_class mac
80211 iTCO_wdt iTCO_vendor_support snd_rawmidi cfg80211 snd_seq_midi_event 
snd_seq snd_timer snd_seq_device video output container snd tpm_inf
ineon tpm tpm_bios intel_agp wmi battery shpchp ac button soundcore 
snd_page_alloc pci_hotplug ext3 jbd mbcache sr_mod cdrom ata_generic sd_mo
d crc_t10dif sg ata_piix pata_acpi ahci libata scsi_mod ehci_hcd uhci_hcd 
usbcore e1000e thermal processor fan fuse
[  123.510112] Pid: 6370, comm: pm-suspend Not tainted 2.6.29-rc3 #5
[  123.510114] Call Trace:
[  123.510119]  [<ffffffff8023fc1f>] warn_slowpath+0xd3/0x10f
[  123.510124]  [<ffffffff804689d4>] ? _spin_lock_irqsave+0x28/0x31
[  123.510127]  [<ffffffff80249044>] ? lock_timer_base+0x26/0x4a
[  123.510130]  [<ffffffff80227adf>] ? default_spin_lock_flags+0x9/0xe
[  123.510140]  [<ffffffff8025640e>] ? down_timeout+0x45/0x50
[  123.510142]  [<ffffffff80227adf>] ? default_spin_lock_flags+0x9/0xe
[  123.510144]  [<ffffffff802563c4>] ? up+0x34/0x39
[  123.510148]  [<ffffffff8036a969>] ? acpi_os_signal_semaphore+0x23/0x27
[  123.510151]  [<ffffffff80383c11>] ? acpi_ut_release_mutex+0x5d/0x61
[  123.510154]  [<ffffffff80379dfa>] ? acpi_get_data+0x5e/0x70
[  123.510156]  [<ffffffff8038501d>] ? acpi_bus_get_device+0x25/0x39
[  123.510159]  [<ffffffff803850dc>] ? acpi_bus_power_manageable+0x11/0x29
[  123.510161]  [<ffffffff8035f16e>] ? acpi_pci_power_manageable+0x17/0x19
[  123.510164]  [<ffffffff80355dbf>] ? pci_set_power_state+0xcc/0x101
[  123.510170]  [<ffffffff803581c6>] pci_legacy_suspend+0x7e/0xc3
[  123.510173]  [<ffffffff80358305>] pci_pm_suspend+0x37/0x8a
[  123.510176]  [<ffffffff803c1aee>] pm_op+0x52/0xe5
[  123.510179]  [<ffffffff803c2087>] device_suspend+0x31d/0x442
[  123.510182]  [<ffffffff802663f4>] suspend_devices_and_enter+0x3e/0x13a
[  123.510184]  [<ffffffff80266658>] enter_state+0x110/0x164
[  123.510187]  [<ffffffff80266763>] state_store+0xb7/0xd7
[  123.510190]  [<ffffffff80345037>] kobj_attr_store+0x17/0x19
[  123.510193]  [<ffffffff802fec33>] sysfs_write_file+0xdf/0x114
[  123.510196]  [<ffffffff802b125b>] vfs_write+0xa7/0xe1
[  123.510198]  [<ffffffff802b1359>] sys_write+0x47/0x6f
[  123.510200]  [<ffffffff8021126a>] system_call_fastpath+0x16/0x1b
[  123.510202] ---[ end trace 0a834135293f05a3 ]---



  reply	other threads:[~2009-02-03 23:51 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-29  0:14 2.6.29-rc3: tg3 dead after resume Parag Warudkar
2009-01-29  1:09 ` Linus Torvalds
2009-01-29  1:49   ` Parag Warudkar
2009-01-29  2:10     ` Linus Torvalds
2009-01-29  2:19       ` Matt Carlson
2009-01-29 22:22         ` Rafael J. Wysocki
2009-01-29 18:42     ` Matt Carlson
2009-01-29 22:06       ` Parag Warudkar
2009-01-29 22:22         ` Matt Carlson
2009-01-29 22:35           ` Parag Warudkar
2009-01-29 23:10             ` Rafael J. Wysocki
2009-01-30 18:40             ` Matt Carlson
2009-01-30 22:50               ` Parag Warudkar
2009-01-30 23:06                 ` Linus Torvalds
2009-01-30 23:33                   ` Linus Torvalds
2009-01-30 23:45                   ` Parag Warudkar
2009-01-30 23:57                     ` Linus Torvalds
2009-01-30 23:59                     ` Rafael J. Wysocki
2009-01-31  0:28                       ` Parag Warudkar
2009-01-31  0:38                         ` Rafael J. Wysocki
2009-01-31  0:44                           ` Ingo Molnar
2009-01-31  0:47                             ` Rafael J. Wysocki
2009-01-31  1:21                           ` Parag Warudkar
2009-01-31  1:37                             ` Rafael J. Wysocki
2009-01-31  1:42                               ` Parag Warudkar
2009-02-03  9:29                                 ` Rafael J. Wysocki
2009-02-03 21:27                                   ` Parag Warudkar
2009-02-03 22:15                                     ` Rafael J. Wysocki
2009-02-03 23:50                                       ` Parag Warudkar [this message]
2009-02-04  0:10                                         ` WARNING: at drivers/pci/pci-driver.c:368 Rafael J. Wysocki
2009-02-04  0:17                                           ` Parag Warudkar
2009-02-04  0:19                                             ` Parag Warudkar
2009-02-04  0:38                                       ` 2.6.29-rc3: tg3 dead after resume Parag Warudkar
2009-02-04  0:41                                         ` Rafael J. Wysocki
2009-02-07  3:00                                           ` Linus Torvalds
2009-02-07 18:03                                             ` Jesse Barnes
2009-01-31  1:46                             ` Linus Torvalds
2009-01-31  1:54                               ` Parag Warudkar
2009-01-31  2:25                                 ` Linus Torvalds
2009-01-31  2:40                                   ` Parag Warudkar
2009-01-31 18:51                                     ` Rafael J. Wysocki
2009-01-31  2:19                               ` Linus Torvalds
2009-01-31 20:45                                 ` Rafael J. Wysocki
2009-01-31  1:41                           ` Linus Torvalds
2009-01-31 21:08                             ` Rafael J. Wysocki
2009-01-31 21:42                               ` What should PCI core do during suspend-resume? (was: Re: 2.6.29-rc3: tg3 dead after resume) Rafael J. Wysocki
2009-01-31 21:59                                 ` Linus Torvalds
2009-01-31 23:08                                   ` Rafael J. Wysocki
2009-01-31 23:27                                     ` Linus Torvalds
2009-01-31 23:39                                       ` Linus Torvalds
2009-02-01  0:36                                         ` Rafael J. Wysocki
2009-02-01  1:06                                           ` Linus Torvalds
2009-02-01  1:13                                             ` Linus Torvalds
2009-02-01  1:20                                             ` Arjan van de Ven
2009-02-01  1:24                                             ` Rafael J. Wysocki
2009-02-07  9:21                                 ` Pavel Machek
2009-01-31 21:47                               ` 2.6.29-rc3: tg3 dead after resume Linus Torvalds
2009-01-31 22:46                                 ` Rafael J. Wysocki
2009-01-31 23:01                                   ` Linus Torvalds
2009-02-01  0:11                                     ` Rafael J. Wysocki
2009-02-01  0:32                                       ` Linus Torvalds
2009-02-01  0:41                                         ` Rafael J. Wysocki
2009-02-01  0:51                                         ` Linus Torvalds
2009-02-07  3:27                                           ` Benjamin Herrenschmidt
2009-02-07  3:26                                     ` Benjamin Herrenschmidt
2009-01-29 23:03         ` Rafael J. Wysocki
2009-01-29 23:41           ` Matt Carlson
2009-01-30  0:10             ` Rafael J. Wysocki
2009-01-30 22:31               ` Parag Warudkar
2009-01-30 22:36                 ` Linus Torvalds
2009-01-30 22:54                 ` Rafael J. Wysocki
2009-01-30 23:07                   ` Linus Torvalds
2009-01-30 23:13                   ` Parag Warudkar
2009-01-30 23:31                     ` Rafael J. Wysocki
2009-01-30 23:51                       ` Linus Torvalds
2009-01-31  0:07                         ` Rafael J. Wysocki
2009-01-31  0:34                         ` Rafael J. Wysocki

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=alpine.DEB.2.00.0902031821590.7302@parag-laptop \
    --to=parag.lkml@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®