aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig44
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 6c304438b503..2d643255c40d 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1698,6 +1698,50 @@ config HOTPLUG_CPU
1698 automatically on SMP systems. ) 1698 automatically on SMP systems. )
1699 Say N if you want to disable CPU hotplug. 1699 Say N if you want to disable CPU hotplug.
1700 1700
1701config BOOTPARAM_HOTPLUG_CPU0
1702 bool "Set default setting of cpu0_hotpluggable"
1703 default n
1704 depends on HOTPLUG_CPU && EXPERIMENTAL
1705 ---help---
1706 Set whether default state of cpu0_hotpluggable is on or off.
1707
1708 Say Y here to enable CPU0 hotplug by default. If this switch
1709 is turned on, there is no need to give cpu0_hotplug kernel
1710 parameter and the CPU0 hotplug feature is enabled by default.
1711
1712 Please note: there are two known CPU0 dependencies if you want
1713 to enable the CPU0 hotplug feature either by this switch or by
1714 cpu0_hotplug kernel parameter.
1715
1716 First, resume from hibernate or suspend always starts from CPU0.
1717 So hibernate and suspend are prevented if CPU0 is offline.
1718
1719 Second dependency is PIC interrupts always go to CPU0. CPU0 can not
1720 offline if any interrupt can not migrate out of CPU0. There may
1721 be other CPU0 dependencies.
1722
1723 Please make sure the dependencies are under your control before
1724 you enable this feature.
1725
1726 Say N if you don't want to enable CPU0 hotplug feature by default.
1727 You still can enable the CPU0 hotplug feature at boot by kernel
1728 parameter cpu0_hotplug.
1729
1730config DEBUG_HOTPLUG_CPU0
1731 def_bool n
1732 prompt "Debug CPU0 hotplug"
1733 depends on HOTPLUG_CPU && EXPERIMENTAL
1734 ---help---
1735 Enabling this option offlines CPU0 (if CPU0 can be offlined) as
1736 soon as possible and boots up userspace with CPU0 offlined. User
1737 can online CPU0 back after boot time.
1738
1739 To debug CPU0 hotplug, you need to enable CPU0 offline/online
1740 feature by either turning on CONFIG_BOOTPARAM_HOTPLUG_CPU0 during
1741 compilation or giving cpu0_hotplug kernel parameter at boot.
1742
1743 If unsure, say N.
1744
1701config COMPAT_VDSO 1745config COMPAT_VDSO
1702 def_bool y 1746 def_bool y
1703 prompt "Compat VDSO support" 1747 prompt "Compat VDSO support"