linux-kernelorg-stable/arch/arm64/kernel
Ard Biesheuvel 76085aff29 efi/libstub/arm64: align PE/COFF sections to segment alignment
The arm64 kernel's segment alignment is fixed at 64 KB for any page
size, and relocatable kernels are able to fix up any misalignment of
the kernel image with respect to the 2 MB section alignment that is
mandated by the arm64 boot protocol.

Let's increase the PE/COFF section alignment to the same value, so that
kernels loaded by the UEFI PE/COFF loader are guaranteed to end up at
an address that doesn't require any reallocation to be done if the
kernel is relocatable.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20200413155521.24698-6-ardb@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
2020-04-28 17:36:52 +01:00
..
probes
vdso SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
vdso32 SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile arm64: efi: add efi-entry.o to targets instead of extra-$(CONFIG_EFI) 2020-03-09 18:13:25 +00:00
acpi.c
acpi_numa.c
acpi_parking_protocol.c
alternative.c
armv8_deprecated.c arm64: armv8_deprecated: Fix undef_hook mask for thumb setend 2020-04-08 18:19:20 +01:00
asm-offsets.c arm64: initialize and switch ptrauth kernel keys 2020-03-18 09:50:20 +00:00
cacheinfo.c
cpu-reset.S arm64: use mov_q instead of literal ldr 2020-03-24 11:48:24 +00:00
cpu-reset.h
cpu_errata.c arm64: Mark call_smc_arch_workaround_1 as __maybe_unused 2020-03-11 12:01:59 +00:00
cpu_ops.c arm64: Introduce get_cpu_ops() helper function 2020-03-24 17:24:19 +00:00
cpufeature.c Merge branch 'for-next/kernel-ptrauth' into for-next/core 2020-03-25 11:11:08 +00:00
cpuidle.c arm64: Introduce get_cpu_ops() helper function 2020-03-24 17:24:19 +00:00
cpuinfo.c
crash_core.c
crash_dump.c
debug-monitors.c
efi-entry.S arm64: rename stext to primary_entry 2020-04-28 13:55:16 +01:00
efi-header.S efi/libstub/arm64: align PE/COFF sections to segment alignment 2020-04-28 17:36:52 +01:00
efi-rt-wrapper.S
efi.c
entry-common.c arm64: entry: remove unneeded semicolon in el1_sync_handler() 2020-04-28 14:08:57 +01:00
entry-fpsimd.S
entry-ftrace.S arm64: entry-ftrace.S: Fix missing argument for CONFIG_FUNCTION_GRAPH_TRACER=y 2020-03-11 11:06:48 +00:00
entry.S Merge branch 'for-next/kernel-ptrauth' into for-next/core 2020-03-25 11:11:08 +00:00
fpsimd.c
ftrace.c
head.S arm64/kernel: Fix range on invalidating dcache for boot page tables 2020-04-28 14:48:03 +01:00
hibernate-asm.S arm64: remove gratuitious/stray .ltorg stanzas 2020-03-04 15:47:47 +00:00
hibernate.c arm64: hibernate: Use bringup_hibernate_cpu() 2020-03-25 12:59:34 +01:00
hw_breakpoint.c
hyp-stub.S arm64: use mov_q instead of literal ldr 2020-03-24 11:48:24 +00:00
image-vars.h arm64: rename stext to primary_entry 2020-04-28 13:55:16 +01:00
image.h
insn.c
io.c
irq.c
jump_label.c
kaslr.c arm64: Fix CONFIG_ARCH_RANDOM=n build 2020-02-11 09:47:01 +00:00
kexec_image.c
kgdb.c
kuser32.S
machine_kexec.c
machine_kexec_file.c arm64: kexec_file: Avoid temp buffer for RNG seed 2020-04-28 13:55:51 +01:00
module-plts.c
module.c
module.lds
paravirt.c
pci.c
perf_callchain.c
perf_event.c arm64: perf: Add support for ARMv8.5-PMU 64-bit counters 2020-03-17 22:50:30 +00:00
perf_regs.c
pointer_auth.c arm64: install user ptrauth keys at kernel exit time 2020-03-18 09:50:19 +00:00
process.c arm64 updates for 5.7: 2020-03-31 10:05:01 -07:00
psci.c
ptrace.c arm64: rename ptrauth key structures to be user-specific 2020-03-18 09:50:18 +00:00
reloc_test_core.c
reloc_test_syms.S
relocate_kernel.S arm64: use mov_q instead of literal ldr 2020-03-24 11:48:24 +00:00
return_address.c
sdei.c
setup.c arm64: Introduce get_cpu_ops() helper function 2020-03-24 17:24:19 +00:00
signal.c
signal32.c
sigreturn32.S
sleep.S arm64: ptrauth: Add bootup/runtime flags for __cpu_setup 2020-03-18 09:50:19 +00:00
smccc-call.S
smp.c arm64: smp: Make cpus_stuck_in_kernel static 2020-04-28 14:09:57 +01:00
smp_spin_table.c
ssbd.c
stacktrace.c arm64: unwind: strip PAC from kernel addresses 2020-03-18 09:50:20 +00:00
suspend.c
sys.c
sys32.c
sys_compat.c
syscall.c
time.c arm64: time: Replace <linux/clk-provider.h> by <linux/of_clk.h> 2020-02-12 17:26:38 +00:00
topology.c arm64: use activity monitors for frequency invariance 2020-03-06 16:02:50 +00:00
trace-events-emulation.h
traps.c
vdso.c arm64: vdso: don't free unallocated pages 2020-04-15 11:13:16 +01:00
vmlinux.lds.S efi/libstub/arm64: align PE/COFF sections to segment alignment 2020-04-28 17:36:52 +01:00