David Howells
b3d86bab85
BACKPORT: Construct init thread stack in the linker script rather than by union
...
Construct the init thread stack in the linker script rather than doing it
by means of a union so that ia64's init_task.c can be got rid of.
The following symbols are then made available from INIT_TASK_DATA() linker
script macro:
init_thread_union
init_stack
INIT_TASK_DATA() also expands the region to THREAD_SIZE to accommodate the
size of the init stack. init_thread_union is given its own section so that
it can be placed into the stack space in the right order. I'm assuming
that the ia64 ordering is correct and that the task_struct is first and the
thread_info second.
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Tested-by: Will Deacon <will.deacon@arm.com> (arm64)
Tested-by: Palmer Dabbelt <palmer@sifive.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:59:01 +07:00
..
xen
ARM64: XEN: Add a function to initialize Xen specific UEFI runtime services
2016-07-06 10:34:46 +01:00
acenv.h
acpi.h
ARM64/ACPI: Fix BAD_MADT_GICC_ENTRY() macro implementation
2017-07-05 14:40:29 +02:00
alternative.h
arm64: alternative: fix build with clang integrated assembler
2020-04-02 17:20:40 +02:00
arch_gicv3.h
Merge android-4.9.163 ( 429c144) into msm-4.9
2019-04-26 13:08:21 +08:00
arch_timer.h
Merge remote-tracking branch 'common/android-4.9-q' into android12-4.9-sdm845
2022-06-12 01:39:01 +03:00
arm-cci.h
asm-offsets.h
asm-uaccess.h
arm64: entry: improve data abort handling of tagged pointers
2017-06-14 15:06:05 +02:00
assembler.h
BACKPORT: arm64: Fix minor issues with the dcache_by_line_op macro
2022-10-13 01:53:42 +03:00
atomic.h
BACKPORT: atomics/treewide: Rename __atomic_add_unless() => atomic_fetch_add_unless()
2026-05-15 17:56:39 +07:00
atomic_ll_sc.h
arm64: Use correct ll/sc atomic constraints
2021-03-07 11:25:56 +01:00
atomic_lse.h
arm64: Avoid redundant type conversions in xchg() and cmpxchg()
2021-03-07 11:25:56 +01:00
barrier.h
arm64: Implement array_index_mask_nospec()
2018-04-20 08:20:42 +02:00
bitops.h
bitrev.h
boot.h
arm64: allow kernel Image to be loaded anywhere in physical memory
2016-02-18 18:16:53 +00:00
brk-imm.h
arm64: move brk immediate argument definitions to separate header
2016-02-23 17:43:25 +00:00
bug.h
arm64: define BUG() instruction without CONFIG_BUG
2018-02-25 11:05:52 +01:00
cache.h
cacheflush.h
treewide: Backport new vmalloc for large performance benefits
2026-05-15 17:48:25 +07:00
cachetype.h
arm64: Fix mismatched cache line size detection
2018-09-15 09:43:07 +02:00
checksum.h
arm64: csum: Fix handling of bad packets
2020-08-21 11:01:51 +02:00
clocksource.h
arm/arm64: arch_timer: Use archdata to indicate vdso suitability
2016-09-23 17:19:25 +01:00
cmpxchg.h
arm64: Avoid redundant type conversions in xchg() and cmpxchg()
2021-03-07 11:25:56 +01:00
compat.h
arm64: compat: Provide definition for COMPAT_SIGMINSTKSZ
2019-08-04 09:33:44 +02:00
compiler.h
cpu.h
arm64: add ID_AA64ISAR2_EL1 sys register
2022-04-12 07:52:17 +02:00
cpu_ops.h
cpucaps.h
arm64: errata: Remove AES hwcap for COMPAT tasks
2022-11-03 23:49:15 +09:00
cpufeature.h
Merge remote-tracking branch 'common/android-4.9-q' into android12-4.9-sdm845
2022-06-12 01:39:01 +03:00
cpuidle.h
cputype.h
Merge remote-tracking branch 'common/android-4.9-q' into android12-4.9-sdm845
2022-06-12 01:39:01 +03:00
crash_notes.h
arm64/dts: somc: Import Tama DTS
2026-05-15 17:48:08 +07:00
current.h
UPSTREAM: arm64: restore get_current() optimisation
2018-04-24 13:28:13 -07:00
dcc.h
arm64: dcc: simplify accessors
2016-09-09 11:41:13 +01:00
debug-monitors.h
arm64: ptrace: Override SPSR.SS when single-stepping is enabled
2020-07-22 09:10:54 +02:00
debugv8.h
soc: qcom: Add snapshot of MSM JTAG drivers
2017-09-01 10:03:57 -07:00
device.h
arm64: dma-mapping: add support for IOMMU mapper
2016-08-24 13:36:32 -07:00
dma-contiguous.h
arm/arm64: fix build when !CONFIG_DMA_CMA
2018-05-10 20:15:20 +05:30
dma-iommu.h
iommu: add support for force guard page
2018-04-03 15:07:46 +05:30
dma-mapping.h
arm64/dma-mapping: Remove extraneous null-pointer checks
2017-06-12 14:03:50 -07:00
dmi.h
efi.h
BACKPORT: arm64: SW PAN: Point saved ttbr0 at the zero page when switching to init_mm
2020-12-02 00:54:53 +00:00
elf.h
FROMLIST: [PATCH 2/6] arm64: elf: Set AT_SYSINFO_EHDR in compat processes
2020-06-30 02:50:10 +03:00
esr.h
arm64: Add CNTVCT_EL0 cp15 AArch32 trap handler
2018-04-17 08:38:21 +05:30
etmv4x.h
soc: qcom: Add snapshot of MSM JTAG drivers
2017-09-01 10:03:57 -07:00
exception.h
arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections
2016-03-25 16:37:42 -07:00
exec.h
arm64: suspend: Reconfigure PSTATE after resume from idle
2016-10-20 09:50:54 +01:00
fb.h
fixmap.h
arm64: entry: Allow the trampoline text to occupy multiple pages
2022-04-12 07:52:16 +02:00
fpsimd.h
fpsimdmacros.h
ftrace.h
arm64: Fix misspellings in comments.
2016-03-04 18:19:17 +00:00
futex.h
Merge branch 'android-4.9-q' of https://android.googlesource.com/kernel/common into lineage-18.1-caf-sdm845
2021-04-26 01:27:02 +03:00
hardirq.h
ARM64: smp: implement arch_trigger_all_cpus_backtrace using IPI
2017-03-06 12:00:51 -08:00
hugetlb.h
hw_breakpoint.h
UPSTREAM: arm64: Allow hw watchpoint of length 3,5,6 and 7
2017-03-13 15:33:33 -07:00
hwcap.h
hypervisor.h
insn.h
BACKPORT: bpf, arm64: use more scalable stadd over ldxr / stxr loop in xadd
2026-05-15 17:55:36 +07:00
io.h
arm64: Fix wrong type conversion in writeq_no_log
2018-05-31 14:02:28 +08:00
irq.h
ARM64: smp: implement arch_trigger_all_cpus_backtrace using IPI
2017-03-06 12:00:51 -08:00
irq_work.h
irqflags.h
arm64: debug: remove unused local_dbg_{enable, disable} macros
2016-07-19 16:59:40 +01:00
jump_label.h
arm64: jump_label.h: use asm_volatile_goto macro instead of "asm goto"
2018-10-10 08:53:22 +02:00
kasan.h
arm64: move kernel image to base of vmalloc area
2016-02-18 18:16:44 +00:00
Kbuild
treewide: Backport new vmalloc for large performance benefits
2026-05-15 17:48:25 +07:00
kernel-pgtable.h
This is the 4.9.93 stable release
2018-04-09 11:39:17 -07:00
kexec.h
arm64/kexec: Add core kexec support
2016-06-27 16:31:25 +01:00
kgdb.h
arm64: kgdb: Match pstate size with gdbserver protocol
2016-06-16 19:20:51 +01:00
kprobes.h
arm64: Remove stack duplicating code from jprobes
2016-08-11 17:38:16 +01:00
kryo3xx-arm64-edac.h
drivers: edac: Add Cache Error Reporting driver for Kryo3xx processors
2016-09-02 17:27:58 -07:00
kvm_arm.h
KVM: arm64: Set HCR_EL2.PTW to prevent AT taking synchronous exception
2020-09-12 11:47:38 +02:00
kvm_asm.h
KVM: arm64: Survive synchronous exceptions caused by AT instructions
2020-09-12 11:47:38 +02:00
kvm_coproc.h
kvm_emulate.h
arm64: KVM: Sanitize PSTATE.M when being set from userspace
2018-10-03 17:01:55 -07:00
kvm_host.h
KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
2022-04-12 07:52:17 +02:00
kvm_hyp.h
FROMLIST: BACKPORT: arm64: make mrs_s and msr_s macros work with LTO
2018-02-28 15:09:57 -08:00
kvm_mmio.h
KVM: arm/arm64: Export mmio_read/write_bus
2016-05-20 15:39:42 +02:00
kvm_mmu.h
This is the 4.9.310 stable release
2022-04-12 08:16:55 +02:00
linkage.h
lse.h
ANDROID: arm64: lse: fix LSE atomics with LTO
2019-02-07 09:51:13 -08:00
memblock.h
memory.h
Merge android-4.9.95 ( b4c14c2) into msm-4.9
2018-05-11 05:36:46 -07:00
mmu.h
Merge remote-tracking branch 'common/android-4.9-q' into android12-4.9-sdm845
2022-09-06 06:20:26 +03:00
mmu_context.h
BACKPORT: arm64: SW PAN: Point saved ttbr0 at the zero page when switching to init_mm
2020-12-02 00:54:53 +00:00
mmzone.h
arm64, numa: Add NUMA support for arm64 platforms.
2016-04-15 18:06:09 +01:00
module.h
arm64: module: split core and init PLT sections
2017-10-04 13:58:24 -07:00
neon.h
numa.h
arm64/mm: return cpu_all_mask when node is NUMA_NO_NODE
2020-11-10 10:23:54 +01:00
opcodes.h
arm64: opcodes.h: Add arm big-endian config options before including arm header
2016-03-29 16:04:57 +01:00
page.h
arm64: move {PAGE,CONT}_SHIFT into Kconfig
2016-06-03 10:57:18 +01:00
paravirt.h
pci.h
msm: pcie: add PCIe bus driver snapshot
2017-02-01 18:45:36 -08:00
percpu.h
This is the 4.9.141 stable release
2018-11-27 18:57:51 +01:00
perf_event.h
UPSTREAM: arm64: factor out current_stack_pointer
2018-04-24 13:28:12 -07:00
pgalloc.h
arm64: get rid of superfluous __GFP_REPEAT
2016-06-24 17:23:52 -07:00
pgtable-hwdef.h
arm64: mm: Move ASID from TTBR0 to TTBR1
2018-04-08 12:12:51 +02:00
pgtable-prot.h
KVM: arm64: Fix definition of PAGE_HYP_DEVICE
2020-07-22 09:10:46 +02:00
pgtable-types.h
arm64: always use STRICT_MM_TYPECHECKS
2016-05-03 09:58:38 +01:00
pgtable.h
Merge branch 'android-4.9-q' of https://android.googlesource.com/kernel/common into lineage-17.1-caf-sdm845
2021-01-17 05:04:08 +02:00
probes.h
arm64: kprobes instruction simulation support
2016-07-19 15:03:21 +01:00
proc-fns.h
arm64: mm: Move ASID from TTBR0 to TTBR1
2018-04-08 12:12:51 +02:00
processor.h
Merge remote-tracking branch 'common/android-4.9-q' into android12-4.9-sdm845
2022-06-12 01:39:01 +03:00
ptdump.h
arm64: mm: dump: make page table dumping reusable
2016-06-21 15:09:11 +01:00
ptrace.h
arm64: Add CNTFRQ_EL0 cp15 AArch32 trap handler
2018-04-17 08:38:12 +05:30
seccomp.h
sections.h
arm64: entry: Allow the trampoline text to occupy multiple pages
2022-04-12 07:52:16 +02:00
shmparam.h
signal32.h
FROMLIST: [PATCH] arm64: compat: Expose offset to registers in sigframes
2020-06-30 02:50:10 +03:00
smp.h
BACKPORT: arm64: split thread_info from task stack
2018-04-24 13:28:13 -07:00
smp_plat.h
sparsemem.h
spinlock.h
Merge "Merge android-4.9.106 ( 8b94b87) into msm-4.9"
2018-06-28 07:11:15 -07:00
spinlock_types.h
locking/qrwlock, arm64: Move rwlock implementation over to qrwlocks
2018-06-25 15:46:33 +05:30
stack_pointer.h
UPSTREAM: arm64: factor out current_stack_pointer
2018-04-24 13:28:12 -07:00
stackprotector.h
arm64: ascii armor the arm64 boot init stack canary
2017-08-04 16:33:12 -07:00
stacktrace.h
arm64: fix unwind_frame() for filtered out fn for function graph tracing
2018-05-30 07:50:30 +02:00
stage2_pgtable-nopmd.h
kvm: arm64: Get rid of fake page table levels
2016-04-21 14:58:21 +02:00
stage2_pgtable-nopud.h
kvm: arm64: Get rid of fake page table levels
2016-04-21 14:58:21 +02:00
stage2_pgtable.h
kvm: arm64: Get rid of fake page table levels
2016-04-21 14:58:21 +02:00
stat.h
string.h
include/linux/string.h: add the option of fortified string.h functions
2017-08-07 17:43:55 -07:00
suspend.h
UPSTREAM: arm64: move sp_el0 and tpidr_el1 into cpu_suspend_ctx
2018-04-24 13:28:13 -07:00
sync_bitops.h
syscall.h
sysreg.h
This is the 4.9.310 stable release
2022-04-12 08:16:55 +02:00
system_misc.h
Merge android-4.9-174 ( d47e38b) into msm-4.9
2019-06-06 13:18:25 +08:00
thread_info.h
BACKPORT: Construct init thread stack in the linker script rather than by union
2026-05-15 17:59:01 +07:00
timex.h
tlb.h
tlbflush.h
arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI
2018-04-08 12:12:51 +02:00
topology.h
arm64/topology: link arch_scale_min_freq_capacity to cpufreq
2018-02-22 11:48:42 +05:30
traps.h
BACKPORT: irq: Make the irqentry text section unconditional
2017-12-18 15:21:35 -08:00
uaccess.h
arm64: uaccess: suppress spurious clang warning
2018-11-23 08:20:37 +01:00
unistd.h
BACKPORT: arch: wire-up pidfd_open()
2019-09-03 13:50:44 -07:00
unistd32.h
arm64: compat: Update compat syscalls
2025-07-10 14:15:46 -04:00
vdso.h
FROMLIST: [PATCH 1/6] arm64: compat: Use vDSO sigreturn trampolines if available
2020-06-30 02:50:10 +03:00
vdso_datapage.h
ANDROID: clock_gettime(CLOCK_BOOTTIME,) slows down >20x
2020-06-30 02:50:11 +03:00
vectors.h
arm64: Use the clearbhb instruction in mitigations
2022-04-12 07:52:17 +02:00
virt.h
arm64/kvm: use {read,write}_sysreg()
2016-09-09 11:42:27 +01:00
word-at-a-time.h
arm64: switch to relative exception tables
2016-02-24 14:57:26 +00:00
xor.h
arm64: crypto: add NEON accelerated XOR implementation
2026-05-15 17:48:22 +07:00