From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Rahmatullin Subject: Warnings on suspend in gen6_gt_force_wake_* on Sandy Bridge Date: Fri, 17 Jun 2011 00:52:09 +0600 Message-ID: <20110616185209.GC7253@belkar.wrar.name> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0444123686==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org, Keith Packard , dri-devel@lists.freedesktop.org Cc: Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org --===============0444123686== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZwgA9U+XZDXt4+m+" Content-Disposition: inline --ZwgA9U+XZDXt4+m+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello. I'm trying latest Linus tree (v3.0-rc3-135-g19a1166) and the suspend process generates lots of WARNINGs from i915 driver, this didn't happen on 2.6.39 and apparently on 3.0-rc2 too. The hardware is ASUS K53E with i5 2410M, so the chip is Intel HD 3000.=20 A sample warning: [ 182.052219] WARNING: at drivers/gpu/drm/i915/i915_drv.c:322 gen6_gt_forc= e_wake_get+0x25/0x9e [i915]() [ 182.052224] Hardware name: K53E [ 182.052226] Modules linked in: af_packet rfcomm bnep cpufreq_userspace cpufreq_stats cpufreq_powersave cpufreq_ondemand acpi_cpufreq freq_table mperf uinput fuse nfsd nfs lockd fscache auth_rpcgss nfs_acl sunrpc ipv6 snd_hda_codec_hdmi snd_hda_codec_realtek btusb bluetooth uvcvideo videodev v4l2_compat_ioctl32 crc16 arc4 i915 drm_kms_helper drm asus_nb_wmi ath9k snd_hda_intel snd_hda_codec asus_wmi i2c_algo_bit mac80211 sparse_keymap pci_hotplug snd_hwdep snd_pcm ath9k_common ath9k_hw wmi video ath snd_seq snd_timer intel_agp backlight mei(C) cfg80211 snd_seq_device intel_gtt i2c_i801 i2c_core snd agpgart evdev soundcore snd_page_alloc battery ac psmouse processor button dm_mod sg sr_mod cdrom thermal thermal_sys hwmon usbcore atl1c [last unloaded: ehci_hcd] [ 182.052288] Pid: 596, comm: kworker/u:7 Tainted: G WC 3.0.0-rc3-w= rar-sabine+ #3 [ 182.052293] Call Trace: [ 182.052296] [] warn_slowpath_common+0x7e/0x96 [ 182.052301] [] warn_slowpath_null+0x15/0x17 [ 182.052308] [] gen6_gt_force_wake_get+0x25/0x9e [i915] [ 182.052316] [] i915_read8+0x2d/0x4f [i915] [ 182.052325] [] i915_restore_display+0x1038/0x10b7 [i9= 15] [ 182.052330] [] ? _raw_spin_unlock_irqrestore+0x20/0x2b [ 182.052339] [] i915_restore_state+0x53/0x1f1 [i915] [ 182.052345] [] i915_drm_thaw+0x4c/0xd3 [i915] [ 182.052352] [] i915_resume+0x40/0x57 [i915] [ 182.052359] [] i915_pm_resume+0x11/0x13 [i915] [ 182.052363] [] pci_pm_resume+0x87/0x9c [ 182.052366] [] pm_op+0xa4/0x144 [ 182.052370] [] ? async_schedule+0x12/0x12 [ 182.052374] [] device_resume+0x8e/0xc6 [ 182.052377] [] ? try_to_wake_up+0x1be/0x1d0 [ 182.052381] [] async_resume+0x1a/0x42 [ 182.052385] [] async_run_entry_fn+0x9d/0x14f [ 182.052389] [] ? async_run_entry_fn+0x116/0x14f [ 182.052393] [] process_one_work+0x13c/0x21e [ 182.052397] [] worker_thread+0xce/0x152 [ 182.052401] [] ? manage_workers.isra.29+0x16c/0x16c [ 182.052405] [] kthread+0x7f/0x87 [ 182.052409] [] kernel_thread_helper+0x4/0x10 [ 182.052413] [] ? kthread_worker_fn+0x141/0x141 [ 182.052417] [] ? gs_change+0xb/0xb [ 182.052420] ---[ end trace 26bf0be9378ff57c ]--- Then almost the same but with [ 182.052083] [] warn_slowpath_common+0x7e/0x96 [ 182.052087] [] warn_slowpath_null+0x15/0x17 [ 182.052094] [] gen6_gt_force_wake_put+0x24/0x4d [i915] [ 182.052102] [] i915_read8+0x3d/0x4f [i915] These two warnings repeat for a total of 45 times, statring and ending with _put one. --=20 WBR, wRAR --ZwgA9U+XZDXt4+m+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJN+lDZAAoJEDNi9wMaSZLhHIQP/iq30LrWwi2bm1gM44zXQ+F+ AgHg2QeyN1u/VyFA7SQHD7CP8LN7F32ATO7HxkUgk0phwpQZPo+QQwQIPlwI88xA TZFQwVDftPLaTNh74aRiOdntq621uKXCEScjGoReoMAFGheOGJNUxZC5LhYP7ZK0 8XYXeNoTz1lT94IWl5xs6z3Rxc5+EQ5+PEdW5jGTMqpJ58iBMnYietmvJ/VbxY6w PWBUeOfJPlyWNBYKM7zCHIBcuD850+/VRpyfIT18RB3YRW88nfm+68VZnTBwJPjJ bWvMX0yaMzRJbvgl+hHIVZOUn/1j53WFpLRu5rrdOJ4yxVpShQa1JsQPXA9A053K CmCe3XuR1nNN0p05G3q0D5fN2k7eQfIx/fLzvI1ueb8R4/fqQ87jF0DIQW2AJF1f lFs6wKIaUw+Qoz8Az0MKFxZf920Z7tX9wUzk+IlSj0KamXYWFDBHth5c//8xRKvx bkkxxGwn/007KiYaj8TBDYcW3C5fsjiQqgW84tBMmgyBZu2Fp1X3RyLeSYIAR0OB 491eD8QXB96n+UEUgQ5gtl5sDgTzFPIfaKidoAScRHNnEmJeOHNiJUBDn3hWaucT 1++39z0kSe4czDKM1HMDFKM7QKx8RQVdZ7OmPVjqiO9nM0BCJ1cTh7VaYyGzoFxQ r5RHNf9sSn1DlcFgHTrc =KDBh -----END PGP SIGNATURE----- --ZwgA9U+XZDXt4+m+-- --===============0444123686== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0444123686==--