haven: irq_lend: Lendee registration persists across transactions

Presently, clients must re-register to receive IRQ lend notification.
Every client presently must do this and there is no use-case to require
clients to re-register to receive IRQ lend notification. Return the
internal IRQ lend state to WAIT_LEND after release, instead of
unregistered.

Change-Id: I17504e2850ae60e68d755b587ff6d0c3e78926d9
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
Elliot Berman 2020-05-05 17:19:31 -07:00
commit 3205fcd904

View file

@ -307,7 +307,7 @@ int hh_irq_release(enum hh_irq_label label)
ret = hh_rm_vm_irq_release_notify(entry->vmid,
entry->virq_handle);
if (!ret)
entry->state = HH_IRQ_STATE_NONE;
entry->state = HH_IRQ_STATE_WAIT_LEND;
return ret;
}
EXPORT_SYMBOL(hh_irq_release);