Kconfig (79790b6818e96c58fe2bffee1b418c16e64e7b80) Kconfig (0a956d52e6fc31c52e5f21a134659a28e958480d)
1# SPDX-License-Identifier: GPL-2.0
2source "arch/powerpc/platforms/Kconfig.cputype"
3
4config CC_HAS_ELFV2
5 def_bool PPC64 && $(cc-option, -mabi=elfv2)
6
7config CC_HAS_PREFIXED
8 def_bool PPC64 && $(cc-option, -mcpu=power10 -mprefixed)

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

151 select ARCH_HAS_STRICT_KERNEL_RWX if (PPC_BOOK3S || PPC_8xx || 40x) && !HIBERNATION
152 select ARCH_HAS_STRICT_KERNEL_RWX if PPC_85xx && !HIBERNATION && !RANDOMIZE_BASE
153 select ARCH_HAS_STRICT_MODULE_RWX if ARCH_HAS_STRICT_KERNEL_RWX
154 select ARCH_HAS_SYSCALL_WRAPPER if !SPU_BASE && !COMPAT
155 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
156 select ARCH_HAS_UACCESS_FLUSHCACHE
157 select ARCH_HAS_UBSAN
158 select ARCH_HAVE_NMI_SAFE_CMPXCHG
1# SPDX-License-Identifier: GPL-2.0
2source "arch/powerpc/platforms/Kconfig.cputype"
3
4config CC_HAS_ELFV2
5 def_bool PPC64 && $(cc-option, -mabi=elfv2)
6
7config CC_HAS_PREFIXED
8 def_bool PPC64 && $(cc-option, -mcpu=power10 -mprefixed)

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

151 select ARCH_HAS_STRICT_KERNEL_RWX if (PPC_BOOK3S || PPC_8xx || 40x) && !HIBERNATION
152 select ARCH_HAS_STRICT_KERNEL_RWX if PPC_85xx && !HIBERNATION && !RANDOMIZE_BASE
153 select ARCH_HAS_STRICT_MODULE_RWX if ARCH_HAS_STRICT_KERNEL_RWX
154 select ARCH_HAS_SYSCALL_WRAPPER if !SPU_BASE && !COMPAT
155 select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
156 select ARCH_HAS_UACCESS_FLUSHCACHE
157 select ARCH_HAS_UBSAN
158 select ARCH_HAVE_NMI_SAFE_CMPXCHG
159 select ARCH_HAVE_EXTRA_ELF_NOTES if SPU_BASE
159 select ARCH_KEEP_MEMBLOCK
160 select ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE if PPC_RADIX_MMU
161 select ARCH_MIGHT_HAVE_PC_PARPORT
162 select ARCH_MIGHT_HAVE_PC_SERIO
163 select ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX
164 select ARCH_OPTIONAL_KERNEL_RWX_DEFAULT
165 select ARCH_SPLIT_ARG64 if PPC32
166 select ARCH_STACKWALK

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

280 select HAVE_VIRT_CPU_ACCOUNTING
281 select HAVE_VIRT_CPU_ACCOUNTING_GEN
282 select HOTPLUG_SMT if HOTPLUG_CPU
283 select SMT_NUM_THREADS_DYNAMIC
284 select HUGETLB_PAGE_SIZE_VARIABLE if PPC_BOOK3S_64 && HUGETLB_PAGE
285 select IOMMU_HELPER if PPC64
286 select IRQ_DOMAIN
287 select IRQ_FORCED_THREADING
160 select ARCH_KEEP_MEMBLOCK
161 select ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE if PPC_RADIX_MMU
162 select ARCH_MIGHT_HAVE_PC_PARPORT
163 select ARCH_MIGHT_HAVE_PC_SERIO
164 select ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX
165 select ARCH_OPTIONAL_KERNEL_RWX_DEFAULT
166 select ARCH_SPLIT_ARG64 if PPC32
167 select ARCH_STACKWALK

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

281 select HAVE_VIRT_CPU_ACCOUNTING
282 select HAVE_VIRT_CPU_ACCOUNTING_GEN
283 select HOTPLUG_SMT if HOTPLUG_CPU
284 select SMT_NUM_THREADS_DYNAMIC
285 select HUGETLB_PAGE_SIZE_VARIABLE if PPC_BOOK3S_64 && HUGETLB_PAGE
286 select IOMMU_HELPER if PPC64
287 select IRQ_DOMAIN
288 select IRQ_FORCED_THREADING
288 select KASAN_VMALLOC if KASAN && MODULES
289 select KASAN_VMALLOC if KASAN && EXECMEM
289 select LOCK_MM_AND_FIND_VMA
290 select MMU_GATHER_PAGE_SIZE
291 select MMU_GATHER_RCU_TABLE_FREE
292 select MMU_GATHER_MERGE_VMAS
293 select MMU_LAZY_TLB_SHOOTDOWN if PPC_BOOK3S_64
294 select MODULES_USE_ELF_RELA
295 select NEED_DMA_MAP_STATE if PPC64 || NOT_COHERENT_CACHE
296 select NEED_PER_CPU_EMBED_FIRST_CHUNK if PPC64

--- 995 unchanged lines hidden ---
290 select LOCK_MM_AND_FIND_VMA
291 select MMU_GATHER_PAGE_SIZE
292 select MMU_GATHER_RCU_TABLE_FREE
293 select MMU_GATHER_MERGE_VMAS
294 select MMU_LAZY_TLB_SHOOTDOWN if PPC_BOOK3S_64
295 select MODULES_USE_ELF_RELA
296 select NEED_DMA_MAP_STATE if PPC64 || NOT_COHERENT_CACHE
297 select NEED_PER_CPU_EMBED_FIRST_CHUNK if PPC64

--- 995 unchanged lines hidden ---