u-boot/arch
Marc Zyngier 94d30f476f arm64: Reduce PT size estimation complexity
count_required_pts()'s complexity is high if mappings are not using the
largest possible block size (due to some other requirement such as tracking
dirty pages, for example).

Let's switch to a method that follows the pattern established with
the add_map() helper, and make it almost instantaneous instead of
taking a large amount of time if 2MB mappings are in use instead of
1GB.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Pierre-Clément Tosi <ptosi@google.com>
[ Paul: pick from the Android tree. Fixup Pierre's commit. Rebase to the
  upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Tom Rini <trini@konsulko.com>
Link: 5d756d147e
Link: 6be9330601
2023-03-06 17:03:56 -05:00
..
arc dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
arm arm64: Reduce PT size estimation complexity 2023-03-06 17:03:56 -05:00
m68k dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
microblaze Correct SPL uses of LMB 2023-02-10 07:41:39 -05:00
mips dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
nios2 dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
powerpc dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
riscv Prepare v2023.04-rc3 2023-02-27 17:28:21 -05:00
sandbox sandbox: Use the generic VPL option to enable VPL 2023-03-02 17:45:58 -05:00
sh dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
x86 Prepare v2023.04-rc3 2023-02-27 17:28:21 -05:00
xtensa global: Migrate CONFIG_MAX_MEM_MAPPED to CFG 2022-12-23 10:14:51 -05:00
.gitignore
Kconfig event: Correct dependencies on the EVENT framework 2023-01-18 12:46:13 -05:00
Kconfig.nxp nxp: Finish migration of SYS_FSL_SRDS_[12] to Kconfig 2023-01-20 12:27:23 -05:00
u-boot-elf.lds