Skip to content

Commit a1f4ccd

Browse files
brooniectmarinas
authored andcommitted
arm64/sme: Provide Kconfig for SME
Now that basline support for the Scalable Matrix Extension (SME) is present introduce the Kconfig option allowing it to be built. While the feature registers don't impose a strong requirement for a system with SME to support SVE at runtime the support for streaming mode SVE is mostly shared with normal SVE so depend on SVE. Signed-off-by: Mark Brown <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 861262a commit a1f4ccd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

arch/arm64/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1939,6 +1939,17 @@ config ARM64_SVE
19391939
booting the kernel. If unsure and you are not observing these
19401940
symptoms, you should assume that it is safe to say Y.
19411941

1942+
config ARM64_SME
1943+
bool "ARM Scalable Matrix Extension support"
1944+
default y
1945+
depends on ARM64_SVE
1946+
help
1947+
The Scalable Matrix Extension (SME) is an extension to the AArch64
1948+
execution state which utilises a substantial subset of the SVE
1949+
instruction set, together with the addition of new architectural
1950+
register state capable of holding two dimensional matrix tiles to
1951+
enable various matrix operations.
1952+
19421953
config ARM64_MODULE_PLTS
19431954
bool "Use PLTs to allow module memory to spill over into vmalloc area"
19441955
depends on MODULES

0 commit comments

Comments
 (0)