]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Reference to its_invall_cmd descriptor when building INVALL
authorZenghui Yu <yuzenghui@huawei.com>
Mon, 2 Dec 2019 07:10:21 +0000 (15:10 +0800)
committerMarc Zyngier <maz@kernel.org>
Mon, 3 Feb 2020 10:04:19 +0000 (10:04 +0000)
commitc8f1fbc60da20183206a7349aa043e177b62bc8f
tree3a685b866d7fc360a4e24a704fdd225bcc2422bd
parentaccdbdc8542c70d06dee178b01e1e79ebfab02a4
irqchip/gic-v3-its: Reference to its_invall_cmd descriptor when building INVALL

It looks like an obvious mistake to use its_mapc_cmd descriptor when
building the INVALL command block. It so far worked by luck because
both its_mapc_cmd.col and its_invall_cmd.col sit at the same offset of
the ITS command descriptor, but we should not rely on it.

Fixes: a804fc766818 ("irqchip: GICv3: ITS command queue")
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20191202071021.1251-1-yuzenghui@huawei.com
drivers/irqchip/irq-gic-v3-its.c