From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable Date: Wed, 23 Nov 2011 16:46:02 +0100 Message-ID: <20111123154602.GH3864@phenom.ffwll.local> References: <1321684889-18691-1-git-send-email-keithp@keithp.com> <20111122201531.GD5547@srcf.ucam.org> <861uszfrah.fsf@sumi.keithp.com> <20111123102643.GB3864@phenom.ffwll.local> <1322056914.15493.158.camel@shinybook.infradead.org> <20111123143931.GE3864@phenom.ffwll.local> <1322060623.15493.168.camel@shinybook.infradead.org> <20111123153154.GF3864@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20111123153154.GF3864@phenom.ffwll.local> Sender: linux-kernel-owner@vger.kernel.org To: David Woodhouse , rajesh.sankaran@intel.com, Keith Packard , Matthew Garrett , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, Nov 23, 2011 at 04:31:54PM +0100, Daniel Vetter wrote: > - Wait 2 minutes for the stuck-in-atomic detection logic to kick in and > grab the backtrace over netconsole. Notice that the kernel is stuck > trying to flush the dmar tlb cache (that's how I managed to track it > down to a dmar interaction). Backtrace almost identical to the dmar > issue on ilk. I've lost the backtrace, if you want I can regrab it. Ok, I've recaptured the last words from my dying machine: Listening for netconsole messages [ 136.897673] ------------[ cut here ]------------ [ 136.897694] WARNING: at kernel/watchdog.c:241 watchdog_overflow_callback+0x9b/0xa6() [ 136.897701] Hardware name: HP EliteBook 8460p [ 136.897707] Watchdog detected hard LOCKUP on cpu 0 [ 136.897713] Modules linked in: sunrpc 8021q garp stp llc cpufreq_ondemand acpi_cpufreq freq_table mperf snd_hda_codec_hdmi snd_hda_codec_idt arc4 iwlwifi mac80211 hp_wmi sparse_keymap ppdev uvcvideo videodev v4l2_compat_ioctl32 btusb microcode snd_hda_intel snd_hda_codec snd_hwdep snd_seq bluetooth snd_seq_device iTCO_wdt snd_pcm snd_timer snd cfg80211 serio_raw iTCO_vendor_support joydev xhci_hcd rfkill e1000e soundcore snd_page_alloc parport_pc parport tpm_infineon wmi intel_ips ipv6 firewire_ohci firewire_core crc_itu_t sdhci_pci sdhci mmc_core i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan] [ 136.897967] Pid: 0, comm: swapper Not tainted 3.2.0-rc2+ #162 [ 136.897972] Call Trace: [ 136.897978] [] warn_slowpath_common+0x83/0x9b [ 136.897998] [] warn_slowpath_fmt+0x46/0x48 [ 136.898007] [] ? native_sched_clock+0x34/0x36 [ 136.898016] [] watchdog_overflow_callback+0x9b/0xa6 [ 136.898026] [] __perf_event_overflow+0x100/0x17f [ 136.898035] [] ? perf_event_update_userpage+0xf/0xa2 [ 136.898045] [] ? x86_perf_event_set_period+0x107/0x113 [ 136.898053] [] perf_event_overflow+0x14/0x16 [ 136.898062] [] intel_pmu_handle_irq+0x211/0x271 [ 136.898073] [] perf_event_nmi_handler+0x19/0x1b [ 136.898082] [] nmi_handle+0x42/0x67 [ 136.898091] [] do_nmi+0x8c/0x26b [ 136.898099] [] nmi+0x20/0x30 [ 136.898109] [] ? do_raw_spin_lock+0x1/0x25 [ 136.898115] <> [] ? _raw_spin_lock+0xe/0x10 [ 136.898135] [] qi_submit_sync+0x30d/0x312 [ 136.898143] [] qi_flush_iotlb+0x7a/0x7c [ 136.898152] [] flush_unmaps+0x72/0x131 [ 136.898161] [] flush_unmaps_timeout+0x1f/0x32 [ 136.898169] [] run_timer_softirq+0x19b/0x280 [ 136.898177] [] ? paravirt_read_tsc+0x9/0xd [ 136.898186] [] ? flush_unmaps+0x131/0x131 [ 136.898195] [] __do_softirq+0xc9/0x1b5 [ 136.898203] [] ? paravirt_read_tsc+0x9/0xd [ 136.898212] [] call_softirq+0x1c/0x30 [ 136.898222] [] do_softirq+0x46/0x81 [ 136.898230] [] irq_exit+0x57/0xb1 [ 136.898238] [] smp_apic_timer_interrupt+0x7c/0x8a [ 136.898251] [] apic_timer_interrupt+0x6e/0x80 [ 136.898256] [] ? paravirt_read_tsc+0x9/0xd [ 136.898271] [] ? intel_idle+0xef/0x120 [ 136.898279] [] ? intel_idle+0xd1/0x120 [ 136.898289] [] cpuidle_idle_call+0xe2/0x181 [ 136.898297] [] cpu_idle+0xa9/0xf0 [ 136.898306] [] rest_init+0x72/0x74 [ 136.898316] [] start_kernel+0x3b0/0x3bd [ 136.898324] [] x86_64_start_reservations+0xaf/0xb3 [ 136.898332] [] ? early_idt_handlers+0x140/0x140 [ 136.898340] [] x86_64_start_kernel+0x102/0x111 [ 136.898348] ---[ end trace 2d22d2d9c3bfe5c8 ]--- [ 161.821354] ------------[ cut here ]------------ [ 161.821365] WARNING: at kernel/watchdog.c:241 watchdog_overflow_callback+0x9b/0xa6() [ 161.821370] Hardware name: HP EliteBook 8460p [ 161.821376] Watchdog detected hard LOCKUP on cpu 1 [ 161.821381] Modules linked in: sunrpc 8021q garp stp llc cpufreq_ondemand acpi_cpufreq freq_table mperf snd_hda_codec_hdmi snd_hda_codec_idt arc4 iwlwifi mac80211 hp_wmi sparse_keymap ppdev uvcvideo videodev v4l2_compat_ioctl32 btusb microcode snd_hda_intel snd_hda_codec snd_hwdep snd_seq bluetooth snd_seq_device iTCO_wdt snd_pcm snd_timer snd cfg80211 serio_raw iTCO_vendor_support joydev xhci_hcd rfkill e1000e soundcore snd_page_alloc parport_pc parport tpm_infineon wmi intel_ips ipv6 firewire_ohci firewire_core crc_itu_t sdhci_pci sdhci mmc_core i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan] [ 161.821609] Pid: 1134, comm: X Tainted: G W 3.2.0-rc2+ #162 [ 161.821615] Call Trace: [ 161.821619] [] warn_slowpath_common+0x83/0x9b [ 161.821633] [] warn_slowpath_fmt+0x46/0x48 [ 161.821640] [] ? native_sched_clock+0x34/0x36 [ 161.821648] [] watchdog_overflow_callback+0x9b/0xa6 [ 161.821655] [] __perf_event_overflow+0x100/0x17f [ 161.821663] [] ? perf_event_update_userpage+0xf/0xa2 [ 161.821669] [] ? x86_perf_event_set_period+0x107/0x113 [ 161.821677] [] perf_event_overflow+0x14/0x16 [ 161.821684] [] intel_pmu_handle_irq+0x211/0x271 [ 161.821692] [] perf_event_nmi_handler+0x19/0x1b [ 161.821700] [] nmi_handle+0x42/0x67 [ 161.821708] [] do_nmi+0x8c/0x26b [ 161.821715] [] nmi+0x20/0x30 [ 161.821723] [] ? _raw_spin_lock_irqsave+0x2a/0x2f [ 161.821728] <> [] add_unmap+0x21/0xb8 [ 161.821744] [] intel_unmap_sg+0x101/0x110 [ 161.821753] [] ? __pollwait+0xcc/0xcc [ 161.821761] [] intel_gtt_unmap_memory+0x50/0x70 [ 161.821784] [] i915_gem_gtt_unbind_object+0x9c/0xc7 [i915] [ 161.821805] [] i915_gem_object_unbind+0x111/0x1cb [i915] [ 161.821822] [] i915_gem_free_object_tail+0x22/0xd3 [i915] [ 161.821839] [] i915_gem_free_object+0x46/0x4b [i915] [ 161.821856] [] ? drm_gem_handle_create+0xcb/0xcb [drm] [ 161.821870] [] drm_gem_object_free+0x2b/0x2d [drm] [ 161.821877] [] kref_put+0x43/0x4d [ 161.821890] [] drm_gem_object_unreference_unlocked+0x33/0x40 [drm] [ 161.821904] [] drm_gem_object_handle_unreference_unlocked.part.1+0x27/0x2c [drm] [ 161.821918] [] drm_gem_handle_delete+0x84/0x92 [drm] [ 161.821933] [] drm_gem_close_ioctl+0x28/0x2a [drm] [ 161.821946] [] drm_ioctl+0x2c8/0x3a5 [drm] [ 161.821958] [] ? drm_gem_destroy+0x43/0x43 [drm] [ 161.821966] [] ? __hrtimer_start_range_ns+0x2cd/0x2ed [ 161.821974] [] do_vfs_ioctl+0x45d/0x49e [ 161.821982] [] ? fsnotify_access+0x5f/0x67 [ 161.821988] [] sys_ioctl+0x56/0x7b [ 161.821995] [] system_call_fastpath+0x16/0x1b [ 161.822002] ---[ end trace 2d22d2d9c3bfe5c9 ]--- -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48