commit | bc439b4b6a6beb723f1258659a9ca1a48ae4972c | [log] [tgz] |
---|---|---|
author | Zhu Lingshan <[email protected]> | Sat May 08 15:11:52 2021 +0800 |
committer | Greg Kroah-Hartman <[email protected]> | Thu Jun 03 09:00:34 2021 +0200 |
tree | 31527fb1e57e62f56968867c8722b0cf2e5b9410 | |
parent | b98a0380bc814fce20209e2906617d65a891e354 [diff] |
Revert "irqbypass: do not start cons/prod when failed connect" commit e44b49f623c77bee7451f1a82ccfb969c1028ae2 upstream. This reverts commit a979a6aa009f3c99689432e0cdb5402a4463fb88. The reverted commit may cause VM freeze on arm64 with GICv4, where stopping a consumer is implemented by suspending the VM. Should the connect fail, the VM will not be resumed, which is a bit of a problem. It also erroneously calls the producer destructor unconditionally, which is unexpected. Reported-by: Shaokun Zhang <[email protected]> Suggested-by: Marc Zyngier <[email protected]> Acked-by: Jason Wang <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Eric Auger <[email protected]> Tested-by: Shaokun Zhang <[email protected]> Signed-off-by: Zhu Lingshan <[email protected]> [maz: tags and cc-stable, commit message update] Signed-off-by: Marc Zyngier <[email protected]> Fixes: a979a6aa009f ("irqbypass: do not start cons/prod when failed connect") Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>