]> 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)
commit166f32a3c61f57c69b789c8edb619fffcf40b10d
treef2327f17144c5d83b36bdb413443a4c798bae696
parent82157f37c579bb2d2f75f0d8f8baf9522065e40d
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: bfedc1e66c56 ("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