Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

config CONFIG_PARISC
	def_bool y
	select CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT
	select CONFIG_HAVE_IDE
	select CONFIG_HAVE_OPROFILE
	select CONFIG_HAVE_FUNCTION_TRACER
	select CONFIG_HAVE_FUNCTION_GRAPH_TRACER
	select CONFIG_HAVE_SYSCALL_TRACEPOINTS
	select CONFIG_ARCH_WANT_FRAME_POINTERS
	select CONFIG_ARCH_HAS_ELF_RANDOMIZE
	select CONFIG_RTC_CLASS
	select CONFIG_RTC_DRV_GENERIC
	select CONFIG_INIT_ALL_POSSIBLE
	select CONFIG_HAVE_MEMBLOCK
	select CONFIG_NO_BOOTMEM
	select CONFIG_BUG
	select CONFIG_BUILDTIME_EXTABLE_SORT
	select CONFIG_HAVE_PERF_EVENTS
	select CONFIG_GENERIC_ATOMIC64 if !CONFIG_64BIT
	select CONFIG_GENERIC_IRQ_PROBE
	select CONFIG_GENERIC_PCI_IOMAP
	select CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG
	select CONFIG_GENERIC_SMP_IDLE_THREAD
	select CONFIG_GENERIC_STRNCPY_FROM_USER
	select CONFIG_SYSCTL_ARCH_UNALIGN_ALLOW
	select CONFIG_SYSCTL_EXCEPTION_TRACE
	select CONFIG_HAVE_MOD_ARCH_SPECIFIC
	select CONFIG_HAVE_ARCH_HARDENED_USERCOPY
	select CONFIG_VIRT_TO_BUS
	select CONFIG_MODULES_USE_ELF_RELA
	select CONFIG_CLONE_BACKWARDS
	select CONFIG_TTY # Needed for pdc_cons.c
	select CONFIG_HAVE_DEBUG_STACKOVERFLOW
	select CONFIG_HAVE_ARCH_AUDITSYSCALL
	select CONFIG_HAVE_ARCH_HASH
	select CONFIG_HAVE_ARCH_SECCOMP_FILTER
	select CONFIG_HAVE_ARCH_TRACEHOOK
	select CONFIG_GENERIC_SCHED_CLOCK
	select CONFIG_HAVE_UNSTABLE_SCHED_CLOCK if CONFIG_SMP
	select CONFIG_GENERIC_CLOCKEVENTS
	select CONFIG_ARCH_NO_COHERENT_DMA_MMAP
	select CONFIG_CPU_NO_EFFICIENT_FFS

	help
	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
	  in many of their workstations & servers (HP9000 700 and 800 series,
	  and later HP3000 series).  The PA-RISC Linux project home page is
	  at <http://www.parisc-linux.org/>.

config CONFIG_MMU
	def_bool y

config CONFIG_STACK_GROWSUP
	def_bool y

config CONFIG_GENERIC_LOCKBREAK
	bool
	default y
	depends on CONFIG_SMP && CONFIG_PREEMPT

config CONFIG_RWSEM_GENERIC_SPINLOCK
	def_bool y

config CONFIG_RWSEM_XCHGADD_ALGORITHM
	bool

config CONFIG_ARCH_HAS_ILOG2_U32
	bool
	default n

config CONFIG_ARCH_HAS_ILOG2_U64
	bool
	default n

config CONFIG_GENERIC_BUG
	bool
	default y
	depends on CONFIG_BUG

config CONFIG_GENERIC_HWEIGHT
	bool
	default y

config CONFIG_GENERIC_CALIBRATE_DELAY
	bool
	default y

config CONFIG_TIME_LOW_RES
	bool
	depends on CONFIG_SMP
	default y

# unless you want to implement CONFIG_ACPI on PA-RISC ... ;-)
config CONFIG_PM
	bool

config CONFIG_STACKTRACE_SUPPORT
	def_bool y

config CONFIG_NEED_DMA_MAP_STATE
	def_bool y

config CONFIG_NEED_SG_DMA_LENGTH
	def_bool y

config CONFIG_ISA_DMA_API
	bool

config CONFIG_ARCH_MAY_HAVE_PC_FDC
	bool
	depends on CONFIG_BROKEN
	default y

config CONFIG_PGTABLE_LEVELS
	int
	default 3 if CONFIG_64BIT && CONFIG_PARISC_PAGE_SIZE_4KB
	default 2

config CONFIG_SYS_SUPPORTS_HUGETLBFS
	def_bool y if CONFIG_PA20

source "init/Kconfig"

source "kernel/Kconfig.freezer"


menu "Processor type and features"

choice
	prompt "Processor type"
	default CONFIG_PA7000

config CONFIG_PA7000
	bool "PA7000/PA7100"
	---help---
	  This is the processor type of your CPU.  This information is
	  used for optimizing purposes.  In order to compile a kernel
	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
	  you can specify "PA7000" here.

	  Specifying "PA8000" here will allow you to select a 64-bit kernel
	  which is required on some machines.

config CONFIG_PA7100LC
	bool "PA7100LC"
	help
	  Select this option for the PCX-L processor, as used in the
	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
	  D200, D210, D300, D310 and CONFIG_E-class

config CONFIG_PA7200
	bool "PA7200"
	help
	  Select this option for the PCX-T' processor, as used in the
	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
	  K100, K200, K210, K220, K400, K410 and K420

config CONFIG_PA7300LC
	bool "PA7300LC"
	help
	  Select this option for the PCX-L2 processor, as used in the
	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
	  D220, D230, D320 and D330.

