]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v4: Use Inner-Shareable attributes for virtual pending tables
authorHeyi Guo <guoheyi@huawei.com>
Sat, 30 Nov 2019 07:38:49 +0000 (15:38 +0800)
committerMarc Zyngier <maz@kernel.org>
Sat, 21 Mar 2020 09:40:47 +0000 (09:40 +0000)
commitcd619816d9c27fb009a61a45e8823a310f07ecb6
tree9f026900ded7539d9dc34386bbb6898e5a55b2c8
parent3319d79d6e0e687f7978db12592709b2edc23d0d
irqchip/gic-v4: Use Inner-Shareable attributes for virtual pending tables

There is no special reason to set virtual LPI pending table as
non-shareable. If we choose to hard code the shareability without
probing, Inner-Shareable is likely to be a better choice, as the
VPEs can move around and benefit from having the redistributors
snooping each other's cache, if that's something they can do.

Furthermore, Hisilicon hip08 ends up with unspecified errors when
mixing shareability attributes. So let's move to IS attributes for
the VPT. This has also been tested on D05 and didn't show any
regression.

Signed-off-by: Heyi Guo <guoheyi@huawei.com>
[maz: rewrote commit message]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Tested-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20191130073849.38378-1-guoheyi@huawei.com
drivers/irqchip/irq-gic-v3-its.c
include/linux/irqchip/arm-gic-v3.h