History

Merge tag 'riscv-for-linus-6.6-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux

Pull RISC-V updates from Palmer Dabbelt: - Support for the new "riscv,isa-extensions" and "riscv,isa-base" device tree interfaces for probing extensions - Support for userspace access to the performance counters - Support for more instructions in kprobes - Crash kernels can be allocated above 4GiB - Support for KCFI - Support for ELFs in !MMU configurations - ARCH_KMALLOC_MINALIGN has been reduced to 8 - mmap() defaults to sv48-sized addresses, with longer addresses hidden behind a hint (similar to Arm and Intel) - Also various fixes and cleanups * tag 'riscv-for-linus-6.6-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: (51 commits) lib/Kconfig.debug: Restrict DEBUG_INFO_SPLIT for RISC-V riscv: support PREEMPT_DYNAMIC with static keys riscv: Move create_tmp_mapping() to init sections riscv: Mark KASAN tmp* page tables variables as static riscv: mm: use bitmap_zero() API riscv: enable DEBUG_FORCE_FUNCTION_ALIGN_64B riscv: remove redundant mv instructions RISC-V: mm: Document mmap changes RISC-V: mm: Update pgtable comment documentation RISC-V: mm: Add tests for RISC-V mm RISC-V: mm: Restrict address space for sv39,sv48,sv57 riscv: enable DMA_BOUNCE_UNALIGNED_KMALLOC for !dma_coherent riscv: allow kmalloc() caches aligned to the smallest value riscv: support the elf-fdpic binfmt loader binfmt_elf_fdpic: support 64-bit systems riscv: Allow CONFIG_CFI_CLANG to be selected riscv/purgatory: Disable CFI riscv: Add CFI error handling riscv: Add ftrace_stub_graph riscv: Add types to indirectly called assembly functions ...

Linus Torvalds committed 3 years ago

Commit e0152e72 parents a031eba 89775a259 files · +1707 −407Browse files

Showing the changes to include/uapi/linux (1 of 59 files). Show all

Unified · Split

include/uapi/linux/elf-fdpic.h+15−0
@@ -32,4 +32,19 @@ struct elf32_fdpic_loadmap { · 31 unmodified lines
3232
3333 #define ELF32_FDPIC_LOADMAP_VERSION 0x0000
3434
35+/* segment mappings for ELF FDPIC libraries/executables/interpreters */
36+struct elf64_fdpic_loadseg {
37+ Elf64_Addr addr; /* core address to which mapped */
38+ Elf64_Addr p_vaddr; /* VMA recorded in file */
39+ Elf64_Word p_memsz; /* allocation size recorded in file */
40+};
41+
42+struct elf64_fdpic_loadmap {
43+ Elf64_Half version; /* version of these structures, just in case... */
44+ Elf64_Half nsegs; /* number of segments */
45+ struct elf64_fdpic_loadseg segs[];
46+};
47+
48+#define ELF64_FDPIC_LOADMAP_VERSION 0x0000
49+
3550 #endif /* _UAPI_LINUX_ELF_FDPIC_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t