config CONFIG_PA8X00
	bool "PA8000 and up"
	help
	  Select this option for PCX-U to PCX-W2 processors.

endchoice

# Define implied options from the CPU selection here

config CONFIG_PA20
	def_bool y
	depends on CONFIG_PA8X00

config CONFIG_PA11
	def_bool y
	depends on CONFIG_PA7000 || CONFIG_PA7100LC || CONFIG_PA7200 || CONFIG_PA7300LC

config CONFIG_PREFETCH
	def_bool y
	depends on CONFIG_PA8X00 || CONFIG_PA7200

config CONFIG_MLONGCALLS
	bool "Enable the -mlong-calls compiler option for big kernels"
	def_bool y if (!CONFIG_MODULES)
	depends on CONFIG_PA8X00
	help
	  If you configure the kernel to include many drivers built-in instead
	  as modules, the kernel executable may become too big, so that the
	  linker will not be able to resolve some long branches and fails to link
	  your vmlinux kernel. In that case enabling this option will help you
	  to overcome this limit by using the -mlong-calls compiler option.

	  Usually you want to say N here, unless you e.g. want to build
	  a kernel which includes all necessary drivers built-in and which can
	  be used for TFTP booting without the need to have an initrd ramdisk.

	  Enabling this option will probably slow down your kernel.

config CONFIG_64BIT
	bool "64-bit kernel"
	depends on CONFIG_PA8X00
	help
	  Enable this if you want to support 64bit kernel on PA-RISC platform.

	  At the moment, only people willing to use more than 2GB of RAM,
	  or having a 64bit-only capable PA-RISC machine should say Y here.

	  Since there is no 64bit userland on PA-RISC, there is no point to
	  enable this option otherwise. The 64bit kernel is significantly bigger
	  and slower than the 32bit one.

choice
	prompt "Kernel page size"
	default CONFIG_PARISC_PAGE_SIZE_4KB

config CONFIG_PARISC_PAGE_SIZE_4KB
	bool "4KB"
	help
	  This lets you select the page size of the kernel.  For best
	  performance, a page size of 16KB is recommended.  For best
	  compatibility with 32bit applications, a page size of 4KB should be
	  selected (the vast majority of 32bit binaries work perfectly fine
	  with a larger page size).

	  4KB                For best 32bit compatibility
	  16KB               For best performance
	  64KB               For best performance, might give more overhead.

	  If you don't know what to do, choose 4KB.

config CONFIG_PARISC_PAGE_SIZE_16KB
	bool "16KB"
	depends on CONFIG_PA8X00

config CONFIG_PARISC_PAGE_SIZE_64KB
	bool "64KB"
	depends on CONFIG_PA8X00

endchoice

config CONFIG_SMP
	bool "Symmetric multi-processing support"
	---help---
	  This enables support for systems with more than one CPU. If you have
	  a system with only one CPU, say N. If you have a system with more
	  than one CPU, say Y.

	  If you say N here, the kernel will run on uni- and multiprocessor
	  machines, but will use only one CPU of a multiprocessor machine. If
	  you say Y here, the kernel will run on many, but not all,
	  uniprocessor machines. On a uniprocessor machine, the kernel
	  will run faster if you say N here.

	  See also <file:Documentation/nmi_watchdog.txt> and the CONFIG_SMP-HOWTO
	  available at <http://www.tldp.org/docs.html#howto>.

	  If you don't know what to do here, say N.

config CONFIG_IRQSTACKS
	bool "Use separate kernel stacks when processing interrupts"
	default y
	help
	  If you say Y here the kernel will use separate kernel stacks
	  for handling hard and soft interrupts.  This can help avoid
	  overflowing the process kernel stacks.

config CONFIG_HOTPLUG_CPU
	bool
	default y if CONFIG_SMP

config CONFIG_ARCH_SELECT_MEMORY_MODEL
	def_bool y
	depends on CONFIG_64BIT

config CONFIG_ARCH_DISCONTIGMEM_ENABLE
	def_bool y
	depends on CONFIG_64BIT

config CONFIG_ARCH_FLATMEM_ENABLE
	def_bool y

config CONFIG_ARCH_DISCONTIGMEM_DEFAULT
	def_bool y
	depends on CONFIG_ARCH_DISCONTIGMEM_ENABLE

config CONFIG_NODES_SHIFT
	int
	default "3"
	depends on CONFIG_NEED_MULTIPLE_NODES

source "kernel/Kconfig.preempt"
source "kernel/Kconfig.hz"
source "mm/Kconfig"

config CONFIG_COMPAT
	def_bool y
	depends on CONFIG_64BIT

config CONFIG_SYSVIPC_COMPAT
	def_bool y
	depends on CONFIG_COMPAT && CONFIG_SYSVIPC

config CONFIG_AUDIT_ARCH
	def_bool y

config CONFIG_NR_CPUS
	int "Maximum number of CPUs (2-32)"
	range 2 32
	depends on CONFIG_SMP
	default "32"

endmenu


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 CONFIG_SECCOMP
	def_bool y
	prompt "Enable seccomp to safely compute untrusted bytecode"
	---help---
	  This kernel feature is useful for number crunching applications
	  that may need to compute untrusted bytecode during their
	  execution. By using pipes or other transports made available to
	  the process as file descriptors supporting the read/write
	  syscalls, it's possible to isolate those applications in
	  their own address space using seccomp. Once seccomp is
	  enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
	  and the task is only allowed to execute a few safe syscalls
	  defined by each seccomp mode.

	  If unsure, say Y. Only embedded should say N here.

source "security/Kconfig"

source "crypto/Kconfig"

source "lib/Kconfig"