Re: [PATCH 01/10] vfio: ccw: Moving state change out of IRQ context

From: Halil Pasic
Date: Wed Apr 25 2018 - 07:06:45 EST




On 04/25/2018 08:57 AM, Cornelia Huck wrote:
AFAIU this will be the problem of the person implementing the clear
and the halt for vfio-ccw. I.e. it's a non-problem right now.
Well, that person is me:) I will post some RFC Real Soon Now if I stop
getting sidetracked...


Makes sense. It should be fine either way AFAIU.

CSCH, more precisely the clear function is supposed to clear the
interruption request(s) too. But I guess there is no way of the CP to
identify an I/O interrupt that should have been cleared -- that is catch
us disrespecting the architecture. I can't think of a way to establish
must happen before relationship...

But discarding the first interrupt and delivering just one for the CSCH
is fine too for the same reason.

Regards,
Halil