Consolidation of Kconfig files by Christoph Hellwig.
Move the source statements of arch-independent Kconfig files instead of duplicating the includes in every arch/$(SRCARCH)/Kconfig. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJbdFsfAAoJED2LAQed4NsGxHsP/1tmA57OOOj8oGxO2OXhXVbr Q0MZqCoV4bqMvK/hgCQdl9f+tp0m+j12x4xDLdVf4OqnTXMbqvPDu3uQVKvaj/k1 gHhsFA1tFgSbuJ8InltUsrPEQqbceeJsj50xHVAKijqI6LYeRPPSU7aE9obn+OzH n2nd5sLKvMI/dqdJvW6i5KPydqTH3r3iA7D+ne/XQj0s0EMXvXUPmDT1+ijTnM4a yfm6W5p7L/c3Ugf1Pz5PfnPl4BxBwZMfW5ie/UO8j5C6Rl0iPaOGuuHurocaaJb3 MefR/7NEAR3G8MhJyL2+70jbbwhjpqR2b5ooz1vpuulPHxjeU45BY60XIBWq1afR ewsc12MMCYB695ieYWoHdaWgxD/jhffyRuajfpkXKIZEMgDxS03sMhdULXENVMx1 M0ZQ01g/NLWt9ti9DY3eTKB3ymOhnBa1sa77nGGUHkITq4DQKwPX1J9FP/HT6RNt uOvzeH5kGzc7tqOlZAO0kHbwhQG1uqGcd78IYd4lgf/XfkSgDERTWjnJmnQbwr9m 3PFuST2u8eyO+8Lh1MK76TXOEkXsHMdFugPmb6SlgtMEPKGVLDPlsj52o/LFtgzl eygfMiBFr2+ttkZ6IpNcpmQ4IztmDpz6XoMk3PqDAfUTUSYpCnq1gAEuff/eisCM Odva1ZZaeQ7WpxhsP8rr =gsQJ -----END PGP SIGNATURE----- Merge tag 'kconfig-v4.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild Pull Kconfig consolidation from Masahiro Yamada: "Consolidation of Kconfig files by Christoph Hellwig. Move the source statements of arch-independent Kconfig files instead of duplicating the includes in every arch/$(SRCARCH)/Kconfig" * tag 'kconfig-v4.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: kconfig: add a Memory Management options" menu kconfig: move the "Executable file formats" menu to fs/Kconfig.binfmt kconfig: use a menu in arch/Kconfig to reduce clutter kconfig: include kernel/Kconfig.preempt from init/Kconfig Kconfig: consolidate the "Kernel hacking" menu kconfig: include common Kconfig files from top-level Kconfig kconfig: remove duplicate SWAP symbol defintions um: create a proper drivers Kconfig um: cleanup Kconfig files um: stop abusing KBUILD_KCONFIG
This commit is contained in:
commit
fa1b5d09d0
22
Kconfig
22
Kconfig
@ -9,4 +9,24 @@ comment "Compiler: $(CC_VERSION_TEXT)"
|
|||||||
|
|
||||||
source "scripts/Kconfig.include"
|
source "scripts/Kconfig.include"
|
||||||
|
|
||||||
source "arch/$(SRCARCH)/Kconfig"
|
source "init/Kconfig"
|
||||||
|
|
||||||
|
source "kernel/Kconfig.freezer"
|
||||||
|
|
||||||
|
source "fs/Kconfig.binfmt"
|
||||||
|
|
||||||
|
source "mm/Kconfig"
|
||||||
|
|
||||||
|
source "net/Kconfig"
|
||||||
|
|
||||||
|
source "drivers/Kconfig"
|
||||||
|
|
||||||
|
source "fs/Kconfig"
|
||||||
|
|
||||||
|
source "security/Kconfig"
|
||||||
|
|
||||||
|
source "crypto/Kconfig"
|
||||||
|
|
||||||
|
source "lib/Kconfig"
|
||||||
|
|
||||||
|
source "lib/Kconfig.debug"
|
||||||
|
13
arch/Kconfig
13
arch/Kconfig
@ -3,6 +3,14 @@
|
|||||||
# General architecture dependent options
|
# General architecture dependent options
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Note: arch/$(SRCARCH)/Kconfig needs to be included first so that it can
|
||||||
|
# override the default values in this file.
|
||||||
|
#
|
||||||
|
source "arch/$(SRCARCH)/Kconfig"
|
||||||
|
|
||||||
|
menu "General architecture-dependent options"
|
||||||
|
|
||||||
config CRASH_CORE
|
config CRASH_CORE
|
||||||
bool
|
bool
|
||||||
|
|
||||||
@ -734,6 +742,9 @@ config COMPAT_32BIT_TIME
|
|||||||
config ARCH_NO_COHERENT_DMA_MMAP
|
config ARCH_NO_COHERENT_DMA_MMAP
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config ARCH_NO_PREEMPT
|
||||||
|
bool
|
||||||
|
|
||||||
config CPU_NO_EFFICIENT_FFS
|
config CPU_NO_EFFICIENT_FFS
|
||||||
def_bool n
|
def_bool n
|
||||||
|
|
||||||
@ -833,3 +844,5 @@ config REFCOUNT_FULL
|
|||||||
source "kernel/gcov/Kconfig"
|
source "kernel/gcov/Kconfig"
|
||||||
|
|
||||||
source "scripts/gcc-plugins/Kconfig"
|
source "scripts/gcc-plugins/Kconfig"
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
@ -4,6 +4,7 @@ config ALPHA
|
|||||||
default y
|
default y
|
||||||
select ARCH_MIGHT_HAVE_PC_PARPORT
|
select ARCH_MIGHT_HAVE_PC_PARPORT
|
||||||
select ARCH_MIGHT_HAVE_PC_SERIO
|
select ARCH_MIGHT_HAVE_PC_SERIO
|
||||||
|
select ARCH_NO_PREEMPT
|
||||||
select ARCH_USE_CMPXCHG_LOCKREF
|
select ARCH_USE_CMPXCHG_LOCKREF
|
||||||
select HAVE_AOUT
|
select HAVE_AOUT
|
||||||
select HAVE_IDE
|
select HAVE_IDE
|
||||||
@ -74,9 +75,6 @@ config PGTABLE_LEVELS
|
|||||||
int
|
int
|
||||||
default 3
|
default 3
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
config AUDIT_ARCH
|
config AUDIT_ARCH
|
||||||
bool
|
bool
|
||||||
|
|
||||||
@ -573,8 +571,6 @@ config ARCH_DISCONTIGMEM_ENABLE
|
|||||||
or have huge holes in the physical address space for other reasons.
|
or have huge holes in the physical address space for other reasons.
|
||||||
See <file:Documentation/vm/numa.rst> for more.
|
See <file:Documentation/vm/numa.rst> for more.
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config NUMA
|
config NUMA
|
||||||
bool "NUMA Support (EXPERIMENTAL)"
|
bool "NUMA Support (EXPERIMENTAL)"
|
||||||
depends on DISCONTIGMEM && BROKEN
|
depends on DISCONTIGMEM && BROKEN
|
||||||
@ -713,28 +709,11 @@ config SRM_ENV
|
|||||||
This driver is also available as a module and will be called
|
This driver is also available as a module and will be called
|
||||||
srm_env then.
|
srm_env then.
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/alpha/Kconfig.debug"
|
|
||||||
|
|
||||||
# DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
|
# DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
|
||||||
# but we also need it if VGA_HOSE is set
|
# but we also need it if VGA_HOSE is set
|
||||||
config DUMMY_CONSOLE
|
config DUMMY_CONSOLE
|
||||||
bool
|
bool
|
||||||
depends on VGA_HOSE
|
depends on VGA_HOSE
|
||||||
default y
|
default y
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config EARLY_PRINTK
|
config EARLY_PRINTK
|
||||||
bool
|
bool
|
||||||
@ -39,5 +36,3 @@ config MATHEMU
|
|||||||
This option is required for IEEE compliant floating point arithmetic
|
This option is required for IEEE compliant floating point arithmetic
|
||||||
on the Alpha. The only time you would ever not say Y is to say M in
|
on the Alpha. The only time you would ever not say Y is to say M in
|
||||||
order to debug the code. Say Y unless you know what you are doing.
|
order to debug the code. Say Y unless you know what you are doing.
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -97,9 +97,6 @@ config HAVE_ARCH_TRANSPARENT_HUGEPAGE
|
|||||||
def_bool y
|
def_bool y
|
||||||
depends on ARC_MMU_V4
|
depends on ARC_MMU_V4
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
menu "ARC Architecture Configuration"
|
menu "ARC Architecture Configuration"
|
||||||
|
|
||||||
menu "ARC Platform/SoC/Board"
|
menu "ARC Platform/SoC/Board"
|
||||||
@ -551,24 +548,13 @@ config ARC_BUILTIN_DTB_NAME
|
|||||||
Set the name of the DTB to embed in the vmlinux binary
|
Set the name of the DTB to embed in the vmlinux binary
|
||||||
Leaving it blank selects the minimal "skeleton" dtb
|
Leaving it blank selects the minimal "skeleton" dtb
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
endmenu # "ARC Architecture Configuration"
|
endmenu # "ARC Architecture Configuration"
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config FORCE_MAX_ZONEORDER
|
config FORCE_MAX_ZONEORDER
|
||||||
int "Maximum zone order"
|
int "Maximum zone order"
|
||||||
default "12" if ARC_HUGEPAGE_16M
|
default "12" if ARC_HUGEPAGE_16M
|
||||||
default "11"
|
default "11"
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
menu "Bus Support"
|
menu "Bus Support"
|
||||||
|
|
||||||
config PCI
|
config PCI
|
||||||
@ -589,9 +575,4 @@ source "drivers/pci/Kconfig"
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
source "arch/arc/Kconfig.debug"
|
|
||||||
source "security/Kconfig"
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
source "lib/Kconfig"
|
|
||||||
source "kernel/power/Kconfig"
|
source "kernel/power/Kconfig"
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config 16KSTACKS
|
config 16KSTACKS
|
||||||
bool "Use 16Kb for kernel stacks instead of 8Kb"
|
bool "Use 16Kb for kernel stacks instead of 8Kb"
|
||||||
@ -11,5 +8,3 @@ config 16KSTACKS
|
|||||||
This increases the resident kernel footprint and will cause less
|
This increases the resident kernel footprint and will cause less
|
||||||
threads to run on the system and also increase the pressure
|
threads to run on the system and also increase the pressure
|
||||||
on the VM subsystem for higher order allocations.
|
on the VM subsystem for higher order allocations.
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -299,10 +299,6 @@ config PGTABLE_LEVELS
|
|||||||
default 3 if ARM_LPAE
|
default 3 if ARM_LPAE
|
||||||
default 2
|
default 2
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
menu "System Type"
|
menu "System Type"
|
||||||
|
|
||||||
config MMU
|
config MMU
|
||||||
@ -1481,8 +1477,6 @@ config ARCH_NR_GPIO
|
|||||||
|
|
||||||
If unsure, leave the default value.
|
If unsure, leave the default value.
|
||||||
|
|
||||||
source kernel/Kconfig.preempt
|
|
||||||
|
|
||||||
config HZ_FIXED
|
config HZ_FIXED
|
||||||
int
|
int
|
||||||
default 200 if ARCH_EBSA110
|
default 200 if ARCH_EBSA110
|
||||||
@ -1717,8 +1711,6 @@ config ARM_MODULE_PLTS
|
|||||||
Disabling this is usually safe for small single-platform
|
Disabling this is usually safe for small single-platform
|
||||||
configurations. If unsure, say y.
|
configurations. If unsure, say y.
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config FORCE_MAX_ZONEORDER
|
config FORCE_MAX_ZONEORDER
|
||||||
int "Maximum zone order"
|
int "Maximum zone order"
|
||||||
default "12" if SOC_AM33XX
|
default "12" if SOC_AM33XX
|
||||||
@ -2171,12 +2163,6 @@ config KERNEL_MODE_NEON
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Userspace binary formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
menu "Power management options"
|
menu "Power management options"
|
||||||
|
|
||||||
source "kernel/power/Kconfig"
|
source "kernel/power/Kconfig"
|
||||||
@ -2197,23 +2183,10 @@ config ARCH_HIBERNATION_POSSIBLE
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/firmware/Kconfig"
|
source "drivers/firmware/Kconfig"
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/arm/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
if CRYPTO
|
if CRYPTO
|
||||||
source "arch/arm/crypto/Kconfig"
|
source "arch/arm/crypto/Kconfig"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
|
||||||
source "arch/arm/kvm/Kconfig"
|
source "arch/arm/kvm/Kconfig"
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config ARM_PTDUMP_CORE
|
config ARM_PTDUMP_CORE
|
||||||
def_bool n
|
def_bool n
|
||||||
@ -1863,5 +1860,3 @@ config PID_IN_CONTEXTIDR
|
|||||||
are planning to use hardware trace tools with this kernel.
|
are planning to use hardware trace tools with this kernel.
|
||||||
|
|
||||||
source "drivers/hwtracing/coresight/Kconfig"
|
source "drivers/hwtracing/coresight/Kconfig"
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -279,10 +279,6 @@ config ARCH_SUPPORTS_UPROBES
|
|||||||
config ARCH_PROC_KCORE_TEXT
|
config ARCH_PROC_KCORE_TEXT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
source "arch/arm64/Kconfig.platforms"
|
source "arch/arm64/Kconfig.platforms"
|
||||||
|
|
||||||
menu "Bus support"
|
menu "Bus support"
|
||||||
@ -768,7 +764,6 @@ config HOLES_IN_ZONE
|
|||||||
def_bool y
|
def_bool y
|
||||||
depends on NUMA
|
depends on NUMA
|
||||||
|
|
||||||
source kernel/Kconfig.preempt
|
|
||||||
source kernel/Kconfig.hz
|
source kernel/Kconfig.hz
|
||||||
|
|
||||||
config ARCH_SUPPORTS_DEBUG_PAGEALLOC
|
config ARCH_SUPPORTS_DEBUG_PAGEALLOC
|
||||||
@ -806,8 +801,6 @@ config ARCH_WANT_HUGE_PMD_SHARE
|
|||||||
config ARCH_HAS_CACHE_LINE_SIZE
|
config ARCH_HAS_CACHE_LINE_SIZE
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config SECCOMP
|
config SECCOMP
|
||||||
bool "Enable seccomp to safely compute untrusted bytecode"
|
bool "Enable seccomp to safely compute untrusted bytecode"
|
||||||
---help---
|
---help---
|
||||||
@ -1289,10 +1282,6 @@ config DMI
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Userspace binary formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
config COMPAT
|
config COMPAT
|
||||||
bool "Kernel support for 32-bit EL0"
|
bool "Kernel support for 32-bit EL0"
|
||||||
depends on ARM64_4K_PAGES || EXPERT
|
depends on ARM64_4K_PAGES || EXPERT
|
||||||
@ -1316,8 +1305,6 @@ config SYSVIPC_COMPAT
|
|||||||
def_bool y
|
def_bool y
|
||||||
depends on COMPAT && SYSVIPC
|
depends on COMPAT && SYSVIPC
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
menu "Power management options"
|
menu "Power management options"
|
||||||
|
|
||||||
source "kernel/power/Kconfig"
|
source "kernel/power/Kconfig"
|
||||||
@ -1343,25 +1330,12 @@ source "drivers/cpufreq/Kconfig"
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/firmware/Kconfig"
|
source "drivers/firmware/Kconfig"
|
||||||
|
|
||||||
source "drivers/acpi/Kconfig"
|
source "drivers/acpi/Kconfig"
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/arm64/kvm/Kconfig"
|
source "arch/arm64/kvm/Kconfig"
|
||||||
|
|
||||||
source "arch/arm64/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
if CRYPTO
|
if CRYPTO
|
||||||
source "arch/arm64/crypto/Kconfig"
|
source "arch/arm64/crypto/Kconfig"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config ARM64_PTDUMP_CORE
|
config ARM64_PTDUMP_CORE
|
||||||
def_bool n
|
def_bool n
|
||||||
@ -97,5 +94,3 @@ config ARM64_RELOC_TEST
|
|||||||
tristate "Relocation testing module"
|
tristate "Relocation testing module"
|
||||||
|
|
||||||
source "drivers/hwtracing/coresight/Kconfig"
|
source "drivers/hwtracing/coresight/Kconfig"
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -53,12 +53,8 @@ config C6X_BIG_KERNEL
|
|||||||
|
|
||||||
If unsure, say N.
|
If unsure, say N.
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
# Use the generic interrupt handling code in kernel/irq/
|
# Use the generic interrupt handling code in kernel/irq/
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
config CMDLINE_BOOL
|
config CMDLINE_BOOL
|
||||||
bool "Default bootloader kernel arguments"
|
bool "Default bootloader kernel arguments"
|
||||||
|
|
||||||
@ -114,43 +110,6 @@ config KERNEL_RAM_BASE_ADDRESS
|
|||||||
default 0xe0000000 if SOC_TMS320C6472
|
default 0xe0000000 if SOC_TMS320C6472
|
||||||
default 0x80000000
|
default 0x80000000
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.hz"
|
source "kernel/Kconfig.hz"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config ACCESS_CHECK
|
|
||||||
bool "Check the user pointer address"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
Usually the pointer transfer from user space is checked to see if its
|
|
||||||
address is in the kernel space.
|
|
||||||
|
|
||||||
Say N here to disable that check to improve the performance.
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
10
arch/c6x/Kconfig.debug
Normal file
10
arch/c6x/Kconfig.debug
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
|
config ACCESS_CHECK
|
||||||
|
bool "Check the user pointer address"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Usually the pointer transfer from user space is checked to see if its
|
||||||
|
address is in the kernel space.
|
||||||
|
|
||||||
|
Say N here to disable that check to improve the performance.
|
@ -48,40 +48,4 @@ config NR_CPUS
|
|||||||
int
|
int
|
||||||
default 1
|
default 1
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
source "arch/h8300/Kconfig.cpu"
|
source "arch/h8300/Kconfig.cpu"
|
||||||
|
|
||||||
menu "Kernel Features"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
1
arch/h8300/Kconfig.debug
Normal file
1
arch/h8300/Kconfig.debug
Normal file
@ -0,0 +1 @@
|
|||||||
|
# dummy file, do not delete
|
@ -4,6 +4,7 @@ comment "Linux Kernel Configuration for Hexagon"
|
|||||||
|
|
||||||
config HEXAGON
|
config HEXAGON
|
||||||
def_bool y
|
def_bool y
|
||||||
|
select ARCH_NO_PREEMPT
|
||||||
select HAVE_OPROFILE
|
select HAVE_OPROFILE
|
||||||
# Other pending projects/to-do items.
|
# Other pending projects/to-do items.
|
||||||
# select HAVE_REGS_AND_STACK_ACCESS_API
|
# select HAVE_REGS_AND_STACK_ACCESS_API
|
||||||
@ -146,26 +147,6 @@ config PAGE_SIZE_256KB
|
|||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.hz"
|
source "kernel/Kconfig.hz"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
menu "Executable File Formats"
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
source "security/Kconfig"
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
|
||||||
menu "Kernel hacking"
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
endmenu
|
|
||||||
|
1
arch/hexagon/Kconfig.debug
Normal file
1
arch/hexagon/Kconfig.debug
Normal file
@ -0,0 +1 @@
|
|||||||
|
# dummy file, do not delete
|
@ -4,10 +4,6 @@ config PGTABLE_LEVELS
|
|||||||
range 3 4 if !IA64_PAGE_SIZE_64KB
|
range 3 4 if !IA64_PAGE_SIZE_64KB
|
||||||
default 3
|
default 3
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
menu "Processor type and features"
|
menu "Processor type and features"
|
||||||
|
|
||||||
config IA64
|
config IA64
|
||||||
@ -369,10 +365,6 @@ config FORCE_CPEI_RETARGET
|
|||||||
This option it useful to enable this feature on older BIOS's as well.
|
This option it useful to enable this feature on older BIOS's as well.
|
||||||
You can also enable this by using boot command line option force_cpei=1.
|
You can also enable this by using boot command line option force_cpei=1.
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config ARCH_SELECT_MEMORY_MODEL
|
config ARCH_SELECT_MEMORY_MODEL
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
@ -533,8 +525,6 @@ config CRASH_DUMP
|
|||||||
|
|
||||||
source "drivers/firmware/Kconfig"
|
source "drivers/firmware/Kconfig"
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Power management and ACPI options"
|
menu "Power management and ACPI options"
|
||||||
@ -575,10 +565,6 @@ endmenu
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "arch/ia64/hp/sim/Kconfig"
|
source "arch/ia64/hp/sim/Kconfig"
|
||||||
|
|
||||||
config MSPEC
|
config MSPEC
|
||||||
@ -589,13 +575,3 @@ config MSPEC
|
|||||||
If you have an ia64 and you want to enable memory special
|
If you have an ia64 and you want to enable memory special
|
||||||
operations support (formerly known as fetchop), say Y here,
|
operations support (formerly known as fetchop), say Y here,
|
||||||
otherwise say N.
|
otherwise say N.
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/ia64/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Physical memory granularity"
|
prompt "Physical memory granularity"
|
||||||
@ -56,5 +53,3 @@ config IA64_DEBUG_IRQ
|
|||||||
Selecting this option turns on bug checking for the IA-64 irq_save
|
Selecting this option turns on bug checking for the IA-64 irq_save
|
||||||
and restore instructions. It's useful for tracking down spinlock
|
and restore instructions. It's useful for tracking down spinlock
|
||||||
problems, but slow! If you're unsure, select N.
|
problems, but slow! If you're unsure, select N.
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -5,6 +5,7 @@ config M68K
|
|||||||
select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
|
select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
|
||||||
select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
|
select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
|
||||||
select ARCH_NO_COHERENT_DMA_MMAP if !MMU
|
select ARCH_NO_COHERENT_DMA_MMAP if !MMU
|
||||||
|
select ARCH_NO_PREEMPT if !COLDFIRE
|
||||||
select HAVE_IDE
|
select HAVE_IDE
|
||||||
select HAVE_AOUT if MMU
|
select HAVE_AOUT if MMU
|
||||||
select HAVE_DEBUG_BUGVERBOSE
|
select HAVE_DEBUG_BUGVERBOSE
|
||||||
@ -80,10 +81,6 @@ config PGTABLE_LEVELS
|
|||||||
default 2 if SUN3 || COLDFIRE
|
default 2 if SUN3 || COLDFIRE
|
||||||
default 3
|
default 3
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
config MMU
|
config MMU
|
||||||
bool "MMU-based Paged Memory Management Support"
|
bool "MMU-based Paged Memory Management Support"
|
||||||
default y
|
default y
|
||||||
@ -138,18 +135,6 @@ endmenu
|
|||||||
|
|
||||||
menu "Kernel Features"
|
menu "Kernel Features"
|
||||||
|
|
||||||
if COLDFIRE
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
endif
|
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
if !MMU
|
if !MMU
|
||||||
@ -163,18 +148,4 @@ config PM
|
|||||||
endmenu
|
endmenu
|
||||||
endif
|
endif
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "arch/m68k/Kconfig.devices"
|
source "arch/m68k/Kconfig.devices"
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/m68k/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config BOOTPARAM
|
config BOOTPARAM
|
||||||
bool 'Compiled-in Kernel Boot Parameter'
|
bool 'Compiled-in Kernel Boot Parameter'
|
||||||
@ -51,5 +48,3 @@ config BDM_DISABLE
|
|||||||
Disable the ColdFire CPU's BDM signals.
|
Disable the ColdFire CPU's BDM signals.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
config MICROBLAZE
|
config MICROBLAZE
|
||||||
def_bool y
|
def_bool y
|
||||||
|
select ARCH_NO_SWAP
|
||||||
select ARCH_HAS_GCOV_PROFILE_ALL
|
select ARCH_HAS_GCOV_PROFILE_ALL
|
||||||
select ARCH_MIGHT_HAVE_PC_PARPORT
|
select ARCH_MIGHT_HAVE_PC_PARPORT
|
||||||
select ARCH_NO_COHERENT_DMA_MMAP if !MMU
|
select ARCH_NO_COHERENT_DMA_MMAP if !MMU
|
||||||
@ -52,9 +53,6 @@ config CPU_LITTLE_ENDIAN
|
|||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config SWAP
|
|
||||||
def_bool n
|
|
||||||
|
|
||||||
config RWSEM_GENERIC_SPINLOCK
|
config RWSEM_GENERIC_SPINLOCK
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
@ -85,16 +83,10 @@ config STACKTRACE_SUPPORT
|
|||||||
config LOCKDEP_SUPPORT
|
config LOCKDEP_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
source "arch/microblaze/Kconfig.platform"
|
source "arch/microblaze/Kconfig.platform"
|
||||||
|
|
||||||
menu "Processor type and features"
|
menu "Processor type and features"
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.hz"
|
source "kernel/Kconfig.hz"
|
||||||
|
|
||||||
config MMU
|
config MMU
|
||||||
@ -268,14 +260,6 @@ config MICROBLAZE_64K_PAGES
|
|||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Bus Options"
|
menu "Bus Options"
|
||||||
@ -299,17 +283,3 @@ config PCI_XILINX
|
|||||||
source "drivers/pci/Kconfig"
|
source "drivers/pci/Kconfig"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/microblaze/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
# For a description of the syntax of this configuration file,
|
# For a description of the syntax of this configuration file,
|
||||||
# see Documentation/kbuild/kconfig-language.txt.
|
# see Documentation/kbuild/kconfig-language.txt.
|
||||||
|
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
config TRACE_IRQFLAGS_SUPPORT
|
config TRACE_IRQFLAGS_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -2635,8 +2635,6 @@ config HW_PERF_EVENTS
|
|||||||
Enable hardware performance counter support for perf events. If
|
Enable hardware performance counter support for perf events. If
|
||||||
disabled, perf events will use software events only.
|
disabled, perf events will use software events only.
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config SMP
|
config SMP
|
||||||
bool "Multi-Processing support"
|
bool "Multi-Processing support"
|
||||||
depends on SYS_SUPPORTS_SMP
|
depends on SYS_SUPPORTS_SMP
|
||||||
@ -2814,8 +2812,6 @@ config HZ
|
|||||||
config SCHED_HRTICK
|
config SCHED_HRTICK
|
||||||
def_bool HIGH_RES_TIMERS
|
def_bool HIGH_RES_TIMERS
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
config KEXEC
|
config KEXEC
|
||||||
bool "Kexec system call"
|
bool "Kexec system call"
|
||||||
select KEXEC_CORE
|
select KEXEC_CORE
|
||||||
@ -2991,10 +2987,6 @@ config PGTABLE_LEVELS
|
|||||||
config MIPS_AUTO_PFN_OFFSET
|
config MIPS_AUTO_PFN_OFFSET
|
||||||
bool
|
bool
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
|
menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
|
||||||
|
|
||||||
config HW_HAS_EISA
|
config HW_HAS_EISA
|
||||||
@ -3127,10 +3119,6 @@ source "drivers/rapidio/Kconfig"
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
config TRAD_SIGNALS
|
config TRAD_SIGNALS
|
||||||
bool
|
bool
|
||||||
|
|
||||||
@ -3176,8 +3164,6 @@ config BINFMT_ELF32
|
|||||||
default y if MIPS32_O32 || MIPS32_N32
|
default y if MIPS32_O32 || MIPS32_N32
|
||||||
select ELFCORE
|
select ELFCORE
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
menu "Power management options"
|
menu "Power management options"
|
||||||
|
|
||||||
config ARCH_HIBERNATION_POSSIBLE
|
config ARCH_HIBERNATION_POSSIBLE
|
||||||
@ -3205,20 +3191,6 @@ source "drivers/cpuidle/Kconfig"
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/firmware/Kconfig"
|
source "drivers/firmware/Kconfig"
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/mips/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
|
||||||
source "arch/mips/kvm/Kconfig"
|
source "arch/mips/kvm/Kconfig"
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
config TRACE_IRQFLAGS_SUPPORT
|
config TRACE_IRQFLAGS_SUPPORT
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config EARLY_PRINTK
|
config EARLY_PRINTK
|
||||||
bool "Early printk" if EXPERT
|
bool "Early printk" if EXPERT
|
||||||
depends on SYS_HAS_EARLY_PRINTK
|
depends on SYS_HAS_EARLY_PRINTK
|
||||||
@ -155,5 +152,3 @@ config MIPS_CPS_NS16550_SHIFT
|
|||||||
adjacent ns16550 registers in the system.
|
adjacent ns16550 registers in the system.
|
||||||
|
|
||||||
endif # MIPS_CPS_NS16550_BOOL
|
endif # MIPS_CPS_NS16550_BOOL
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -71,8 +71,6 @@ config FIX_EARLYCON_MEM
|
|||||||
config PGTABLE_LEVELS
|
config PGTABLE_LEVELS
|
||||||
default 2
|
default 2
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
menu "System Type"
|
menu "System Type"
|
||||||
source "arch/nds32/Kconfig.cpu"
|
source "arch/nds32/Kconfig.cpu"
|
||||||
config NR_CPUS
|
config NR_CPUS
|
||||||
@ -90,24 +88,5 @@ config NDS32_BUILTIN_DTB
|
|||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Kernel Features"
|
menu "Kernel Features"
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
source "mm/Kconfig"
|
|
||||||
source "kernel/Kconfig.hz"
|
source "kernel/Kconfig.hz"
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
menu "Kernel hacking"
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
1
arch/nds32/Kconfig.debug
Normal file
1
arch/nds32/Kconfig.debug
Normal file
@ -0,0 +1 @@
|
|||||||
|
# dummy file, do not delete
|
@ -3,6 +3,7 @@ config NIOS2
|
|||||||
def_bool y
|
def_bool y
|
||||||
select ARCH_HAS_SYNC_DMA_FOR_CPU
|
select ARCH_HAS_SYNC_DMA_FOR_CPU
|
||||||
select ARCH_HAS_SYNC_DMA_FOR_DEVICE
|
select ARCH_HAS_SYNC_DMA_FOR_DEVICE
|
||||||
|
select ARCH_NO_SWAP
|
||||||
select DMA_NONCOHERENT_OPS
|
select DMA_NONCOHERENT_OPS
|
||||||
select TIMER_OF
|
select TIMER_OF
|
||||||
select GENERIC_ATOMIC64
|
select GENERIC_ATOMIC64
|
||||||
@ -41,27 +42,16 @@ config HAS_DMA
|
|||||||
config FPU
|
config FPU
|
||||||
def_bool n
|
def_bool n
|
||||||
|
|
||||||
config SWAP
|
|
||||||
def_bool n
|
|
||||||
|
|
||||||
config RWSEM_GENERIC_SPINLOCK
|
config RWSEM_GENERIC_SPINLOCK
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
config TRACE_IRQFLAGS_SUPPORT
|
config TRACE_IRQFLAGS_SUPPORT
|
||||||
def_bool n
|
def_bool n
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
menu "Kernel features"
|
menu "Kernel features"
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.hz"
|
source "kernel/Kconfig.hz"
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config FORCE_MAX_ZONEORDER
|
config FORCE_MAX_ZONEORDER
|
||||||
int "Maximum zone order"
|
int "Maximum zone order"
|
||||||
range 9 20
|
range 9 20
|
||||||
@ -198,23 +188,3 @@ config NIOS2_IO_REGION_BASE
|
|||||||
default "0xe0000000"
|
default "0xe0000000"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/nios2/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
config TRACE_IRQFLAGS_SUPPORT
|
config TRACE_IRQFLAGS_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config DEBUG_STACK_USAGE
|
config DEBUG_STACK_USAGE
|
||||||
bool "Enable stack utilization instrumentation"
|
bool "Enable stack utilization instrumentation"
|
||||||
depends on DEBUG_KERNEL
|
depends on DEBUG_KERNEL
|
||||||
@ -24,5 +21,3 @@ config EARLY_PRINTK
|
|||||||
This is useful for kernel debugging when your machine crashes very
|
This is useful for kernel debugging when your machine crashes very
|
||||||
early before the console code is initialized.
|
early before the console code is initialized.
|
||||||
You should normally say N here, unless you want to debug such a crash.
|
You should normally say N here, unless you want to debug such a crash.
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -69,10 +69,6 @@ config STACKTRACE_SUPPORT
|
|||||||
config LOCKDEP_SUPPORT
|
config LOCKDEP_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
menu "Processor type and features"
|
menu "Processor type and features"
|
||||||
|
|
||||||
choice
|
choice
|
||||||
@ -144,8 +140,6 @@ config SMP
|
|||||||
If you don't know what to do here, say N.
|
If you don't know what to do here, say N.
|
||||||
|
|
||||||
source kernel/Kconfig.hz
|
source kernel/Kconfig.hz
|
||||||
source kernel/Kconfig.preempt
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config OPENRISC_NO_SPR_SR_DSX
|
config OPENRISC_NO_SPR_SR_DSX
|
||||||
bool "use SPR_SR_DSX software emulation" if OR1K_1200
|
bool "use SPR_SR_DSX software emulation" if OR1K_1200
|
||||||
@ -203,27 +197,3 @@ config OPENRISC_ESR_EXCEPTION_BUG_CHECK
|
|||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
1
arch/openrisc/Kconfig.debug
Normal file
1
arch/openrisc/Kconfig.debug
Normal file
@ -0,0 +1 @@
|
|||||||
|
# dummy file, do not delete
|
@ -129,10 +129,6 @@ config PGTABLE_LEVELS
|
|||||||
config SYS_SUPPORTS_HUGETLBFS
|
config SYS_SUPPORTS_HUGETLBFS
|
||||||
def_bool y if PA20
|
def_bool y if PA20
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
|
|
||||||
menu "Processor type and features"
|
menu "Processor type and features"
|
||||||
|
|
||||||
@ -331,9 +327,7 @@ config NODES_SHIFT
|
|||||||
default "3"
|
default "3"
|
||||||
depends on NEED_MULTIPLE_NODES
|
depends on NEED_MULTIPLE_NODES
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
source "kernel/Kconfig.hz"
|
source "kernel/Kconfig.hz"
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config COMPAT
|
config COMPAT
|
||||||
def_bool y
|
def_bool y
|
||||||
@ -358,21 +352,6 @@ endmenu
|
|||||||
|
|
||||||
source "drivers/parisc/Kconfig"
|
source "drivers/parisc/Kconfig"
|
||||||
|
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/parisc/Kconfig.debug"
|
|
||||||
|
|
||||||
config SECCOMP
|
config SECCOMP
|
||||||
def_bool y
|
def_bool y
|
||||||
prompt "Enable seccomp to safely compute untrusted bytecode"
|
prompt "Enable seccomp to safely compute untrusted bytecode"
|
||||||
@ -388,9 +367,3 @@ config SECCOMP
|
|||||||
defined by each seccomp mode.
|
defined by each seccomp mode.
|
||||||
|
|
||||||
If unsure, say Y. Only embedded should say N here.
|
If unsure, say Y. Only embedded should say N here.
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config TRACE_IRQFLAGS_SUPPORT
|
config TRACE_IRQFLAGS_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -383,10 +383,6 @@ config PGTABLE_LEVELS
|
|||||||
default 3 if PPC_64K_PAGES && !PPC_BOOK3S_64
|
default 3 if PPC_64K_PAGES && !PPC_BOOK3S_64
|
||||||
default 4
|
default 4
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
source "arch/powerpc/sysdev/Kconfig"
|
source "arch/powerpc/sysdev/Kconfig"
|
||||||
source "arch/powerpc/platforms/Kconfig"
|
source "arch/powerpc/platforms/Kconfig"
|
||||||
|
|
||||||
@ -397,8 +393,6 @@ config HIGHMEM
|
|||||||
depends on PPC32
|
depends on PPC32
|
||||||
|
|
||||||
source kernel/Kconfig.hz
|
source kernel/Kconfig.hz
|
||||||
source kernel/Kconfig.preempt
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
config HUGETLB_PAGE_SIZE_VARIABLE
|
config HUGETLB_PAGE_SIZE_VARIABLE
|
||||||
bool
|
bool
|
||||||
@ -641,8 +635,6 @@ config ILLEGAL_POINTER_VALUE
|
|||||||
default 0x5deadbeef0000000 if PPC64
|
default 0x5deadbeef0000000 if PPC64
|
||||||
default 0
|
default 0
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config ARCH_MEMORY_PROBE
|
config ARCH_MEMORY_PROBE
|
||||||
def_bool y
|
def_bool y
|
||||||
depends on MEMORY_HOTPLUG
|
depends on MEMORY_HOTPLUG
|
||||||
@ -1201,20 +1193,6 @@ endif
|
|||||||
config ARCH_RANDOM
|
config ARCH_RANDOM
|
||||||
def_bool n
|
def_bool n
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
|
||||||
source "arch/powerpc/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
config PPC_LIB_RHEAP
|
config PPC_LIB_RHEAP
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config PPC_DISABLE_WERROR
|
config PPC_DISABLE_WERROR
|
||||||
bool "Don't build arch/powerpc code with -Werror"
|
bool "Don't build arch/powerpc code with -Werror"
|
||||||
@ -379,5 +376,3 @@ config PPC_FAST_ENDIAN_SWITCH
|
|||||||
depends on DEBUG_KERNEL && PPC_BOOK3S_64
|
depends on DEBUG_KERNEL && PPC_BOOK3S_64
|
||||||
help
|
help
|
||||||
If you're unsure what this is, say N.
|
If you're unsure what this is, say N.
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -212,10 +212,6 @@ endmenu
|
|||||||
|
|
||||||
menu "Kernel type"
|
menu "Kernel type"
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.hz"
|
source "kernel/Kconfig.hz"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
@ -242,75 +238,8 @@ source "drivers/pci/Kconfig"
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
menu "Power management options"
|
menu "Power management options"
|
||||||
|
|
||||||
source kernel/power/Kconfig
|
source kernel/power/Kconfig
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
config CMDLINE_BOOL
|
|
||||||
bool "Built-in kernel command line"
|
|
||||||
help
|
|
||||||
For most platforms, it is firmware or second stage bootloader
|
|
||||||
that by default specifies the kernel command line options.
|
|
||||||
However, it might be necessary or advantageous to either override
|
|
||||||
the default kernel command line or add a few extra options to it.
|
|
||||||
For such cases, this option allows hardcoding command line options
|
|
||||||
directly into the kernel.
|
|
||||||
|
|
||||||
For that, choose 'Y' here and fill in the extra boot parameters
|
|
||||||
in CONFIG_CMDLINE.
|
|
||||||
|
|
||||||
The built-in options will be concatenated to the default command
|
|
||||||
line if CMDLINE_FORCE is set to 'N'. Otherwise, the default
|
|
||||||
command line will be ignored and replaced by the built-in string.
|
|
||||||
|
|
||||||
config CMDLINE
|
|
||||||
string "Built-in kernel command string"
|
|
||||||
depends on CMDLINE_BOOL
|
|
||||||
default ""
|
|
||||||
help
|
|
||||||
Supply command-line options at build time by entering them here.
|
|
||||||
|
|
||||||
config CMDLINE_FORCE
|
|
||||||
bool "Built-in command line overrides bootloader arguments"
|
|
||||||
depends on CMDLINE_BOOL
|
|
||||||
help
|
|
||||||
Set this option to 'Y' to have the kernel ignore the bootloader
|
|
||||||
or firmware command line. Instead, the built-in command line
|
|
||||||
will be used exclusively.
|
|
||||||
|
|
||||||
If you don't know what to do here, say N.
|
|
||||||
|
|
||||||
config EARLY_PRINTK
|
|
||||||
def_bool y
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config CMDLINE_BOOL
|
|
||||||
bool
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
37
arch/riscv/Kconfig.debug
Normal file
37
arch/riscv/Kconfig.debug
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
config CMDLINE_BOOL
|
||||||
|
bool "Built-in kernel command line"
|
||||||
|
help
|
||||||
|
For most platforms, it is firmware or second stage bootloader
|
||||||
|
that by default specifies the kernel command line options.
|
||||||
|
However, it might be necessary or advantageous to either override
|
||||||
|
the default kernel command line or add a few extra options to it.
|
||||||
|
For such cases, this option allows hardcoding command line options
|
||||||
|
directly into the kernel.
|
||||||
|
|
||||||
|
For that, choose 'Y' here and fill in the extra boot parameters
|
||||||
|
in CONFIG_CMDLINE.
|
||||||
|
|
||||||
|
The built-in options will be concatenated to the default command
|
||||||
|
line if CMDLINE_FORCE is set to 'N'. Otherwise, the default
|
||||||
|
command line will be ignored and replaced by the built-in string.
|
||||||
|
|
||||||
|
config CMDLINE
|
||||||
|
string "Built-in kernel command string"
|
||||||
|
depends on CMDLINE_BOOL
|
||||||
|
default ""
|
||||||
|
help
|
||||||
|
Supply command-line options at build time by entering them here.
|
||||||
|
|
||||||
|
config CMDLINE_FORCE
|
||||||
|
bool "Built-in command line overrides bootloader arguments"
|
||||||
|
depends on CMDLINE_BOOL
|
||||||
|
help
|
||||||
|
Set this option to 'Y' to have the kernel ignore the bootloader
|
||||||
|
or firmware command line. Instead, the built-in command line
|
||||||
|
will be used exclusively.
|
||||||
|
|
||||||
|
If you don't know what to do here, say N.
|
||||||
|
|
||||||
|
config EARLY_PRINTK
|
||||||
|
def_bool y
|
@ -184,10 +184,6 @@ config PGTABLE_LEVELS
|
|||||||
int
|
int
|
||||||
default 5
|
default 5
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
source "kernel/livepatch/Kconfig"
|
source "kernel/livepatch/Kconfig"
|
||||||
|
|
||||||
menu "Processor type and features"
|
menu "Processor type and features"
|
||||||
@ -515,8 +511,6 @@ config SCHED_TOPOLOGY
|
|||||||
making when dealing with machines that have multi-threading,
|
making when dealing with machines that have multi-threading,
|
||||||
multiple cores or multiple books.
|
multiple cores or multiple books.
|
||||||
|
|
||||||
source kernel/Kconfig.preempt
|
|
||||||
|
|
||||||
source kernel/Kconfig.hz
|
source kernel/Kconfig.hz
|
||||||
|
|
||||||
config KEXEC
|
config KEXEC
|
||||||
@ -627,8 +621,6 @@ config FORCE_MAX_ZONEORDER
|
|||||||
int
|
int
|
||||||
default "9"
|
default "9"
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config MAX_PHYSMEM_BITS
|
config MAX_PHYSMEM_BITS
|
||||||
int "Maximum size of supported physical memory in bits (42-53)"
|
int "Maximum size of supported physical memory in bits (42-53)"
|
||||||
range 42 53
|
range 42 53
|
||||||
@ -798,10 +790,6 @@ config CRASH_DUMP
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Executable file formats / Emulations"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
config SECCOMP
|
config SECCOMP
|
||||||
def_bool y
|
def_bool y
|
||||||
prompt "Enable seccomp to safely compute untrusted bytecode"
|
prompt "Enable seccomp to safely compute untrusted bytecode"
|
||||||
@ -819,8 +807,6 @@ config SECCOMP
|
|||||||
|
|
||||||
If unsure, say Y.
|
If unsure, say Y.
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
menu "Power Management"
|
menu "Power Management"
|
||||||
|
|
||||||
config ARCH_HIBERNATION_POSSIBLE
|
config ARCH_HIBERNATION_POSSIBLE
|
||||||
@ -830,30 +816,16 @@ source "kernel/power/Kconfig"
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
config PCMCIA
|
config PCMCIA
|
||||||
def_bool n
|
def_bool n
|
||||||
|
|
||||||
config CCW
|
config CCW
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
config HAVE_PNETID
|
config HAVE_PNETID
|
||||||
tristate
|
tristate
|
||||||
default (SMC || CCWGROUP)
|
default (SMC || CCWGROUP)
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/s390/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
|
||||||
menu "Virtualization"
|
menu "Virtualization"
|
||||||
|
|
||||||
config PFAULT
|
config PFAULT
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
config TRACE_IRQFLAGS_SUPPORT
|
config TRACE_IRQFLAGS_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config S390_PTDUMP
|
config S390_PTDUMP
|
||||||
bool "Export kernel pagetable layout to userspace via debugfs"
|
bool "Export kernel pagetable layout to userspace via debugfs"
|
||||||
depends on DEBUG_KERNEL
|
depends on DEBUG_KERNEL
|
||||||
@ -20,5 +17,3 @@ config S390_PTDUMP
|
|||||||
|
|
||||||
config EARLY_PRINTK
|
config EARLY_PRINTK
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -170,10 +170,6 @@ config PGTABLE_LEVELS
|
|||||||
default 3 if X2TLB
|
default 3 if X2TLB
|
||||||
default 2
|
default 2
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
menu "System type"
|
menu "System type"
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -715,8 +711,6 @@ config HOTPLUG_CPU
|
|||||||
Say Y here to experiment with turning CPUs off and on. CPUs
|
Say Y here to experiment with turning CPUs off and on. CPUs
|
||||||
can be controlled through /sys/devices/system/cpu.
|
can be controlled through /sys/devices/system/cpu.
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
config GUSA
|
config GUSA
|
||||||
def_bool y
|
def_bool y
|
||||||
depends on !SMP && SUPERH32
|
depends on !SMP && SUPERH32
|
||||||
@ -884,12 +878,6 @@ source "drivers/pcmcia/Kconfig"
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
menu "Power management options (EXPERIMENTAL)"
|
menu "Power management options (EXPERIMENTAL)"
|
||||||
|
|
||||||
source "kernel/power/Kconfig"
|
source "kernel/power/Kconfig"
|
||||||
@ -897,17 +885,3 @@ source "kernel/power/Kconfig"
|
|||||||
source "drivers/cpuidle/Kconfig"
|
source "drivers/cpuidle/Kconfig"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/sh/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
config TRACE_IRQFLAGS_SUPPORT
|
config TRACE_IRQFLAGS_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config SH_STANDARD_BIOS
|
config SH_STANDARD_BIOS
|
||||||
bool "Use LinuxSH standard BIOS"
|
bool "Use LinuxSH standard BIOS"
|
||||||
depends on SUPERH32
|
depends on SUPERH32
|
||||||
@ -88,5 +85,3 @@ config MCOUNT
|
|||||||
def_bool y
|
def_bool y
|
||||||
depends on SUPERH32
|
depends on SUPERH32
|
||||||
depends on STACK_DEBUG || FUNCTION_TRACER
|
depends on STACK_DEBUG || FUNCTION_TRACER
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -225,8 +225,6 @@ config HUGETLB_PAGE_SIZE_512MB
|
|||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config SCHED_MC
|
config SCHED_MC
|
||||||
bool "Multi-core scheduler support"
|
bool "Multi-core scheduler support"
|
||||||
depends on SMP
|
depends on SMP
|
||||||
|
@ -155,10 +155,6 @@ config PGTABLE_LEVELS
|
|||||||
config ARCH_SUPPORTS_UPROBES
|
config ARCH_SUPPORTS_UPROBES
|
||||||
def_bool y if SPARC64
|
def_bool y if SPARC64
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
menu "Processor type and features"
|
menu "Processor type and features"
|
||||||
|
|
||||||
config SMP
|
config SMP
|
||||||
@ -331,8 +327,6 @@ config FORCE_MAX_ZONEORDER
|
|||||||
This config option is actually maximum order plus one. For example,
|
This config option is actually maximum order plus one. For example,
|
||||||
a value of 13 means that the largest free memory block is 2^12 pages.
|
a value of 13 means that the largest free memory block is 2^12 pages.
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
if SPARC64
|
if SPARC64
|
||||||
source "kernel/power/Kconfig"
|
source "kernel/power/Kconfig"
|
||||||
endif
|
endif
|
||||||
@ -355,8 +349,6 @@ config SCHED_MC
|
|||||||
making when dealing with multi-core CPU chips at a cost of slightly
|
making when dealing with multi-core CPU chips at a cost of slightly
|
||||||
increased overhead in some places. If unsure say N here.
|
increased overhead in some places. If unsure say N here.
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
config CMDLINE_BOOL
|
config CMDLINE_BOOL
|
||||||
bool "Default bootloader kernel arguments"
|
bool "Default bootloader kernel arguments"
|
||||||
depends on SPARC64
|
depends on SPARC64
|
||||||
@ -556,10 +548,6 @@ config SPARC64_PCI_MSI
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
config COMPAT
|
config COMPAT
|
||||||
bool
|
bool
|
||||||
depends on SPARC64
|
depends on SPARC64
|
||||||
@ -574,20 +562,4 @@ config SYSVIPC_COMPAT
|
|||||||
depends on COMPAT && SYSVIPC
|
depends on COMPAT && SYSVIPC
|
||||||
default y
|
default y
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/sbus/char/Kconfig"
|
source "drivers/sbus/char/Kconfig"
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/sparc/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
config TRACE_IRQFLAGS_SUPPORT
|
config TRACE_IRQFLAGS_SUPPORT
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config DEBUG_DCFLUSH
|
config DEBUG_DCFLUSH
|
||||||
bool "D-cache flush debugging"
|
bool "D-cache flush debugging"
|
||||||
depends on SPARC64 && DEBUG_KERNEL
|
depends on SPARC64 && DEBUG_KERNEL
|
||||||
@ -21,5 +18,3 @@ config FRAME_POINTER
|
|||||||
bool
|
bool
|
||||||
depends on MCOUNT
|
depends on MCOUNT
|
||||||
default y
|
default y
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -1,4 +1,70 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
|
menu "UML-specific options"
|
||||||
|
|
||||||
|
config UML
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
select ARCH_HAS_KCOV
|
||||||
|
select ARCH_NO_PREEMPT
|
||||||
|
select HAVE_ARCH_AUDITSYSCALL
|
||||||
|
select HAVE_ARCH_SECCOMP_FILTER
|
||||||
|
select HAVE_UID16
|
||||||
|
select HAVE_FUTEX_CMPXCHG if FUTEX
|
||||||
|
select HAVE_DEBUG_KMEMLEAK
|
||||||
|
select GENERIC_IRQ_SHOW
|
||||||
|
select GENERIC_CPU_DEVICES
|
||||||
|
select GENERIC_CLOCKEVENTS
|
||||||
|
select HAVE_GCC_PLUGINS
|
||||||
|
select TTY # Needed for line.c
|
||||||
|
|
||||||
|
config MMU
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
config NO_IOMEM
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
config ISA
|
||||||
|
bool
|
||||||
|
|
||||||
|
config SBUS
|
||||||
|
bool
|
||||||
|
|
||||||
|
config PCI
|
||||||
|
bool
|
||||||
|
|
||||||
|
config PCMCIA
|
||||||
|
bool
|
||||||
|
|
||||||
|
config TRACE_IRQFLAGS_SUPPORT
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
config LOCKDEP_SUPPORT
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
config STACKTRACE_SUPPORT
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
select STACKTRACE
|
||||||
|
|
||||||
|
config GENERIC_CALIBRATE_DELAY
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
config HZ
|
||||||
|
int
|
||||||
|
default 100
|
||||||
|
|
||||||
|
config NR_CPUS
|
||||||
|
int
|
||||||
|
range 1 1
|
||||||
|
default 1
|
||||||
|
|
||||||
|
source "arch/$(HEADER_ARCH)/um/Kconfig"
|
||||||
|
|
||||||
config STATIC_LINK
|
config STATIC_LINK
|
||||||
bool "Force a static link"
|
bool "Force a static link"
|
||||||
default n
|
default n
|
||||||
@ -10,8 +76,6 @@ config STATIC_LINK
|
|||||||
Additionally, this option enables using higher memory spaces (up to
|
Additionally, this option enables using higher memory spaces (up to
|
||||||
2.75G) for UML.
|
2.75G) for UML.
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config LD_SCRIPT_STATIC
|
config LD_SCRIPT_STATIC
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
@ -23,8 +87,6 @@ config LD_SCRIPT_DYN
|
|||||||
depends on !LD_SCRIPT_STATIC
|
depends on !LD_SCRIPT_STATIC
|
||||||
select MODULE_REL_CRCS if MODVERSIONS
|
select MODULE_REL_CRCS if MODVERSIONS
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
config HOSTFS
|
config HOSTFS
|
||||||
tristate "Host filesystem"
|
tristate "Host filesystem"
|
||||||
help
|
help
|
||||||
@ -122,3 +184,7 @@ config SECCOMP
|
|||||||
defined by each seccomp mode.
|
defined by each seccomp mode.
|
||||||
|
|
||||||
If unsure, say Y.
|
If unsure, say Y.
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
|
source "arch/um/drivers/Kconfig"
|
@ -1,124 +0,0 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
|
||||||
menu "UML Character Devices"
|
|
||||||
|
|
||||||
config STDERR_CONSOLE
|
|
||||||
bool "stderr console"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
console driver which dumps all printk messages to stderr.
|
|
||||||
|
|
||||||
config SSL
|
|
||||||
bool "Virtual serial line"
|
|
||||||
help
|
|
||||||
The User-Mode Linux environment allows you to create virtual serial
|
|
||||||
lines on the UML that are usually made to show up on the host as
|
|
||||||
ttys or ptys.
|
|
||||||
|
|
||||||
See <http://user-mode-linux.sourceforge.net/old/input.html> for more
|
|
||||||
information and command line examples of how to use this facility.
|
|
||||||
|
|
||||||
Unless you have a specific reason for disabling this, say Y.
|
|
||||||
|
|
||||||
config NULL_CHAN
|
|
||||||
bool "null channel support"
|
|
||||||
help
|
|
||||||
This option enables support for attaching UML consoles and serial
|
|
||||||
lines to a device similar to /dev/null. Data written to it disappears
|
|
||||||
and there is never any data to be read.
|
|
||||||
|
|
||||||
config PORT_CHAN
|
|
||||||
bool "port channel support"
|
|
||||||
help
|
|
||||||
This option enables support for attaching UML consoles and serial
|
|
||||||
lines to host portals. They may be accessed with 'telnet <host>
|
|
||||||
<port number>'. Any number of consoles and serial lines may be
|
|
||||||
attached to a single portal, although what UML device you get when
|
|
||||||
you telnet to that portal will be unpredictable.
|
|
||||||
It is safe to say 'Y' here.
|
|
||||||
|
|
||||||
config PTY_CHAN
|
|
||||||
bool "pty channel support"
|
|
||||||
help
|
|
||||||
This option enables support for attaching UML consoles and serial
|
|
||||||
lines to host pseudo-terminals. Access to both traditional
|
|
||||||
pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled
|
|
||||||
with this option. The assignment of UML devices to host devices
|
|
||||||
will be announced in the kernel message log.
|
|
||||||
It is safe to say 'Y' here.
|
|
||||||
|
|
||||||
config TTY_CHAN
|
|
||||||
bool "tty channel support"
|
|
||||||
help
|
|
||||||
This option enables support for attaching UML consoles and serial
|
|
||||||
lines to host terminals. Access to both virtual consoles
|
|
||||||
(/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and
|
|
||||||
/dev/pts/*) are controlled by this option.
|
|
||||||
It is safe to say 'Y' here.
|
|
||||||
|
|
||||||
config XTERM_CHAN
|
|
||||||
bool "xterm channel support"
|
|
||||||
help
|
|
||||||
This option enables support for attaching UML consoles and serial
|
|
||||||
lines to xterms. Each UML device so assigned will be brought up in
|
|
||||||
its own xterm.
|
|
||||||
It is safe to say 'Y' here.
|
|
||||||
|
|
||||||
config NOCONFIG_CHAN
|
|
||||||
bool
|
|
||||||
default !(XTERM_CHAN && TTY_CHAN && PTY_CHAN && PORT_CHAN && NULL_CHAN)
|
|
||||||
|
|
||||||
config CON_ZERO_CHAN
|
|
||||||
string "Default main console channel initialization"
|
|
||||||
default "fd:0,fd:1"
|
|
||||||
help
|
|
||||||
This is the string describing the channel to which the main console
|
|
||||||
will be attached by default. This value can be overridden from the
|
|
||||||
command line. The default value is "fd:0,fd:1", which attaches the
|
|
||||||
main console to stdin and stdout.
|
|
||||||
It is safe to leave this unchanged.
|
|
||||||
|
|
||||||
config CON_CHAN
|
|
||||||
string "Default console channel initialization"
|
|
||||||
default "xterm"
|
|
||||||
help
|
|
||||||
This is the string describing the channel to which all consoles
|
|
||||||
except the main console will be attached by default. This value can
|
|
||||||
be overridden from the command line. The default value is "xterm",
|
|
||||||
which brings them up in xterms.
|
|
||||||
It is safe to leave this unchanged, although you may wish to change
|
|
||||||
this if you expect the UML that you build to be run in environments
|
|
||||||
which don't have X or xterm available.
|
|
||||||
|
|
||||||
config SSL_CHAN
|
|
||||||
string "Default serial line channel initialization"
|
|
||||||
default "pty"
|
|
||||||
help
|
|
||||||
This is the string describing the channel to which the serial lines
|
|
||||||
will be attached by default. This value can be overridden from the
|
|
||||||
command line. The default value is "pty", which attaches them to
|
|
||||||
traditional pseudo-terminals.
|
|
||||||
It is safe to leave this unchanged, although you may wish to change
|
|
||||||
this if you expect the UML that you build to be run in environments
|
|
||||||
which don't have a set of /dev/pty* devices.
|
|
||||||
|
|
||||||
config UML_SOUND
|
|
||||||
tristate "Sound support"
|
|
||||||
help
|
|
||||||
This option enables UML sound support. If enabled, it will pull in
|
|
||||||
soundcore and the UML hostaudio relay, which acts as a intermediary
|
|
||||||
between the host's dsp and mixer devices and the UML sound system.
|
|
||||||
It is safe to say 'Y' here.
|
|
||||||
|
|
||||||
config SOUND
|
|
||||||
tristate
|
|
||||||
default UML_SOUND
|
|
||||||
|
|
||||||
config SOUND_OSS_CORE
|
|
||||||
bool
|
|
||||||
default UML_SOUND
|
|
||||||
|
|
||||||
config HOSTAUDIO
|
|
||||||
tristate
|
|
||||||
default UML_SOUND
|
|
||||||
|
|
||||||
endmenu
|
|
@ -1,60 +0,0 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
|
||||||
config UML
|
|
||||||
bool
|
|
||||||
default y
|
|
||||||
select ARCH_HAS_KCOV
|
|
||||||
select HAVE_ARCH_AUDITSYSCALL
|
|
||||||
select HAVE_ARCH_SECCOMP_FILTER
|
|
||||||
select HAVE_UID16
|
|
||||||
select HAVE_FUTEX_CMPXCHG if FUTEX
|
|
||||||
select HAVE_DEBUG_KMEMLEAK
|
|
||||||
select GENERIC_IRQ_SHOW
|
|
||||||
select GENERIC_CPU_DEVICES
|
|
||||||
select GENERIC_CLOCKEVENTS
|
|
||||||
select HAVE_GCC_PLUGINS
|
|
||||||
select TTY # Needed for line.c
|
|
||||||
|
|
||||||
config MMU
|
|
||||||
bool
|
|
||||||
default y
|
|
||||||
|
|
||||||
config NO_IOMEM
|
|
||||||
def_bool y
|
|
||||||
|
|
||||||
config ISA
|
|
||||||
bool
|
|
||||||
|
|
||||||
config SBUS
|
|
||||||
bool
|
|
||||||
|
|
||||||
config PCI
|
|
||||||
bool
|
|
||||||
|
|
||||||
config PCMCIA
|
|
||||||
bool
|
|
||||||
|
|
||||||
config TRACE_IRQFLAGS_SUPPORT
|
|
||||||
bool
|
|
||||||
default y
|
|
||||||
|
|
||||||
config LOCKDEP_SUPPORT
|
|
||||||
bool
|
|
||||||
default y
|
|
||||||
|
|
||||||
config STACKTRACE_SUPPORT
|
|
||||||
bool
|
|
||||||
default y
|
|
||||||
select STACKTRACE
|
|
||||||
|
|
||||||
config GENERIC_CALIBRATE_DELAY
|
|
||||||
bool
|
|
||||||
default y
|
|
||||||
|
|
||||||
config HZ
|
|
||||||
int
|
|
||||||
default 100
|
|
||||||
|
|
||||||
config NR_CPUS
|
|
||||||
int
|
|
||||||
range 1 1
|
|
||||||
default 1
|
|
@ -1,7 +1,4 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config GPROF
|
config GPROF
|
||||||
bool "Enable gprof support"
|
bool "Enable gprof support"
|
||||||
@ -37,5 +34,3 @@ config EARLY_PRINTK
|
|||||||
|
|
||||||
This is useful for kernel debugging when your machine crashes very
|
This is useful for kernel debugging when your machine crashes very
|
||||||
early before the console code is initialized.
|
early before the console code is initialized.
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
source "arch/um/Kconfig.char"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "arch/um/Kconfig.net"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
|
||||||
source "arch/um/Kconfig.debug"
|
|
@ -113,8 +113,6 @@ define archhelp
|
|||||||
echo ' find in the kernel root.'
|
echo ' find in the kernel root.'
|
||||||
endef
|
endef
|
||||||
|
|
||||||
KBUILD_KCONFIG := $(HOST_DIR)/um/Kconfig
|
|
||||||
|
|
||||||
archheaders:
|
archheaders:
|
||||||
$(Q)$(MAKE) -f $(srctree)/Makefile ARCH=$(HEADER_ARCH) asm-generic archheaders
|
$(Q)$(MAKE) -f $(srctree)/Makefile ARCH=$(HEADER_ARCH) asm-generic archheaders
|
||||||
|
|
||||||
@ -169,4 +167,4 @@ endef
|
|||||||
include/generated/user_constants.h: $(HOST_DIR)/um/user-offsets.s
|
include/generated/user_constants.h: $(HOST_DIR)/um/user-offsets.s
|
||||||
$(call filechk,gen-asm-offsets)
|
$(call filechk,gen-asm-offsets)
|
||||||
|
|
||||||
export SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS DEV_NULL_PATH
|
export HEADER_ARCH SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS DEV_NULL_PATH
|
||||||
|
@ -1,5 +1,129 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
|
menu "UML Character Devices"
|
||||||
|
|
||||||
|
config STDERR_CONSOLE
|
||||||
|
bool "stderr console"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
console driver which dumps all printk messages to stderr.
|
||||||
|
|
||||||
|
config SSL
|
||||||
|
bool "Virtual serial line"
|
||||||
|
help
|
||||||
|
The User-Mode Linux environment allows you to create virtual serial
|
||||||
|
lines on the UML that are usually made to show up on the host as
|
||||||
|
ttys or ptys.
|
||||||
|
|
||||||
|
See <http://user-mode-linux.sourceforge.net/old/input.html> for more
|
||||||
|
information and command line examples of how to use this facility.
|
||||||
|
|
||||||
|
Unless you have a specific reason for disabling this, say Y.
|
||||||
|
|
||||||
|
config NULL_CHAN
|
||||||
|
bool "null channel support"
|
||||||
|
help
|
||||||
|
This option enables support for attaching UML consoles and serial
|
||||||
|
lines to a device similar to /dev/null. Data written to it disappears
|
||||||
|
and there is never any data to be read.
|
||||||
|
|
||||||
|
config PORT_CHAN
|
||||||
|
bool "port channel support"
|
||||||
|
help
|
||||||
|
This option enables support for attaching UML consoles and serial
|
||||||
|
lines to host portals. They may be accessed with 'telnet <host>
|
||||||
|
<port number>'. Any number of consoles and serial lines may be
|
||||||
|
attached to a single portal, although what UML device you get when
|
||||||
|
you telnet to that portal will be unpredictable.
|
||||||
|
It is safe to say 'Y' here.
|
||||||
|
|
||||||
|
config PTY_CHAN
|
||||||
|
bool "pty channel support"
|
||||||
|
help
|
||||||
|
This option enables support for attaching UML consoles and serial
|
||||||
|
lines to host pseudo-terminals. Access to both traditional
|
||||||
|
pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled
|
||||||
|
with this option. The assignment of UML devices to host devices
|
||||||
|
will be announced in the kernel message log.
|
||||||
|
It is safe to say 'Y' here.
|
||||||
|
|
||||||
|
config TTY_CHAN
|
||||||
|
bool "tty channel support"
|
||||||
|
help
|
||||||
|
This option enables support for attaching UML consoles and serial
|
||||||
|
lines to host terminals. Access to both virtual consoles
|
||||||
|
(/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and
|
||||||
|
/dev/pts/*) are controlled by this option.
|
||||||
|
It is safe to say 'Y' here.
|
||||||
|
|
||||||
|
config XTERM_CHAN
|
||||||
|
bool "xterm channel support"
|
||||||
|
help
|
||||||
|
This option enables support for attaching UML consoles and serial
|
||||||
|
lines to xterms. Each UML device so assigned will be brought up in
|
||||||
|
its own xterm.
|
||||||
|
It is safe to say 'Y' here.
|
||||||
|
|
||||||
|
config NOCONFIG_CHAN
|
||||||
|
bool
|
||||||
|
default !(XTERM_CHAN && TTY_CHAN && PTY_CHAN && PORT_CHAN && NULL_CHAN)
|
||||||
|
|
||||||
|
config CON_ZERO_CHAN
|
||||||
|
string "Default main console channel initialization"
|
||||||
|
default "fd:0,fd:1"
|
||||||
|
help
|
||||||
|
This is the string describing the channel to which the main console
|
||||||
|
will be attached by default. This value can be overridden from the
|
||||||
|
command line. The default value is "fd:0,fd:1", which attaches the
|
||||||
|
main console to stdin and stdout.
|
||||||
|
It is safe to leave this unchanged.
|
||||||
|
|
||||||
|
config CON_CHAN
|
||||||
|
string "Default console channel initialization"
|
||||||
|
default "xterm"
|
||||||
|
help
|
||||||
|
This is the string describing the channel to which all consoles
|
||||||
|
except the main console will be attached by default. This value can
|
||||||
|
be overridden from the command line. The default value is "xterm",
|
||||||
|
which brings them up in xterms.
|
||||||
|
It is safe to leave this unchanged, although you may wish to change
|
||||||
|
this if you expect the UML that you build to be run in environments
|
||||||
|
which don't have X or xterm available.
|
||||||
|
|
||||||
|
config SSL_CHAN
|
||||||
|
string "Default serial line channel initialization"
|
||||||
|
default "pty"
|
||||||
|
help
|
||||||
|
This is the string describing the channel to which the serial lines
|
||||||
|
will be attached by default. This value can be overridden from the
|
||||||
|
command line. The default value is "pty", which attaches them to
|
||||||
|
traditional pseudo-terminals.
|
||||||
|
It is safe to leave this unchanged, although you may wish to change
|
||||||
|
this if you expect the UML that you build to be run in environments
|
||||||
|
which don't have a set of /dev/pty* devices.
|
||||||
|
|
||||||
|
config UML_SOUND
|
||||||
|
tristate "Sound support"
|
||||||
|
help
|
||||||
|
This option enables UML sound support. If enabled, it will pull in
|
||||||
|
soundcore and the UML hostaudio relay, which acts as a intermediary
|
||||||
|
between the host's dsp and mixer devices and the UML sound system.
|
||||||
|
It is safe to say 'Y' here.
|
||||||
|
|
||||||
|
config SOUND
|
||||||
|
tristate
|
||||||
|
default UML_SOUND
|
||||||
|
|
||||||
|
config SOUND_OSS_CORE
|
||||||
|
bool
|
||||||
|
default UML_SOUND
|
||||||
|
|
||||||
|
config HOSTAUDIO
|
||||||
|
tristate
|
||||||
|
default UML_SOUND
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
menu "UML Network Devices"
|
menu "UML Network Devices"
|
||||||
depends on NET
|
depends on NET
|
||||||
|
|
||||||
@ -211,4 +335,3 @@ config UML_NET_SLIRP
|
|||||||
Startup example: "eth0=slirp,FE:FD:01:02:03:04,/usr/local/bin/slirp"
|
Startup example: "eth0=slirp,FE:FD:01:02:03:04,/usr/local/bin/slirp"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
@ -63,10 +63,6 @@ config ARCH_MAY_HAVE_PC_FDC
|
|||||||
config ZONE_DMA
|
config ZONE_DMA
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
menu "System Type"
|
menu "System Type"
|
||||||
|
|
||||||
config MMU
|
config MMU
|
||||||
@ -139,12 +135,8 @@ endmenu
|
|||||||
|
|
||||||
menu "Kernel Features"
|
menu "Kernel Features"
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
source "kernel/Kconfig.hz"
|
source "kernel/Kconfig.hz"
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config LEDS
|
config LEDS
|
||||||
def_bool y
|
def_bool y
|
||||||
depends on GPIOLIB
|
depends on GPIOLIB
|
||||||
@ -181,12 +173,6 @@ config CMDLINE_FORCE
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Userspace binary formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
menu "Power management options"
|
menu "Power management options"
|
||||||
|
|
||||||
source "kernel/power/Kconfig"
|
source "kernel/power/Kconfig"
|
||||||
@ -201,8 +187,6 @@ config ARCH_HIBERNATION_POSSIBLE
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
if ARCH_PUV3
|
if ARCH_PUV3
|
||||||
|
|
||||||
config PUV3_GPIO
|
config PUV3_GPIO
|
||||||
@ -236,15 +220,3 @@ endmenu
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/unicore32/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config EARLY_PRINTK
|
config EARLY_PRINTK
|
||||||
def_bool DEBUG_OCD
|
def_bool DEBUG_OCD
|
||||||
@ -30,5 +27,3 @@ config DEBUG_OCD
|
|||||||
help
|
help
|
||||||
Say Y here if you want the debug print routines to direct their
|
Say Y here if you want the debug print routines to direct their
|
||||||
output to the UniCore On-Chip-Debugger channel using CP #1.
|
output to the UniCore On-Chip-Debugger channel using CP #1.
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -347,8 +347,6 @@ config PGTABLE_LEVELS
|
|||||||
default 3 if X86_PAE
|
default 3 if X86_PAE
|
||||||
default 2
|
default 2
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
|
|
||||||
config CC_HAS_SANE_STACKPROTECTOR
|
config CC_HAS_SANE_STACKPROTECTOR
|
||||||
bool
|
bool
|
||||||
default $(success,$(srctree)/scripts/gcc-x86_64-has-stack-protector.sh $(CC)) if 64BIT
|
default $(success,$(srctree)/scripts/gcc-x86_64-has-stack-protector.sh $(CC)) if 64BIT
|
||||||
@ -357,8 +355,6 @@ config CC_HAS_SANE_STACKPROTECTOR
|
|||||||
We have to make sure stack protector is unconditionally disabled if
|
We have to make sure stack protector is unconditionally disabled if
|
||||||
the compiler produces broken code.
|
the compiler produces broken code.
|
||||||
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
menu "Processor type and features"
|
menu "Processor type and features"
|
||||||
|
|
||||||
config ZONE_DMA
|
config ZONE_DMA
|
||||||
@ -1045,8 +1041,6 @@ config SCHED_MC_PRIO
|
|||||||
|
|
||||||
If unsure say Y here.
|
If unsure say Y here.
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
config UP_LATE_INIT
|
config UP_LATE_INIT
|
||||||
def_bool y
|
def_bool y
|
||||||
depends on !SMP && X86_LOCAL_APIC
|
depends on !SMP && X86_LOCAL_APIC
|
||||||
@ -1640,8 +1634,6 @@ config ILLEGAL_POINTER_VALUE
|
|||||||
default 0 if X86_32
|
default 0 if X86_32
|
||||||
default 0xdead000000000000 if X86_64
|
default 0xdead000000000000 if X86_64
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config X86_PMEM_LEGACY_DEVICE
|
config X86_PMEM_LEGACY_DEVICE
|
||||||
bool
|
bool
|
||||||
|
|
||||||
@ -2867,9 +2859,7 @@ config X86_SYSFB
|
|||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
||||||
menu "Executable file formats / Emulations"
|
menu "Binary Emulations"
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
config IA32_EMULATION
|
config IA32_EMULATION
|
||||||
bool "IA32 Emulation"
|
bool "IA32 Emulation"
|
||||||
@ -2939,20 +2929,6 @@ config X86_DMA_REMAP
|
|||||||
config HAVE_GENERIC_GUP
|
config HAVE_GENERIC_GUP
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/firmware/Kconfig"
|
source "drivers/firmware/Kconfig"
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/x86/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "arch/x86/kvm/Kconfig"
|
source "arch/x86/kvm/Kconfig"
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
config TRACE_IRQFLAGS_SUPPORT
|
config TRACE_IRQFLAGS_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config EARLY_PRINTK_USB
|
config EARLY_PRINTK_USB
|
||||||
bool
|
bool
|
||||||
|
|
||||||
@ -410,5 +407,3 @@ endchoice
|
|||||||
config FRAME_POINTER
|
config FRAME_POINTER
|
||||||
depends on !UNWINDER_ORC && !UNWINDER_GUESS
|
depends on !UNWINDER_ORC && !UNWINDER_GUESS
|
||||||
bool
|
bool
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -1,13 +1,4 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
mainmenu "User Mode Linux/$(SUBARCH) $(KERNELVERSION) Kernel Configuration"
|
|
||||||
|
|
||||||
comment "Compiler: $(CC_VERSION_TEXT)"
|
|
||||||
|
|
||||||
source "scripts/Kconfig.include"
|
|
||||||
|
|
||||||
source "arch/um/Kconfig.common"
|
|
||||||
|
|
||||||
menu "UML-specific options"
|
|
||||||
|
|
||||||
menu "Host processor type and features"
|
menu "Host processor type and features"
|
||||||
|
|
||||||
@ -66,9 +57,3 @@ config ARCH_REUSE_HOST_VSYSCALL_AREA
|
|||||||
|
|
||||||
config GENERIC_HWEIGHT
|
config GENERIC_HWEIGHT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
source "arch/um/Kconfig.um"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
source "arch/um/Kconfig.rest"
|
|
||||||
|
@ -60,9 +60,6 @@ config HZ
|
|||||||
int
|
int
|
||||||
default 100
|
default 100
|
||||||
|
|
||||||
source "init/Kconfig"
|
|
||||||
source "kernel/Kconfig.freezer"
|
|
||||||
|
|
||||||
config LOCKDEP_SUPPORT
|
config LOCKDEP_SUPPORT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
@ -176,8 +173,6 @@ config XTENSA_UNALIGNED_USER
|
|||||||
|
|
||||||
Say Y here to enable unaligned memory access in user space.
|
Say Y here to enable unaligned memory access in user space.
|
||||||
|
|
||||||
source "kernel/Kconfig.preempt"
|
|
||||||
|
|
||||||
config HAVE_SMP
|
config HAVE_SMP
|
||||||
bool "System Supports SMP (MX)"
|
bool "System Supports SMP (MX)"
|
||||||
depends on XTENSA_VARIANT_CUSTOM
|
depends on XTENSA_VARIANT_CUSTOM
|
||||||
@ -491,8 +486,6 @@ config SIMDISK1_FILENAME
|
|||||||
Another simulated disk in a host file for a buildroot-independent
|
Another simulated disk in a host file for a buildroot-independent
|
||||||
storage.
|
storage.
|
||||||
|
|
||||||
source "mm/Kconfig"
|
|
||||||
|
|
||||||
config FORCE_MAX_ZONEORDER
|
config FORCE_MAX_ZONEORDER
|
||||||
int "Maximum zone order"
|
int "Maximum zone order"
|
||||||
default "11"
|
default "11"
|
||||||
@ -567,30 +560,8 @@ config XTFPGA_LCD_8BIT_ACCESS
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Executable file formats"
|
|
||||||
|
|
||||||
source "fs/Kconfig.binfmt"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
menu "Power management options"
|
menu "Power management options"
|
||||||
|
|
||||||
source "kernel/power/Kconfig"
|
source "kernel/power/Kconfig"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source "net/Kconfig"
|
|
||||||
|
|
||||||
source "drivers/Kconfig"
|
|
||||||
|
|
||||||
source "fs/Kconfig"
|
|
||||||
|
|
||||||
source "arch/xtensa/Kconfig.debug"
|
|
||||||
|
|
||||||
source "security/Kconfig"
|
|
||||||
|
|
||||||
source "crypto/Kconfig"
|
|
||||||
|
|
||||||
source "lib/Kconfig"
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menu "Kernel hacking"
|
|
||||||
|
|
||||||
source "lib/Kconfig.debug"
|
|
||||||
|
|
||||||
config DEBUG_TLB_SANITY
|
config DEBUG_TLB_SANITY
|
||||||
bool "Debug TLB sanity"
|
bool "Debug TLB sanity"
|
||||||
@ -34,5 +31,3 @@ config S32C1I_SELFTEST
|
|||||||
It is easy to make wrong hardware configuration, this test should catch it early.
|
It is easy to make wrong hardware configuration, this test should catch it early.
|
||||||
|
|
||||||
Say 'N' on stable hardware.
|
Say 'N' on stable hardware.
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
|
||||||
|
menu "Executable file formats"
|
||||||
|
|
||||||
config BINFMT_ELF
|
config BINFMT_ELF
|
||||||
bool "Kernel support for ELF binaries"
|
bool "Kernel support for ELF binaries"
|
||||||
depends on MMU
|
depends on MMU
|
||||||
@ -187,3 +190,5 @@ config COREDUMP
|
|||||||
This option enables support for performing core dumps. You almost
|
This option enables support for performing core dumps. You almost
|
||||||
certainly want to say Y here. Not necessary on systems that never
|
certainly want to say Y here. Not necessary on systems that never
|
||||||
need debugging or only ever run flawless code.
|
need debugging or only ever run flawless code.
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
14
init/Kconfig
14
init/Kconfig
@ -240,9 +240,16 @@ config DEFAULT_HOSTNAME
|
|||||||
but you may wish to use a different default here to make a minimal
|
but you may wish to use a different default here to make a minimal
|
||||||
system more usable with less configuration.
|
system more usable with less configuration.
|
||||||
|
|
||||||
|
#
|
||||||
|
# For some reason microblaze and nios2 hard code SWAP=n. Hopefully we can
|
||||||
|
# add proper SWAP support to them, in which case this can be remove.
|
||||||
|
#
|
||||||
|
config ARCH_NO_SWAP
|
||||||
|
bool
|
||||||
|
|
||||||
config SWAP
|
config SWAP
|
||||||
bool "Support for paging of anonymous memory (swap)"
|
bool "Support for paging of anonymous memory (swap)"
|
||||||
depends on MMU && BLOCK
|
depends on MMU && BLOCK && !ARCH_NO_SWAP
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This option allows you to choose whether you want to have support
|
This option allows you to choose whether you want to have support
|
||||||
@ -341,6 +348,7 @@ config AUDIT_TREE
|
|||||||
|
|
||||||
source "kernel/irq/Kconfig"
|
source "kernel/irq/Kconfig"
|
||||||
source "kernel/time/Kconfig"
|
source "kernel/time/Kconfig"
|
||||||
|
source "kernel/Kconfig.preempt"
|
||||||
|
|
||||||
menu "CPU/Task time and stats accounting"
|
menu "CPU/Task time and stats accounting"
|
||||||
|
|
||||||
@ -1736,10 +1744,10 @@ config PROFILING
|
|||||||
config TRACEPOINTS
|
config TRACEPOINTS
|
||||||
bool
|
bool
|
||||||
|
|
||||||
source "arch/Kconfig"
|
|
||||||
|
|
||||||
endmenu # General setup
|
endmenu # General setup
|
||||||
|
|
||||||
|
source "arch/Kconfig"
|
||||||
|
|
||||||
config RT_MUTEXES
|
config RT_MUTEXES
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ config PREEMPT_NONE
|
|||||||
|
|
||||||
config PREEMPT_VOLUNTARY
|
config PREEMPT_VOLUNTARY
|
||||||
bool "Voluntary Kernel Preemption (Desktop)"
|
bool "Voluntary Kernel Preemption (Desktop)"
|
||||||
|
depends on !ARCH_NO_PREEMPT
|
||||||
help
|
help
|
||||||
This option reduces the latency of the kernel by adding more
|
This option reduces the latency of the kernel by adding more
|
||||||
"explicit preemption points" to the kernel code. These new
|
"explicit preemption points" to the kernel code. These new
|
||||||
@ -35,6 +36,7 @@ config PREEMPT_VOLUNTARY
|
|||||||
|
|
||||||
config PREEMPT
|
config PREEMPT
|
||||||
bool "Preemptible Kernel (Low-Latency Desktop)"
|
bool "Preemptible Kernel (Low-Latency Desktop)"
|
||||||
|
depends on !ARCH_NO_PREEMPT
|
||||||
select PREEMPT_COUNT
|
select PREEMPT_COUNT
|
||||||
select UNINLINE_SPIN_UNLOCK if !ARCH_INLINE_SPIN_UNLOCK
|
select UNINLINE_SPIN_UNLOCK if !ARCH_INLINE_SPIN_UNLOCK
|
||||||
help
|
help
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
menu "Kernel hacking"
|
||||||
|
|
||||||
menu "printk and dmesg options"
|
menu "printk and dmesg options"
|
||||||
|
|
||||||
config PRINTK_TIME
|
config PRINTK_TIME
|
||||||
@ -1204,6 +1206,7 @@ config DEBUG_ATOMIC_SLEEP
|
|||||||
bool "Sleep inside atomic section checking"
|
bool "Sleep inside atomic section checking"
|
||||||
select PREEMPT_COUNT
|
select PREEMPT_COUNT
|
||||||
depends on DEBUG_KERNEL
|
depends on DEBUG_KERNEL
|
||||||
|
depends on !ARCH_NO_PREEMPT
|
||||||
help
|
help
|
||||||
If you say Y here, various routines which may sleep will become very
|
If you say Y here, various routines which may sleep will become very
|
||||||
noisy if they are called inside atomic sections: when a spinlock is
|
noisy if they are called inside atomic sections: when a spinlock is
|
||||||
@ -2045,3 +2048,7 @@ config IO_STRICT_DEVMEM
|
|||||||
if the driver using a given range cannot be disabled.
|
if the driver using a given range cannot be disabled.
|
||||||
|
|
||||||
If in doubt, say Y.
|
If in doubt, say Y.
|
||||||
|
|
||||||
|
source "arch/$(SRCARCH)/Kconfig.debug"
|
||||||
|
|
||||||
|
endmenu # Kernel hacking
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
|
||||||
|
menu "Memory Management options"
|
||||||
|
|
||||||
config SELECT_MEMORY_MODEL
|
config SELECT_MEMORY_MODEL
|
||||||
def_bool y
|
def_bool y
|
||||||
depends on ARCH_SELECT_MEMORY_MODEL
|
depends on ARCH_SELECT_MEMORY_MODEL
|
||||||
@ -762,3 +765,5 @@ config GUP_BENCHMARK
|
|||||||
|
|
||||||
config ARCH_HAS_PTE_SPECIAL
|
config ARCH_HAS_PTE_SPECIAL
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user