Loading arch/arm/Kconfig +11 −0 Original line number Diff line number Diff line Loading @@ -2175,6 +2175,17 @@ config AUTO_ZRELADDR config EFI_STUB bool config ARM_DECOMPRESSOR_LIMIT hex "Limit the decompressor memory area" default 0x3200000 help Allows overriding of the memory size that decompressor maps with read, write and execute permissions to avoid speculative prefetch. By default ARM_DECOMPRESSOR_LIMIT maps first 1GB of memory with read, write and execute permissions and reset of the memory as strongly ordered. config EFI bool "UEFI runtime support" depends on OF && !CPU_BIG_ENDIAN && MMU && AUTO_ZRELADDR && !XIP_KERNEL Loading arch/arm/boot/compressed/head.S +1 −1 Original line number Diff line number Diff line Loading @@ -693,7 +693,7 @@ __setup_mmu: sub r3, r4, #16384 @ Page directory size mov r0, r3 mov r9, r0, lsr #18 mov r9, r9, lsl #18 @ start of RAM add r10, r9, #0x10000000 @ a reasonable RAM size add r10, r9, #CONFIG_ARM_DECOMPRESSOR_LIMIT mov r1, #0x12 @ XN|U + section mapping orr r1, r1, #3 << 10 @ AP=11 add r2, r3, #16384 Loading Loading
arch/arm/Kconfig +11 −0 Original line number Diff line number Diff line Loading @@ -2175,6 +2175,17 @@ config AUTO_ZRELADDR config EFI_STUB bool config ARM_DECOMPRESSOR_LIMIT hex "Limit the decompressor memory area" default 0x3200000 help Allows overriding of the memory size that decompressor maps with read, write and execute permissions to avoid speculative prefetch. By default ARM_DECOMPRESSOR_LIMIT maps first 1GB of memory with read, write and execute permissions and reset of the memory as strongly ordered. config EFI bool "UEFI runtime support" depends on OF && !CPU_BIG_ENDIAN && MMU && AUTO_ZRELADDR && !XIP_KERNEL Loading
arch/arm/boot/compressed/head.S +1 −1 Original line number Diff line number Diff line Loading @@ -693,7 +693,7 @@ __setup_mmu: sub r3, r4, #16384 @ Page directory size mov r0, r3 mov r9, r0, lsr #18 mov r9, r9, lsl #18 @ start of RAM add r10, r9, #0x10000000 @ a reasonable RAM size add r10, r9, #CONFIG_ARM_DECOMPRESSOR_LIMIT mov r1, #0x12 @ XN|U + section mapping orr r1, r1, #3 << 10 @ AP=11 add r2, r3, #16384 Loading