u-boot/arch/arm/cpu/armv8
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
..
bcmns3 board: ns3: add api to save boot parameters passed from BL31 2020-07-29 10:13:41 -04:00
fsl-layerscape Correct SPL use of SYS_FSL_ERRATUM_A010539 2023-02-10 07:41:40 -05:00
hisilicon WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
xen WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
cache.S arm: cpu: Add optional CMOs by VA 2023-03-06 17:03:55 -05:00
cache_v8.c arm64: Reduce PT size estimation complexity 2023-03-06 17:03:56 -05:00
config.mk arm64: explicitly disable pointer authentication instructions 2022-08-20 18:12:37 -04:00
cpu-dt.c armv8: include psci_update_dt() unconditionally 2022-04-26 17:13:57 +05:30
cpu.c arm: cpu: Add optional CMOs by VA 2023-03-06 17:03:55 -05:00
exception_level.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
exceptions.S arm64: Save spsr in pt_regs 2022-04-01 16:56:53 -04:00
fel_utils.S sunxi: armv8: fel: load only 32-bit values 2023-01-21 01:32:23 +00:00
fwcall.c arm: psci: Fix RESET2 hook 2023-01-31 15:46:39 +01:00
generic_timer.c arm: Support trace on armv8 2023-01-18 11:49:13 -07:00
Kconfig arm: cpu: Add optional CMOs by VA 2023-03-06 17:03:55 -05:00
linux-kernel-image-header-vars.h Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
Makefile mtd: Drop unused CONFIG_S32V234 2023-02-07 14:33:49 -05:00
psci.S arm: psci: Fix RESET2 hook 2023-01-31 15:46:39 +01:00
sec_firmware.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
sec_firmware_asm.S armv8: sec_firmware: change el2_to_aarch32 SMC ID 2018-12-06 14:37:19 -08:00
sha1_ce_core.S armv8 SHA-1 using ARMv8 Crypto Extensions: 2022-06-27 13:36:28 -04:00
sha1_ce_glue.c armv8 SHA-1 using ARMv8 Crypto Extensions: 2022-06-27 13:36:28 -04:00
sha256_ce_core.S armv8 SHA-256 using ARMv8 Crypto Extensions 2022-06-27 13:36:28 -04:00
sha256_ce_glue.c armv8 SHA-256 using ARMv8 Crypto Extensions 2022-06-27 13:36:28 -04:00
smccc-call.S arm: Leave smccc calls in .text when efi_loader=n 2019-02-13 09:40:06 +01:00
spin_table.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spin_table_v8.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl_data.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
start.S Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
tlb.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
transition.S armv8: Disable pointer authentication traps for EL1 2021-09-02 10:17:45 -04:00
u-boot-spl.lds armv8: u-boot-spl.lds: mark __image_copy_start as symbol 2022-06-28 03:09:52 +01:00
u-boot.lds arm: Rework usage of CONFIG_ARMV[78]_SECURE_BASE in linker scripts 2023-01-20 12:27:06 -05:00