Kconfig (7711fb7dac1ab77fd1b4d948f4647a569e4a1ae2) Kconfig (b0fe66cf095016e0b238374c10ae366e1f087d11)
1# SPDX-License-Identifier: GPL-2.0
2config ARM
3 bool
4 default y
5 select ARCH_32BIT_OFF_T
6 select ARCH_CLOCKSOURCE_DATA
7 select ARCH_HAS_BINFMT_FLAT
8 select ARCH_HAS_DEBUG_VIRTUAL if MMU
9 select ARCH_HAS_DEVMEM_IS_ALLOWED
1# SPDX-License-Identifier: GPL-2.0
2config ARM
3 bool
4 default y
5 select ARCH_32BIT_OFF_T
6 select ARCH_CLOCKSOURCE_DATA
7 select ARCH_HAS_BINFMT_FLAT
8 select ARCH_HAS_DEBUG_VIRTUAL if MMU
9 select ARCH_HAS_DEVMEM_IS_ALLOWED
10 select ARCH_HAS_DMA_COHERENT_TO_PFN if SWIOTLB
11 select ARCH_HAS_DMA_MMAP_PGPROT if SWIOTLB
12 select ARCH_HAS_ELF_RANDOMIZE
13 select ARCH_HAS_FORTIFY_SOURCE
14 select ARCH_HAS_KEEPINITRD
15 select ARCH_HAS_KCOV
16 select ARCH_HAS_MEMBARRIER_SYNC_CORE
17 select ARCH_HAS_PTE_SPECIAL if ARM_LPAE
18 select ARCH_HAS_PHYS_TO_DMA
19 select ARCH_HAS_SETUP_DMA_OPS
20 select ARCH_HAS_SET_MEMORY
21 select ARCH_HAS_STRICT_KERNEL_RWX if MMU && !XIP_KERNEL
22 select ARCH_HAS_STRICT_MODULE_RWX if MMU
10 select ARCH_HAS_ELF_RANDOMIZE
11 select ARCH_HAS_FORTIFY_SOURCE
12 select ARCH_HAS_KEEPINITRD
13 select ARCH_HAS_KCOV
14 select ARCH_HAS_MEMBARRIER_SYNC_CORE
15 select ARCH_HAS_PTE_SPECIAL if ARM_LPAE
16 select ARCH_HAS_PHYS_TO_DMA
17 select ARCH_HAS_SETUP_DMA_OPS
18 select ARCH_HAS_SET_MEMORY
19 select ARCH_HAS_STRICT_KERNEL_RWX if MMU && !XIP_KERNEL
20 select ARCH_HAS_STRICT_MODULE_RWX if MMU
23 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if SWIOTLB
24 select ARCH_HAS_SYNC_DMA_FOR_CPU if SWIOTLB
25 select ARCH_HAS_TEARDOWN_DMA_OPS if MMU
26 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
27 select ARCH_HAVE_CUSTOM_GPIO_H
28 select ARCH_HAS_GCOV_PROFILE_ALL
29 select ARCH_KEEP_MEMBLOCK if HAVE_ARCH_PFN_VALID || KEXEC
30 select ARCH_MIGHT_HAVE_PC_PARPORT
31 select ARCH_NO_SG_CHAIN if !ARM_HAS_SG_CHAIN
32 select ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX

--- 44 unchanged lines hidden (view full) ---

77 select HAVE_DMA_CONTIGUOUS if MMU
78 select HAVE_DYNAMIC_FTRACE if !XIP_KERNEL && !CPU_ENDIAN_BE32 && MMU
79 select HAVE_DYNAMIC_FTRACE_WITH_REGS if HAVE_DYNAMIC_FTRACE
80 select HAVE_EFFICIENT_UNALIGNED_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && MMU
81 select HAVE_EXIT_THREAD
82 select HAVE_FAST_GUP if ARM_LPAE
83 select HAVE_FTRACE_MCOUNT_RECORD if !XIP_KERNEL
84 select HAVE_FUNCTION_GRAPH_TRACER if !THUMB2_KERNEL && !CC_IS_CLANG
21 select ARCH_HAS_TEARDOWN_DMA_OPS if MMU
22 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
23 select ARCH_HAVE_CUSTOM_GPIO_H
24 select ARCH_HAS_GCOV_PROFILE_ALL
25 select ARCH_KEEP_MEMBLOCK if HAVE_ARCH_PFN_VALID || KEXEC
26 select ARCH_MIGHT_HAVE_PC_PARPORT
27 select ARCH_NO_SG_CHAIN if !ARM_HAS_SG_CHAIN
28 select ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX

