kasan, arm64: rename kasan_init_tags and mark as __init
[linux-2.6-microblaze.git] / arch / Kconfig
index 7a3371d..a08999d 100644 (file)
@@ -143,6 +143,22 @@ config UPROBES
            managed by the kernel and kept transparent to the probed
            application. )
 
+config HAVE_64BIT_ALIGNED_ACCESS
+       def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS
+       help
+         Some architectures require 64 bit accesses to be 64 bit
+         aligned, which also requires structs containing 64 bit values
+         to be 64 bit aligned too. This includes some 32 bit
+         architectures which can do 64 bit accesses, as well as 64 bit
+         architectures without unaligned access.
+
+         This symbol should be selected by an architecture if 64 bit
+         accesses are required to be 64 bit aligned in this way even
+         though it is not a 64 bit architecture.
+
+         See Documentation/unaligned-memory-access.txt for more
+         information on the topic of unaligned memory accesses.
+
 config HAVE_EFFICIENT_UNALIGNED_ACCESS
        bool
        help
@@ -261,7 +277,7 @@ config ARCH_HAS_SET_DIRECT_MAP
 
 #
 # Select if the architecture provides the arch_dma_set_uncached symbol to
-# either provide an uncached segement alias for a DMA allocation, or
+# either provide an uncached segment alias for a DMA allocation, or
 # to remap the page tables in place.
 #
 config ARCH_HAS_DMA_SET_UNCACHED
@@ -314,14 +330,14 @@ config ARCH_32BIT_OFF_T
 config HAVE_ASM_MODVERSIONS
        bool
        help
-         This symbol should be selected by an architecure if it provides
+         This symbol should be selected by an architecture if it provides
          <asm/asm-prototypes.h> to support the module versioning for symbols
          exported from assembly code.
 
 config HAVE_REGS_AND_STACK_ACCESS_API
        bool
        help
-         This symbol should be selected by an architecure if it supports
+         This symbol should be selected by an architecture if it supports
          the API needed to access registers and stack entries from pt_regs,
          declared in asm/ptrace.h
          For example the kprobes-based event tracer needs this API.
@@ -336,7 +352,7 @@ config HAVE_RSEQ
 config HAVE_FUNCTION_ARG_ACCESS_API
        bool
        help
-         This symbol should be selected by an architecure if it supports
+         This symbol should be selected by an architecture if it supports
          the API needed to access function arguments from pt_regs,
          declared in asm/ptrace.h
 
@@ -486,6 +502,9 @@ config HAVE_ARCH_SECCOMP_FILTER
          - secure_computing return value is checked and a return value of -1
            results in the system call being skipped immediately.
          - seccomp syscall wired up
+         - if !HAVE_SPARSE_SYSCALL_NR, have SECCOMP_ARCH_NATIVE,
+           SECCOMP_ARCH_NATIVE_NR, SECCOMP_ARCH_NATIVE_NAME defined. If
+           COMPAT is supported, have the SECCOMP_ARCH_COMPAT* defines too.
 
 config SECCOMP
        prompt "Enable seccomp to safely execute untrusted bytecode"
@@ -514,6 +533,20 @@ config SECCOMP_FILTER
 
          See Documentation/userspace-api/seccomp_filter.rst for details.
 
+config SECCOMP_CACHE_DEBUG
+       bool "Show seccomp filter cache status in /proc/pid/seccomp_cache"
+       depends on SECCOMP_FILTER && !HAVE_SPARSE_SYSCALL_NR
+       depends on PROC_FS
+       help
+         This enables the /proc/pid/seccomp_cache interface to monitor
+         seccomp cache data. The file format is subject to change. Reading
+         the file requires CAP_SYS_ADMIN.
+
+         This option is for debugging only. Enabling presents the risk that
+         an adversary may be able to infer the seccomp filter logic.
+
+         If unsure, say N.
+
 config HAVE_ARCH_STACKLEAK
        bool
        help
@@ -644,6 +677,12 @@ config HAVE_TIF_NOHZ
 config HAVE_VIRT_CPU_ACCOUNTING
        bool
 
+config HAVE_VIRT_CPU_ACCOUNTING_IDLE
+       bool
+       help
+         Architecture has its own way to account idle CPU time and therefore
+         doesn't implement vtime_account_idle().
+
 config ARCH_HAS_SCALED_CPUTIME
        bool
 
@@ -658,13 +697,19 @@ config HAVE_VIRT_CPU_ACCOUNTING_GEN
          some 32-bit arches may require multiple accesses, so proper
          locking is needed to protect against concurrent accesses.
 
-
 config HAVE_IRQ_TIME_ACCOUNTING
        bool
        help
          Archs need to ensure they use a high enough resolution clock to
          support irq time accounting and then call enable_sched_clock_irqtime().
 
+config HAVE_MOVE_PUD
+       bool
+       help
+         Architectures that select this are able to move page tables at the
+         PUD level. If there are only 3 page table levels, the move effectively
+         happens at the PGD level.
+
 config HAVE_MOVE_PMD
        bool
        help
@@ -1054,6 +1099,12 @@ config ARCH_WANT_LD_ORPHAN_WARN
          by the linker, since the locations of such sections can change between linker
          versions.
 
+config HAVE_ARCH_PFN_VALID
+       bool
+
+config ARCH_SUPPORTS_DEBUG_PAGEALLOC
+       bool
+
 source "kernel/gcov/Kconfig"
 
 source "scripts/gcc-plugins/Kconfig"