]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Fix ITT_entry_size accessor
authorZenghui Yu <yuzenghui@huawei.com>
Thu, 31 Jan 2019 11:19:43 +0000 (11:19 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 31 Jan 2019 12:51:33 +0000 (12:51 +0000)
commit30020405d29be8e118b3dea077a818341fa473ea
treef2327f17144c5d83b36bdb413443a4c798bae696
parent4a31fd6d7922f3c14fbb7b3ef7fe1e5e18daf835
irqchip/gic-v3-its: Fix ITT_entry_size accessor

According to ARM IHI 0069C (ID070116), we should use GITS_TYPER's
bits [7:4] as ITT_entry_size instead of [8:4]. Although this is
pretty annoying, it only results in a potential over-allocation
of memory, and nothing bad happens.

Fixes: b97aad72c41d ("irqchip/gic-v3-its: Add probing for VLPI properties")
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
[maz: massaged subject and commit message]
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/linux/irqchip/arm-gic-v3.h