From: Chris Clayton <chris2553@googlemail.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: Handle the no-interrupts case for UMS by polling
Date: Thu, 10 Feb 2011 19:58:12 +0000 [thread overview]
Message-ID: <201102101958.12842.chris2553@googlemail.com> (raw)
In-Reply-To: <0d30dc$kr9795@orsmga001.jf.intel.com>
Hi Chris,
On Sunday 23 January 2011, Chris Wilson wrote:
> On Sun, 23 Jan 2011 15:38:41 +0000, Chris Clayton <chris2553@googlemail.com>
wrote:
<snip>
> > I guess we may be working with slightly different versions of the source.
> >
> > 2. The kernel log now contains the following:
> >
> > r8169 0000:02:00.0: eth0: link up
> > [drm] Initialized drm 1.1.0 20060810
> > irq 16: nobody cared (try booting with the "irqpoll" option)
> > Pid: 0, comm: kworker/0:1 Not tainted 2.6.38-rc2+ #502
> > Call Trace:
> > [<c1070a54>] ? __report_bad_irq.clone.2+0x24/0x90
> > [<c1070c17>] ? note_interrupt+0x157/0x190
> > [<c101b1cd>] ? ack_apic_level+0x5d/0x1e0
> > [<c107175b>] ? handle_fasteoi_irq+0xab/0xd0
> > [<c10716b0>] ? handle_fasteoi_irq+0x0/0xd0
> > <IRQ> [<c1004ddd>] ? do_IRQ+0x3d/0xc0
> > [<c1037f27>] ? irq_exit+0x57/0x70
> > [<c1019173>] ? smp_apic_timer_interrupt+0x53/0x90
> > [<c1003229>] ? common_interrupt+0x29/0x30
> > [<c119fbe9>] ? acpi_safe_halt+0x19/0x26
> > [<c119fc50>] ? acpi_idle_enter_c1+0x5a/0xa9
> > [<c1244d98>] ? cpuidle_idle_call+0x68/0xf0
> > [<c1001726>] ? cpu_idle+0x46/0x80
> > handlers:
> > [<c129dd60>] (azx_interrupt+0x0/0x180)
> > [<c12210d0>] (usb_hcd_irq+0x0/0x60)
> > Disabling IRQ #16
> > pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> > pci 0000:00:02.0: setting latency timer to 64
> > ioremap error for 0xbdce0000-0xbdce3000, requested 0x10, got 0x0
> > [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
> > [drm] No driver support for vblank timestamp query.
> > [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
> >
> > Is this likely to be related the the irq issues your patch addressed or
> > is it a separate thing that I should report separately?
>
> It's the i915 IRQ alright, but I'm not sure what the cause is. An
> unexpected interrupt arrived, although you don't use any paths in the
> driver that use interrupts, nor should one be generated when all we are
> doing is initialising the device structs. Should just be a minor nuisance
> fortunately.
>
OK, I haven't raised the bug report yet, but I now know how to create it -
reboot via kexec which is what I must have done when I built and installed the
kernel to test your patches. I guess not having booted via the bios is leaving
the card in an odd state. Do you care any more, please? If you do, I'll open
the bug report.
> If you can open a bug report to track it and attach
> /sys/kernel/debug/dri/0/i915_gem_interrupts maybe we can work out from
> the interrupt that arrived, why it was triggered.
> -Chris
Chris
--
The more I see, the more I know. The more I know, the less I understand.
Changing Man - Paul Weller
next prev parent reply other threads:[~2011-02-10 19:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <:201101220935.03623.chris2553@googlemail.com>
2011-01-22 10:11 ` [PATCH] drm/i915: Increase the amount of defense before computing vblank timestamps Chris Wilson
2011-01-22 11:18 ` Chris Clayton
2011-01-22 18:01 ` Chris Wilson
2011-01-23 8:56 ` Chris Clayton
2011-01-23 9:32 ` Chris Clayton
2011-01-23 10:50 ` [PATCH] drm/i915: Disable high-precision vblank timestamping for UMS Chris Wilson
2011-01-23 11:28 ` Chris Clayton
2011-01-23 12:44 ` Chris Wilson
2011-01-23 12:55 ` Chris Clayton
2011-01-23 13:06 ` [PATCH] drm/i915: Handle the no-interrupts case for UMS by polling Chris Wilson
2011-01-23 13:06 ` Chris Wilson
2011-01-23 15:38 ` Chris Clayton
2011-01-23 15:59 ` Chris Wilson
2011-02-10 19:58 ` Chris Clayton [this message]
2011-02-10 20:37 ` Chris Wilson
2011-01-23 10:52 ` [PATCH] drm/i915: Increase the amount of defense before computing vblank timestamps Chris Wilson
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=201102101958.12842.chris2553@googlemail.com \
--to=chris2553@googlemail.com \
--cc=chris@chris-wilson.co.uk \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.