]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: gicv3-its: Zero itt before handling to hardware
authorYun Wu <wuyun.wu@huawei.com>
Fri, 6 Mar 2015 16:37:46 +0000 (16:37 +0000)
committerJason Cooper <jason@lakedaemon.net>
Sun, 8 Mar 2015 05:33:54 +0000 (05:33 +0000)
commitae8a387430c8471ada4a76295ff386a7d3c0189a
tree45c7519954082453d7e05b00e7ed61a5ff2e22df
parent9c16bc61cb1325dcd6d59eb0d3a769d6a0d24cbc
irqchip: gicv3-its: Zero itt before handling to hardware

Some kind of brain-dead implementations chooses to insert ITEes in
rapid sequence of disabled ITEes, and an un-zeroed ITT will confuse
ITS on judging whether an ITE is really enabled or not. Considering
the implementations are still supported by the GICv3 architecture,
in which ITT is not required to be zeroed before being handled to
hardware, we do the favor in ITS driver.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Yun Wu <wuyun.wu@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1425659870-11832-8-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-gic-v3-its.c