From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4F10C433F5 for ; Fri, 8 Apr 2022 11:57:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 7131A4B1EF; Fri, 8 Apr 2022 07:57:07 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@kernel.org Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oZiBNU5XFLdZ; Fri, 8 Apr 2022 07:57:06 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 631FF4B1C7; Fri, 8 Apr 2022 07:57:06 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 81C9749F20 for ; Fri, 8 Apr 2022 07:57:05 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4hFVdTU8a7od for ; Fri, 8 Apr 2022 07:57:04 -0400 (EDT) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 78BE74B26D for ; Fri, 8 Apr 2022 07:57:04 -0400 (EDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 04C9962052; Fri, 8 Apr 2022 11:57:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0364C385AC; Fri, 8 Apr 2022 11:56:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649419023; bh=bmQq9+Hs9ppK5+d67ccvsBsIxc0wnK8U9AX00pV28UM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kdT7VrKgERpz6H4g0Eu0VPv3wDk4LaznrjXEOOcUAwPK2+RPH9B9JZjKqYi1Gaq1I /jHUkjwP/weuEYXpOKQMV+87cbmUc/DPOB8k576V+nvFBycvLHUR67bOO5nWnXbltw 0xjYjQTQvJclU5dTKAsQ27UVQBHDXMlZ+eZ4/FoM49/KFjHPZlFqpZ/GJa4bq1OqLS YUTghrIvhgPuaWDj1+VgtFCSLsi3VnhvVz4JlR6yZRpDi7fOf2PFZeVg98GZPZUWbD yb316O29amWhCpPI1yl8SkfLRUwRQlfXw7/ycz+F/RzYCR8TLNuoOarsVsraVfexqw qUYhWYCPCyLwA== From: Mark Brown To: Catalin Marinas , Will Deacon , Marc Zyngier , Shuah Khan , Shuah Khan Subject: [PATCH v13 27/39] arm64/sme: Provide Kconfig for SME Date: Fri, 8 Apr 2022 12:43:16 +0100 Message-Id: <20220408114328.1401034-28-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220408114328.1401034-1-broonie@kernel.org> References: <20220408114328.1401034-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1406; h=from:subject; bh=bmQq9+Hs9ppK5+d67ccvsBsIxc0wnK8U9AX00pV28UM=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBiUB/UAxUEsFosscV36+F0kLBR+bmSz16+f2YTgKsR gljSoxOJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYlAf1AAKCRAk1otyXVSH0K8cB/ 9M/j4kluR0Nrf2PPhLPCfVpZ34in89IgJVEACGFfEItsnA/C33CFqs2QvlC8zaEqpG88e38zGMLXgU 5kbntrCLMRKEqHBVMyJktNYx85/CGpiI1PLwCHm7cvffPwYOCEEX6rl7igQuDNonrCDiqNBhkkxERm RCsIrSi4i4jk2wLOgCCJoo79snBtSHYoLVdYLAltEY4j/zDWFrfQ1Xyd8+Q618woOEhkkoZHPT7MKZ BVAnDJlPLoLL6O25AnJ1cwjGSKTWc4dBqJUTRvIMOLnfnG897E7dnAOCYLSZBbbTRpHiI8Lq3SjO1y UqE2tnkb0ENKzmXla0EieLy5XQxo1x X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Cc: Basant Kumar Dwivedi , Luis Machado , Szabolcs Nagy , Mark Brown , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Alan Hayward , kvmarm@lists.cs.columbia.edu, Salil Akerkar , Luca Salabrino X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu 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 Reviewed-by: Catalin Marinas --- arch/arm64/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 57c4c995965f..0897984918e8 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1939,6 +1939,17 @@ config ARM64_SVE booting the kernel. If unsure and you are not observing these symptoms, you should assume that it is safe to say Y. +config ARM64_SME + bool "ARM Scalable Matrix Extension support" + default y + depends on ARM64_SVE + help + The Scalable Matrix Extension (SME) is an extension to the AArch64 + execution state which utilises a substantial subset of the SVE + instruction set, together with the addition of new architectural + register state capable of holding two dimensional matrix tiles to + enable various matrix operations. + config ARM64_MODULE_PLTS bool "Use PLTs to allow module memory to spill over into vmalloc area" depends on MODULES -- 2.30.2 _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 707BDC433EF for ; Fri, 8 Apr 2022 11:57:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235321AbiDHL7T (ORCPT ); Fri, 8 Apr 2022 07:59:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235333AbiDHL7L (ORCPT ); Fri, 8 Apr 2022 07:59:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 656A48BF3C for ; Fri, 8 Apr 2022 04:57:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 00CE761FDF for ; Fri, 8 Apr 2022 11:57:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0364C385AC; Fri, 8 Apr 2022 11:56:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649419023; bh=bmQq9+Hs9ppK5+d67ccvsBsIxc0wnK8U9AX00pV28UM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kdT7VrKgERpz6H4g0Eu0VPv3wDk4LaznrjXEOOcUAwPK2+RPH9B9JZjKqYi1Gaq1I /jHUkjwP/weuEYXpOKQMV+87cbmUc/DPOB8k576V+nvFBycvLHUR67bOO5nWnXbltw 0xjYjQTQvJclU5dTKAsQ27UVQBHDXMlZ+eZ4/FoM49/KFjHPZlFqpZ/GJa4bq1OqLS YUTghrIvhgPuaWDj1+VgtFCSLsi3VnhvVz4JlR6yZRpDi7fOf2PFZeVg98GZPZUWbD yb316O29amWhCpPI1yl8SkfLRUwRQlfXw7/ycz+F/RzYCR8TLNuoOarsVsraVfexqw qUYhWYCPCyLwA== From: Mark Brown To: Catalin Marinas , Will Deacon , Marc Zyngier , Shuah Khan , Shuah Khan Cc: Alan Hayward , Luis Machado , Salil Akerkar , Basant Kumar Dwivedi , Szabolcs Nagy , James Morse , Alexandru Elisei , Suzuki K Poulose , Luca Salabrino , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, kvmarm@lists.cs.columbia.edu, Mark Brown Subject: [PATCH v13 27/39] arm64/sme: Provide Kconfig for SME Date: Fri, 8 Apr 2022 12:43:16 +0100 Message-Id: <20220408114328.1401034-28-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220408114328.1401034-1-broonie@kernel.org> References: <20220408114328.1401034-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1406; h=from:subject; bh=bmQq9+Hs9ppK5+d67ccvsBsIxc0wnK8U9AX00pV28UM=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBiUB/UAxUEsFosscV36+F0kLBR+bmSz16+f2YTgKsR gljSoxOJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYlAf1AAKCRAk1otyXVSH0K8cB/ 9M/j4kluR0Nrf2PPhLPCfVpZ34in89IgJVEACGFfEItsnA/C33CFqs2QvlC8zaEqpG88e38zGMLXgU 5kbntrCLMRKEqHBVMyJktNYx85/CGpiI1PLwCHm7cvffPwYOCEEX6rl7igQuDNonrCDiqNBhkkxERm RCsIrSi4i4jk2wLOgCCJoo79snBtSHYoLVdYLAltEY4j/zDWFrfQ1Xyd8+Q618woOEhkkoZHPT7MKZ BVAnDJlPLoLL6O25AnJ1cwjGSKTWc4dBqJUTRvIMOLnfnG897E7dnAOCYLSZBbbTRpHiI8Lq3SjO1y UqE2tnkb0ENKzmXla0EieLy5XQxo1x X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org 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 Reviewed-by: Catalin Marinas --- arch/arm64/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 57c4c995965f..0897984918e8 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1939,6 +1939,17 @@ config ARM64_SVE booting the kernel. If unsure and you are not observing these symptoms, you should assume that it is safe to say Y. +config ARM64_SME + bool "ARM Scalable Matrix Extension support" + default y + depends on ARM64_SVE + help + The Scalable Matrix Extension (SME) is an extension to the AArch64 + execution state which utilises a substantial subset of the SVE + instruction set, together with the addition of new architectural + register state capable of holding two dimensional matrix tiles to + enable various matrix operations. + config ARM64_MODULE_PLTS bool "Use PLTs to allow module memory to spill over into vmalloc area" depends on MODULES -- 2.30.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E1C61C433F5 for ; Fri, 8 Apr 2022 12:20:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=14hnY2exUdAZhmh01s6xYXMR9//zMUqNICv/GlCOScA=; b=Tg0AUKLi/Oecs2 v/xqCaopGSHucgAAaXNcdoI+iTX+ge3x10wzKT3D6R9HiVep+aAFRMKT4mKL/R5XyI6sGAXiMJvH4 8wCEeB4h/5Ot10UOjlXyy15xpKpjVJ83tVCge6oG9DHQaNqseIYiU6mjDqau3ZVPAlKGjAX/o+DbD 4afEcPqr3Urr9NR3mCiAhmSNC8e8jnOPETtQZ8lHtrsRRkNdPqtV03UZ5xiDksCBuo+EdeKi8M+Xw 6enZbJLTRktCI0RWMbBO0GeAwUiUtlY+MFiLc+9tNkFbem5jsWjK0rjyaER49z/fkySyzd0owQrBX mhFlXzzz2ixIV0uC3+pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncnaM-00GwIT-BJ; Fri, 08 Apr 2022 12:19:31 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncnEe-00GnLA-Sa for linux-arm-kernel@lists.infradead.org; Fri, 08 Apr 2022 11:57:06 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 04C9962052; Fri, 8 Apr 2022 11:57:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0364C385AC; Fri, 8 Apr 2022 11:56:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649419023; bh=bmQq9+Hs9ppK5+d67ccvsBsIxc0wnK8U9AX00pV28UM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kdT7VrKgERpz6H4g0Eu0VPv3wDk4LaznrjXEOOcUAwPK2+RPH9B9JZjKqYi1Gaq1I /jHUkjwP/weuEYXpOKQMV+87cbmUc/DPOB8k576V+nvFBycvLHUR67bOO5nWnXbltw 0xjYjQTQvJclU5dTKAsQ27UVQBHDXMlZ+eZ4/FoM49/KFjHPZlFqpZ/GJa4bq1OqLS YUTghrIvhgPuaWDj1+VgtFCSLsi3VnhvVz4JlR6yZRpDi7fOf2PFZeVg98GZPZUWbD yb316O29amWhCpPI1yl8SkfLRUwRQlfXw7/ycz+F/RzYCR8TLNuoOarsVsraVfexqw qUYhWYCPCyLwA== From: Mark Brown To: Catalin Marinas , Will Deacon , Marc Zyngier , Shuah Khan , Shuah Khan Cc: Alan Hayward , Luis Machado , Salil Akerkar , Basant Kumar Dwivedi , Szabolcs Nagy , James Morse , Alexandru Elisei , Suzuki K Poulose , Luca Salabrino , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, kvmarm@lists.cs.columbia.edu, Mark Brown Subject: [PATCH v13 27/39] arm64/sme: Provide Kconfig for SME Date: Fri, 8 Apr 2022 12:43:16 +0100 Message-Id: <20220408114328.1401034-28-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220408114328.1401034-1-broonie@kernel.org> References: <20220408114328.1401034-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1406; h=from:subject; bh=bmQq9+Hs9ppK5+d67ccvsBsIxc0wnK8U9AX00pV28UM=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBiUB/UAxUEsFosscV36+F0kLBR+bmSz16+f2YTgKsR gljSoxOJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYlAf1AAKCRAk1otyXVSH0K8cB/ 9M/j4kluR0Nrf2PPhLPCfVpZ34in89IgJVEACGFfEItsnA/C33CFqs2QvlC8zaEqpG88e38zGMLXgU 5kbntrCLMRKEqHBVMyJktNYx85/CGpiI1PLwCHm7cvffPwYOCEEX6rl7igQuDNonrCDiqNBhkkxERm RCsIrSi4i4jk2wLOgCCJoo79snBtSHYoLVdYLAltEY4j/zDWFrfQ1Xyd8+Q618woOEhkkoZHPT7MKZ BVAnDJlPLoLL6O25AnJ1cwjGSKTWc4dBqJUTRvIMOLnfnG897E7dnAOCYLSZBbbTRpHiI8Lq3SjO1y UqE2tnkb0ENKzmXla0EieLy5XQxo1x X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220408_045705_069874_14A80512 X-CRM114-Status: GOOD ( 13.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Reviewed-by: Catalin Marinas --- arch/arm64/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 57c4c995965f..0897984918e8 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1939,6 +1939,17 @@ config ARM64_SVE booting the kernel. If unsure and you are not observing these symptoms, you should assume that it is safe to say Y. +config ARM64_SME + bool "ARM Scalable Matrix Extension support" + default y + depends on ARM64_SVE + help + The Scalable Matrix Extension (SME) is an extension to the AArch64 + execution state which utilises a substantial subset of the SVE + instruction set, together with the addition of new architectural + register state capable of holding two dimensional matrix tiles to + enable various matrix operations. + config ARM64_MODULE_PLTS bool "Use PLTs to allow module memory to spill over into vmalloc area" depends on MODULES -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel