From: Michael Ellerman <michael@ellerman.id.au>
To: Mike Mason <mmlnx@us.ibm.com>
Cc: linuxppc-dev@ozlabs.org, linasvepstas@gmail.com, paulus@samba.org
Subject: Re: [PATCH] Only disable/enable LSI interrupts in EEH
Date: Wed, 11 Feb 2009 10:39:41 +1100 [thread overview]
Message-ID: <1234309181.8323.12.camel@localhost> (raw)
In-Reply-To: <4991EDB5.8070803@us.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]
On Tue, 2009-02-10 at 13:12 -0800, Mike Mason wrote:
> I'm resubmitting this patch with a couple changes
> suggested by Michael Ellerman. 1) the new functions
> should be static, and 2) some people may object to
> including unrelated formating changes.
>
> =========================================================
>
> The EEH code disables and enables interrupts during the
> device recovery process. This is unnecessary for MSI
> and MSI-X interrupts because they are effectively disabled
> by the DMA Stopped state when an EEH error occurs. The
> current code is also incorrect for MSI-X interrupts. It
> doesn't take into account that MSI-X interrupts are tracked
> in a different way than LSI/MSI interrupts. This patch
> ensures only LSI interrupts are disabled/enabled.
>
> Signed-off-by: Mike Mason <mmlnx@us.ibm.com>
> Acked-by: Linas Vepstas <linasvepstas@gmail.com>
Looks good. Assuming you've tested it :)
Acked-by: Michael Ellerman <michael@ellerman.id.au>
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-02-10 23:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-10 3:07 [PATCH] Only disable/enable LSI interrupts in EEH Mike Mason
2009-02-10 17:14 ` Linas Vepstas
2009-02-10 23:38 ` Michael Ellerman
2009-02-10 23:46 ` Linas Vepstas
2009-02-10 21:12 ` Mike Mason
2009-02-10 23:39 ` Michael Ellerman [this message]
2009-02-12 16:06 ` Mike Mason
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=1234309181.8323.12.camel@localhost \
--to=michael@ellerman.id.au \
--cc=linasvepstas@gmail.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=mmlnx@us.ibm.com \
--cc=paulus@samba.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;
as well as URLs for NNTP newsgroup(s).