[Top] [All Lists]

Re: [PATCH 1/7] MIPS: Octeon: Fix EIO handling.

To: Sergei Shtylyov <>
Subject: Re: [PATCH 1/7] MIPS: Octeon: Fix EIO handling.
From: David Daney <>
Date: Thu, 07 Jan 2010 12:52:07 -0800
In-reply-to: <>
References: <> <> <>
User-agent: Thunderbird (X11/20090320)
Sergei Shtylyov wrote:

David Daney wrote:

If an interrupt handler disables interrupts, the EOI function will
just reenable them.  This will put us in an endless loop when the
upcoming Ethernet driver patches are applied.

Only reenable the interrupt on EOI if it is not IRQ_DISABLED.  This
requires that the EIO function be separate from the ENABLE function.
We also rename the ACK functions to correspond with their function.

Signed-off-by: David Daney <>

  I guess the subject should read "EIO", not "EIO"...

Indeed.  The compiler didn't catch that one.

Perhaps Ralf can fix it if he merges it, otherwise I can resubmit with corrected spelling.

David Daney

<Prev in Thread] Current Thread [Next in Thread>