On Tue, 2014-05-20 at 21:56 +1000, Gavin Shan wrote: .../... > >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. -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html