]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Factor out wait_for_syncr primitive
authorMarc Zyngier <maz@kernel.org>
Fri, 8 Nov 2019 16:57:56 +0000 (16:57 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 10 Nov 2019 18:47:50 +0000 (18:47 +0000)
commita3d626e2cdb763e9eae0111c68ea676c831f0c4c
treec4368660e76d75c46cda6057974aca4a782512a4
parent2b662b77856f6f037a0ce6aeb526dd722af7e118
irqchip/gic-v3-its: Factor out wait_for_syncr primitive

Waiting for a redistributor to have performed an operation is a
common thing to do, and the idiom is already spread around.
As we're going to make even more use of this, let's have a primitive
that does just that.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Link: https://lore.kernel.org/r/20191027144234.8395-3-maz@kernel.org
Link: https://lore.kernel.org/r/20191108165805.3071-3-maz@kernel.org
drivers/irqchip/irq-gic-v3-its.c