diff options
author | Dave Martin <Dave.Martin@arm.com> | 2017-10-31 16:51:02 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-11-03 16:24:14 +0100 |
commit | ddd25ad1fde8456810dee1b26a870395bcd6339d (patch) | |
tree | 22f1283f3d6ee3844b6d273f90d43314235cc201 /arch/arm64/Kconfig | |
parent | arm64/sve: Low-level SVE architectural state manipulation functions (diff) | |
download | linux-ddd25ad1fde8456810dee1b26a870395bcd6339d.tar.xz linux-ddd25ad1fde8456810dee1b26a870395bcd6339d.zip |
arm64/sve: Kconfig update and conditional compilation support
This patch adds CONFIG_ARM64_SVE to control building of SVE support
into the kernel, and adds a stub predicate system_supports_sve() to
control conditional compilation and runtime SVE support.
system_supports_sve() just returns false for now: it will be
replaced with a non-trivial implementation in a later patch, once
SVE support is complete enough to be enabled safely.
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 5cfb79d76970..1046074e0c24 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -976,6 +976,17 @@ config ARM64_PMEM endmenu +config ARM64_SVE + bool "ARM Scalable Vector Extension support" + default y + help + The Scalable Vector Extension (SVE) is an extension to the AArch64 + execution state which complements and extends the SIMD functionality + of the base architecture to support much larger vectors and to enable + additional vectorisation opportunities. + + To enable use of this extension on CPUs that implement it, say Y. + config ARM64_MODULE_CMODEL_LARGE bool |