irqchip/gic-v4.1: Map the ITS SGIR register page
authorMarc Zyngier <maz@kernel.org>
Wed, 4 Mar 2020 20:33:14 +0000 (20:33 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 20 Mar 2020 17:48:38 +0000 (17:48 +0000)
commit5e46a48413a6660955de7e56f9f364f2b890381c
treedf33215ba3594dfabcec08f3c1a69e8f85cfcd1f
parent3c40706d05fdea421e991da50e72a29d41131a66
irqchip/gic-v4.1: Map the ITS SGIR register page

One of the new features of GICv4.1 is to allow virtual SGIs to be
directly signaled to a VPE. For that, the ITS has grown a new
64kB page containing only a single register that is used to
signal a SGI to a given VPE.

Add a second mapping covering this new 64kB range, and take this
opportunity to limit the original mapping to 64kB, which is enough
to cover the span of the ITS registers.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20200304203330.4967-8-maz@kernel.org
drivers/irqchip/irq-gic-v3-its.c