OSDN Git Service

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)
commit3ad2a5f57656a14d964b673a5a0e4ab0e583c870
tree3891a6e66daba3d0c0d3ee42bf714839291cb6af
parente26081808edadfd257c6c9d81014e3b25e9a6118
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