Thread (32 messages) 32 messages, 4 authors, 2014-06-03

Re: [PATCH 4/4] powerpc/eeh: Avoid event on passed PE

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2014-05-21 00:12:23

On Tue, 2014-05-20 at 21:56 +1000, Gavin Shan wrote:

 .../...
quoted
I think what you want is an irqfd that the in-kernel eeh code
notifies when it sees a failure. When such an fd exists, the kernel
skips its own error handling.
Yeah, it's a good idea and something for me to improve in phase II. We
can discuss for more later. For now, what I have in my head is something
like this:
However, this would be a deviation from (or extension of) PAPR. At the
moment, the way things work in PAPR is that the guest is responsible for
querying the EEH state when something "looks" like an error (ie, getting
ff's back). This is also how it works in pHyp.

We have an interrupt path in the host when doing "native" EEH, and it
would be nice to extend PAPR to also be able to shoot an event to the
guest possibly using RTAS events, but let's get the basics working and
upstream first.

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help