mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Francois Romieu <romieu@fr.zoreil.com>
To: Auzanneau Gregory <greg@reolight.net>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.8-rc1 and before: IO-APIC + DRI + RTL8139 = Disabling Ethernet IRQ
Date: Wed, 14 Jul 2004 01:39:03 +0200	[thread overview]
Message-ID: <20040714013903.A21905@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <40F4635C.3090003@reolight.net>; from greg@reolight.net on Wed, Jul 14, 2004 at 12:34:04AM +0200

Auzanneau Gregory <greg@reolight.net> :
[...]
> [drm] Loading R200 Microcode
> irq 19: nobody cared!
>  [<c010732a>] __report_bad_irq+0x2a/0x8b
>  [<c0107414>] note_interrupt+0x6f/0x9f
>  [<c0107732>] do_IRQ+0x161/0x192
>  [<c0105a00>] common_interrupt+0x18/0x20
> handlers:
> [<c0245383>] (rtl8139_interrupt+0x0/0x207)
> Disabling IRQ #19
> 
> For the moment I can disabling IO-ACPI, but I'm thinking to change my
> processor with an processor w/HT. So IO-ACPI is enabling by default.
> 
> How solve that ?

Shot in the dark (+ quick look into drivers/char/drm):

drivers/char/drm/radeon_irq.c:
[...]
irqreturn_t DRM(irq_handler)( DRM_IRQ_ARGS )
{
        drm_device_t *dev = (drm_device_t *) arg;
        drm_radeon_private_t *dev_priv =
           (drm_radeon_private_t *)dev->dev_private;
        u32 stat;

        /* Only consider the bits we're interested in - others could be used
         * outside the DRM
         */
>       stat = RADEON_READ(RADEON_GEN_INT_STATUS)
>            & (RADEON_SW_INT_TEST | RADEON_CRTC_VBLANK_STAT);
>       if (!stat)
>               return IRQ_NONE;

Can you turn the ">" lines into:
	stat = RADEON_READ(RADEON_GEN_INT_STATUS);
	if (!(stat & (RADEON_SW_INT_TEST | RADEON_CRTC_VBLANK_STAT))) {
		int ret = IRQ_NONE;

		if (stat & ~(RADEON_SW_INT_TEST | RADEON_CRTC_VBLANK_STAT)) {
			DRM_INFO("Bingo !\n");
			ret = IRQ_HANDLED;
		}
		return ret;
	}

If it does not work, please send complete dmesg and lspci -vx.

--
Ueimor

  reply	other threads:[~2004-07-13 23:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-13 22:34 Auzanneau Gregory
2004-07-13 23:39 ` Francois Romieu [this message]
2004-07-14  9:11   ` Auzanneau Gregory
2004-07-14 20:44     ` Francois Romieu
2004-07-15 10:53       ` Auzanneau Gregory
2004-07-19  7:42 ` Petr Cisar

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=20040714013903.A21905@electric-eye.fr.zoreil.com \
    --to=romieu@fr.zoreil.com \
    --cc=greg@reolight.net \
    --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 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®