Unverified Commit f49b713a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!13351 lts backport 11

Merge Pull Request from: @ci-robot 
 
PR sync from: Yuntao Liu <liuyuntao12@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/WGWKJKXKILCWPDC3JDCYQP7IVA55CHX6/ 
lts backport 11

Marc Zyngier (1):
  irqchip/gic-v3: Force propagation of the active state with a read-back


-- 
2.34.1
 
https://gitee.com/openeuler/kernel/issues/IB5OOC 
 
Link:https://gitee.com/openeuler/kernel/pulls/13351

 

Reviewed-by: default avatarZhang Jianhua <chris.zjh@huawei.com>
Reviewed-by: default avatarYuan Can <yuancan@huawei.com>
Signed-off-by: default avatarYuan Can <yuancan@huawei.com>
parents eb352e9e 6afbdbb8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -303,6 +303,13 @@ static int gic_irq_set_irqchip_state(struct irq_data *d,
	}

	gic_poke_irq(d, reg);

	/*
	 * Force read-back to guarantee that the active state has taken
	 * effect, and won't race with a guest-driven deactivation.
	 */
	if (reg == GICD_ISACTIVER)
		gic_peek_irq(d, reg);
	return 0;
}