1# Copyright (c) 2021 BayLibre SAS
2# SPDX-License-Identifier: Apache-2.0
3
4# The GICv3 & ITS drivers allocation needs are:
5# - LPI prop table: global 1x64K aligned on 64K
6# - LPI pend table: for each redistributor/cpu 1x64K aligned on 64K
7# - Devices table: 128x4K aligned on 4K
8# - Interrupt Collections table: 1x4K aligned on 4K
9#
10# This makes 11x64K to permit all allocations to success.
11#
12# Note, will need 64K HEAP_MEM per CPUs added.
13#
14# This doesn't necessarily include the Interrupt Translation Table, which are
15# 256bytes aligned tables, for reference a 32 ITEs table needs 256bytes.
16# With 11x64K HEAP, up to 116 ITT tables of 32 ITEs can be allocated.
17config HEAP_MEM_POOL_SIZE
18	default 720896 if GIC_V3_ITS
19