linux/arch/riscv/include/asm
Kefeng Wang d5935537c8
riscv: Improve stack randomisation on RV64
This enlarges the bits availiable for stack randomisation on RV64 from
the default of 8MiB to 1GiB, to match arm64 and x86.

Also, update the documentation to reflect our support for stack
randomisation.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
[Palmer: commit text]
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2021-09-10 22:25:34 -07:00
..
vdso RISC-V: fix barrier() use in <vdso/processor.h> 2020-11-25 09:44:27 -08:00
alternative-macros.h riscv: alternative: fix typo in macro name 2021-06-10 20:35:05 -07:00
alternative.h riscv: sifive: Add SiFive alternative ports 2021-04-26 08:24:56 -07:00
asm-offsets.h
asm-prototypes.h riscv: add VMAP_STACK overflow detection 2021-07-06 12:11:38 -07:00
asm.h riscv: Introduce alternative mechanism to apply errata solution 2021-04-26 08:24:55 -07:00
atomic.h locking/atomic: riscv: move to ARCH_ATOMIC 2021-05-26 13:20:52 +02:00
barrier.h
bitops.h
bug.h riscv: Add dump stack in show_regs 2021-01-14 15:09:11 -08:00
cache.h
cacheflush.h
cacheinfo.h
clint.h RISC-V: Resurrect the MMIO timer implementation for M-mode systems 2020-09-19 13:21:11 -07:00
clocksource.h
cmpxchg.h locking/atomic: riscv: move to ARCH_ATOMIC 2021-05-26 13:20:52 +02:00
cpu_ops.h
csr.h riscv: Introduce alternative mechanism to apply errata solution 2021-04-26 08:24:55 -07:00
current.h
delay.h
efi.h Linux 5.14-rc3 2021-07-26 09:27:59 +10:00
elf.h riscv: Improve stack randomisation on RV64 2021-09-10 22:25:34 -07:00
errata_list.h riscv: sifive: Apply errata "cip-1200" patch 2021-04-26 08:24:58 -07:00
fence.h
fixmap.h RISC-V: Add early ioremap support 2020-10-02 14:31:03 -07:00
ftrace.h riscv: Workaround mcount name prior to clang-13 2021-04-26 08:25:01 -07:00
futex.h
gdb_xml.h
hugetlb.h
hwcap.h
image.h
io.h RISC-V: Use asm-generic for {in,out}{bwlq} 2021-06-30 20:55:40 -07:00
irq_work.h
irq.h riscv: irq: Fix no prototype warning 2021-03-09 20:46:00 -08:00
irqflags.h
jump_label.h
kasan.h riscv: Improve kasan definitions 2021-02-22 18:44:53 -08:00
Kbuild local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
kdebug.h
kexec.h riscv: kexec: Fix W=1 build warnings 2021-05-22 22:05:30 -07:00
kfence.h riscv: Enable KFENCE for riscv64 2021-06-30 20:55:41 -07:00
kgdb.h
kprobes.h riscv: kprobes: Remove redundant kprobe_step_ctx 2021-05-29 11:17:08 -07:00
linkage.h
mmio.h
mmiowb.h
mmu_context.h riscv: add ASID-based tlbflushing methods 2021-06-30 20:55:39 -07:00
mmu.h RISC-V: Implement ASID allocator 2021-02-18 23:18:06 -08:00
mmzone.h riscv: Add numa support for riscv64 platform 2021-01-14 15:08:58 -08:00
module.h
module.lds.h kbuild: preprocess module linker script 2020-09-25 00:36:41 +09:00
numa.h riscv: Add numa support for riscv64 platform 2021-01-14 15:08:58 -08:00
page.h RISC-V Patches for the 5.15 Merge Window, Part 1 2021-09-05 11:31:23 -07:00
parse_asm.h
patch.h
pci.h riscv: enable generic PCI resource mapping 2021-05-25 22:50:49 -07:00
perf_event.h
pgalloc.h mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
pgtable-32.h arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed 2020-11-16 16:57:18 +01:00
pgtable-64.h RISC-V Patches for the 5.14 Merge Window, Part 1 2021-07-09 10:36:29 -07:00
pgtable-bits.h riscv: mm: add _PAGE_LEAF macro 2021-05-22 10:19:29 -07:00
pgtable.h RISC-V Patches for the 5.14 Merge Window, Part 1 2021-07-09 10:36:29 -07:00
probes.h riscv: Add kprobes supported 2021-01-14 15:09:06 -08:00
processor.h riscv: Implement thread_struct whitelist for hardened usercopy 2021-08-03 20:58:13 -07:00
ptdump.h
ptrace.h riscv: ptrace: add argn syntax 2021-07-05 20:53:09 -07:00
sbi.h RISC-V Patches for the 5.13 Merge Window, Part 1 2021-05-06 09:24:18 -07:00
seccomp.h riscv: Enable seccomp architecture tracking 2020-11-20 11:16:35 -08:00
sections.h riscv: Map the kernel with correct permissions the first time 2021-06-30 21:18:58 -07:00
set_memory.h riscv: Map the kernel with correct permissions the first time 2021-06-30 21:18:58 -07:00
smp.h riscv: Constify sbi_ipi_ops 2021-04-26 08:25:10 -07:00
soc.h riscv: Fix builtin DTB handling 2021-01-07 19:00:50 -08:00
sparsemem.h
spinlock_types.h
spinlock.h
stackprotector.h riscv: Enable per-task stack canaries 2021-01-14 15:09:10 -08:00
stacktrace.h riscv: Add dump stack in show_regs 2021-01-14 15:09:11 -08:00
string.h riscv: Add ARCH_HAS_FORTIFY_SOURCE 2021-03-09 18:18:31 -08:00
switch_to.h riscv: Turn has_fpu into a static key if FPU=y 2021-05-25 22:56:57 -07:00
syscall.h riscv: Constify sys_call_table 2021-04-26 08:25:09 -07:00
thread_info.h riscv: add VMAP_STACK overflow detection 2021-07-06 12:11:38 -07:00
timex.h riscv: time: Fix no prototype for time_init 2021-03-09 20:46:03 -08:00
tlb.h
tlbflush.h riscv: fix build error when CONFIG_SMP is disabled 2021-06-08 17:05:03 -07:00
uaccess.h Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2021-05-02 09:14:01 -07:00
unistd.h arch, mm: wire up memfd_secret system call where relevant 2021-07-08 11:48:21 -07:00
uprobes.h riscv: Add uprobes supported 2021-01-14 15:09:08 -08:00
vdso.h RISC-V: Fix VDSO build for !MMU 2021-08-25 22:58:30 -07:00
vendorid_list.h riscv: Introduce alternative mechanism to apply errata solution 2021-04-26 08:24:55 -07:00
vermagic.h
vmalloc.h
word-at-a-time.h