From 5ca93f61494e90b890b7c5fa0d673235eb4965d5 Mon Sep 17 00:00:00 2001 From: Chris Lew Date: Tue, 10 Mar 2020 12:18:17 -0700 Subject: [PATCH] haven: doorbell: Add IRQF_ONESHOT flag Use the IRQF_ONESHOT flag while requesting the threaded interrupt. This flag keeps the virtual interrupt line masked until the threaded handler has executed. Change-Id: I041823f8b30e4326d3b28635c80918e4b501432a Signed-off-by: Chris Lew --- drivers/virt/haven/hh_dbl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virt/haven/hh_dbl.c b/drivers/virt/haven/hh_dbl.c index 1e2d55efe1a5..b3677f6c58bc 100644 --- a/drivers/virt/haven/hh_dbl.c +++ b/drivers/virt/haven/hh_dbl.c @@ -371,7 +371,7 @@ void *hh_dbl_rx_register(enum hh_dbl_label label, dbl_rx_cb_t rx_cb, void *priv) ret = request_threaded_irq(cap_table_entry->rx_irq, NULL, hh_dbl_rx_callback_thread, - 0, + IRQF_ONESHOT, cap_table_entry->rx_irq_name, priv);