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

Alexander Graf agraf at suse.de
Wed May 21 16:16:20 EST 2014



> Am 21.05.2014 um 02:13 schrieb Benjamin Herrenschmidt <benh at kernel.crashing.org>:
> 
>> On Tue, 2014-05-20 at 15:49 +0200, Alexander Graf wrote:
>> Instead of
>> 
>>   if (passed_flag)
>>     return;
>> 
>> you would do
>> 
>>   if (trigger_irqfd) {
>>     trigger_irqfd();
>>     return;
>>   }
>> 
>> which would be a much nicer, generic interface.
> 
> But that's not how PAPR works.

But it's what a non-QEMU VFIO user would want, and it should be easy to implement.


Alex



More information about the Linuxppc-dev mailing list