On Mon, Nov 15, 2021 at 1:33 AM Calvin Zhang <calvinzhang.cool@xxxxxxxxx> wrote: > > MAX_RESERVED_REGIONS has changed several times. Max reserved regions > count grows bigger as more SOC subsystems require reserved regions. > > Add a Kconfig for it so that when properly configured, the static > reserved_mem array consumes less memory on systems with few reserved > regions. Please read prior discussions: https://lore.kernel.org/all/?q=of+MAX_RESERVED_REGIONS And these 2 in particular: https://lore.kernel.org/all/CAL_JsqJQcWsguwfehAoaRf4o-2VqXxSzKzTqg7s4+N1bp=6V5Q@xxxxxxxxxxxxxx/ https://lore.kernel.org/all/CAL_JsqLGvUYQmCGXLgSO+6kFj2i87dpaTbMGbyu5oMt=eeu35A@xxxxxxxxxxxxxx/