--- 44 unchanged lines hidden (view full) ---

73 select HAVE_DMA_CONTIGUOUS if MMU
74 select HAVE_DYNAMIC_FTRACE if !XIP_KERNEL && !CPU_ENDIAN_BE32 && MMU
75 select HAVE_DYNAMIC_FTRACE_WITH_REGS if HAVE_DYNAMIC_FTRACE
76 select HAVE_EFFICIENT_UNALIGNED_ACCESS if (CPU_V6 || CPU_V6K || CPU_V7) && MMU
77 select HAVE_EXIT_THREAD
78 select HAVE_FAST_GUP if ARM_LPAE
79 select HAVE_FTRACE_MCOUNT_RECORD if !XIP_KERNEL
80 select HAVE_FUNCTION_GRAPH_TRACER if !THUMB2_KERNEL && !CC_IS_CLANG
85 select HAVE_FUNCTION_TRACER if !XIP_KERNEL
81 select HAVE_FUNCTION_TRACER if !XIP_KERNEL && (CC_IS_GCC || CLANG_VERSION >= 100000)
86 select HAVE_GCC_PLUGINS
87 select HAVE_HW_BREAKPOINT if PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7)
88 select HAVE_IDE if PCI || ISA || PCMCIA
89 select HAVE_IRQ_TIME_ACCOUNTING
90 select HAVE_KERNEL_GZIP
91 select HAVE_KERNEL_LZ4
92 select HAVE_KERNEL_LZMA
93 select HAVE_KERNEL_LZO

--- 1473 unchanged lines hidden (view full) ---

1567 Enabling this option allows the kernel to modify itself to
1568 replace the first two instructions of these library functions
1569 with the sdiv or udiv plus "bx lr" instructions when the CPU
1570 it is running on supports them. Typically this will be faster
1571 and less power intensive than running the original library
1572 code to do integer division.
1573
1574config AEABI
82 select HAVE_GCC_PLUGINS
83 select HAVE_HW_BREAKPOINT if PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7)
84 select HAVE_IDE if PCI || ISA || PCMCIA
85 select HAVE_IRQ_TIME_ACCOUNTING
86 select HAVE_KERNEL_GZIP
87 select HAVE_KERNEL_LZ4
88 select HAVE_KERNEL_LZMA
89 select HAVE_KERNEL_LZO

--- 1473 unchanged lines hidden (view full) ---

1563 Enabling this option allows the kernel to modify itself to
1564 replace the first two instructions of these library functions
1565 with the sdiv or udiv plus "bx lr" instructions when the CPU
1566 it is running on supports them. Typically this will be faster
1567 and less power intensive than running the original library
1568 code to do integer division.
1569
1570config AEABI
1575 bool "Use the ARM EABI to compile the kernel" if !CPU_V7 && !CPU_V7M && !CPU_V6 && !CPU_V6K
1576 default CPU_V7 || CPU_V7M || CPU_V6 || CPU_V6K
1571 bool "Use the ARM EABI to compile the kernel" if !CPU_V7 && \
1572 !CPU_V7M && !CPU_V6 && !CPU_V6K && !CC_IS_CLANG
1573 default CPU_V7 || CPU_V7M || CPU_V6 || CPU_V6K || CC_IS_CLANG
1577 help
1578 This option allows for the kernel to be compiled using the latest
1579 ARM ABI (aka EABI). This is only useful if you are using a user
1580 space environment that is also compiled with EABI.
1581
1582 Since there are major incompatibilities between the legacy ABI and
1583 EABI, especially with regard to structure member alignment, this
1584 option also changes the kernel syscall calling convention to

--- 606 unchanged lines hidden ---
1574 help
1575 This option allows for the kernel to be compiled using the latest
1576 ARM ABI (aka EABI). This is only useful if you are using a user
1577 space environment that is also compiled with EABI.
1578
1579 Since there are major incompatibilities between the legacy ABI and
1580 EABI, especially with regard to structure member alignment, this
1581 option also changes the kernel syscall calling convention to

--- 606 unchanged lines hidden ---