提交 651134b0 编写于 作者: W Will Deacon

ARM: virt: hide CONFIG_ARM_VIRT_EXT from user

ARM_VIRT_EXT is a property of CPU_V7, but does not adversely affect
other CPUs that can be built into the same kernel image (i.e. ARMv6+).

This patch defaults ARM_VIRT_EXT to y if CPU_V7, allowing hypervisors
such as KVM to make better use of the option and being able to rely
on hyp-mode boot support.
Signed-off-by: NWill Deacon <will.deacon@arm.com>
上级 4e3c1944
...@@ -629,8 +629,9 @@ config ARM_THUMBEE ...@@ -629,8 +629,9 @@ config ARM_THUMBEE
make use of it. Say N for code that can run on CPUs without ThumbEE. make use of it. Say N for code that can run on CPUs without ThumbEE.
config ARM_VIRT_EXT config ARM_VIRT_EXT
bool "Native support for the ARM Virtualization Extensions" bool
depends on MMU && CPU_V7 depends on MMU
default y if CPU_V7
help help
Enable the kernel to make use of the ARM Virtualization Enable the kernel to make use of the ARM Virtualization
Extensions to install hypervisors without run-time firmware Extensions to install hypervisors without run-time firmware
...@@ -640,11 +641,6 @@ config ARM_VIRT_EXT ...@@ -640,11 +641,6 @@ config ARM_VIRT_EXT
use of this feature. Refer to Documentation/arm/Booting for use of this feature. Refer to Documentation/arm/Booting for
details. details.
It is safe to enable this option even if the kernel may not be
booted in HYP mode, may not have support for the
virtualization extensions, or may be booted with a
non-compliant bootloader.
config SWP_EMULATE config SWP_EMULATE
bool "Emulate SWP/SWPB instructions" bool "Emulate SWP/SWPB instructions"
depends on !CPU_USE_DOMAINS && CPU_V7 depends on !CPU_USE_DOMAINS && CPU_V7
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册