]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gicv3-its: ITS table size should not be smaller than PSZ
authorMinghuan Lian <Minghuan.Lian@freescale.com>
Wed, 20 May 2015 15:13:15 +0000 (10:13 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 20 May 2015 20:13:37 +0000 (22:13 +0200)
commit0bf7e4bb3ab618433d30828370f0e1391e3cdb8a
tree3891a6e66daba3d0c0d3ee42bf714839291cb6af
parent459ce5742371391c62dbab6c7c9603c8f569a30a
irqchip/gicv3-its: ITS table size should not be smaller than PSZ

When allocating a device table, if the requested allocation is smaller
than the default granule size of the ITS then, we need to round up to
the default size.

Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
[ stuart: Added comments and massaged changelog ]
Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Reviewed-by: Marc Zygnier <marc.zyngier@arm.com>
Cc: <linux-arm-kernel@lists.infradead.org>
Cc: <jason@lakedaemon.net>
Link: http://lkml.kernel.org/r/1432134795-661-1-git-send-email-stuart.yoder@freescale.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-gic-v3-its.c