]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
irqchip: gicv3-its: Use 64KB page as default granule
authorYun Wu <wuyun.wu@huawei.com>
Fri, 6 Mar 2015 16:37:47 +0000 (16:37 +0000)
committerJason Cooper <jason@lakedaemon.net>
Sun, 8 Mar 2015 05:34:12 +0000 (05:34 +0000)
commit790b57aed156d22d6c7101a37adc78a621be1167
treeaff7a38a50813e24433f7058c6f206891b3e8948
parent6c834125ba460eb1eea63bcc053b45564ca93407
irqchip: gicv3-its: Use 64KB page as default granule

The field of page size in register GITS_BASERn might be read-only
if an implementation only supports a single, fixed page size. But
currently the ITS driver will throw out an error when PAGE_SIZE
is less than the minimum size supported by an ITS. So addressing
this problem by using 64KB pages as default granule for all the
ITS base tables.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
[maz: fixed bug breaking non Device Table allocations]
Signed-off-by: Yun Wu <wuyun.wu@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1425659870-11832-9-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-gic-v3-its.c