From patchwork Mon Oct 28 20:24:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 839240 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95041204022; Mon, 28 Oct 2024 20:26:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730147190; cv=none; b=AAqQ7JV2AxCO5cggxGj9vc8gvfE0TtWKZrNGoH/WcIfxrsksCUAJ1QkAmrTSoVXWIYkQ9gVDZ1hKCK8/zaclfkyBc3BHjfQ8VP824IjD8/t4vg7tUCHb+WPMw+4c+v7XiSFJ6NjwmkHH24kwptIbtzZJxJsy+35wUbnV94FBMTQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730147190; c=relaxed/simple; bh=zpkfrQGx3HEw4mQkvZcocv9aZkCal4I29KIfJ/D2G4s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PpHSrU3j3WQ2t+nG9Lr5Xyw8ja79xGhEFtcak+CmsVCStnxkU4EOr11/HNVCYbKQk3EllSq6c6q8sxplYkD19f0SEKpyDBV9h/ZZG6+mmUJct6MQwIV3ZGBcetC7erkGNDl3M5P74BulChLzDntf+7XTZ8kEPirwZBwMT3WFAZM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LVoJOtnl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LVoJOtnl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 930BEC4CEE7; Mon, 28 Oct 2024 20:26:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730147190; bh=zpkfrQGx3HEw4mQkvZcocv9aZkCal4I29KIfJ/D2G4s=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=LVoJOtnls23eeaY/JLQ9u58NUppI2xcVbHSx61MBQzlwCA9cvWdyqkugW21ljicTp RH5u8HEe/rDyPYo/EblJOSZGQxmDcocD5anHKnFeehpHn/l+6rF1IWo74bChmbKR0q DqCV5Tc8g7HmrzOqxD7Yeca/EX7a6nSKiDGxV59PjA4RTVSjsPToxhFG/TM/80lHpI z/vCkmAXAaEQAmKRT0MWEJjn4sOIu0v0mlXvqOfVsiT6DFYO/UKXv8/jY4bx9llwJv gOmslRVjsSxFhoE5FH/zwk7FPnV8g1/fVnuLC7gCYNDe1Tkd0vqhLNF0W82w+IsRJC H4GJjhKcNtPyA== From: Mark Brown Date: Mon, 28 Oct 2024 20:24:11 +0000 Subject: [PATCH 2/9] arm64/sysreg: Update ID_AA64ISAR3_EL1 to DDI0601 2024-09 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241028-arm64-2024-dpisa-v1-2-a38d08b008a8@kernel.org> References: <20241028-arm64-2024-dpisa-v1-0-a38d08b008a8@kernel.org> In-Reply-To: <20241028-arm64-2024-dpisa-v1-0-a38d08b008a8@kernel.org> To: Catalin Marinas , Will Deacon , Jonathan Corbet , Marc Zyngier , Oliver Upton , Joey Gouly , Suzuki K Poulose , Shuah Khan Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kvmarm@lists.linux.dev, linux-kselftest@vger.kernel.org, Mark Brown X-Mailer: b4 0.15-dev-9b746 X-Developer-Signature: v=1; a=openpgp-sha256; l=944; i=broonie@kernel.org; h=from:subject:message-id; bh=zpkfrQGx3HEw4mQkvZcocv9aZkCal4I29KIfJ/D2G4s=; b=owGbwMvMwMWocq27KDak/QLjabUkhnT5z+lfj//cpOPFHn0oY+PzWrl9shuCzibou/z988Bh785k A/WVnYzGLAyMXAyyYoosa59lrEoPl9g6/9H8VzCDWJlApjBwcQrARLaHsv9TPs6/mcEkp99f6M+uH9 v6ftW3zZa831Yfc7JL8EpTu1CmZO2ePOeLdQGLlj5cm8apEblc5tLXtddZHBUWBEg+uu6U2JLq4Oip sDBshbhOZrvR5z8Rd/OYVe3z1JIntqpIn4g4oXH1qJSfvZ713czJNULVEe9+TQpw4d1Ypif4Iasm78 d3lluHUk4tdt7PYmY82bT0/69EJ+7omQGFHX+9zBpm/rzaN6Eks3z9ros9N4tktwT+ifWMelwvfWfh jKl8Hro+dXlMX3iNZy2/wvRTRE5mYq9WOONCtg0uoacjN0WJFn/1P87By/CO9XFLWNfxGnWF5080S7 ZW7rBJMu9KNJWeFyXd2vY5KfYvAA== X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB DDI0601 2024-09 defines several new feature flags in ID_AA64ISAR3_EL1, update our description in sysreg to reflect these. Signed-off-by: Mark Brown --- arch/arm64/tools/sysreg | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index 72d6ff1a9c7588dc4894ec6d673791fde108a857..c77343ff0901bbaee98eb76615dc7b81a563c4b0 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -1531,7 +1531,23 @@ EndEnum EndSysreg Sysreg ID_AA64ISAR3_EL1 3 0 0 6 3 -Res0 63:16 +Res0 63:32 +UnsignedEnum 31:28 FPRCVT + 0b0000 NI + 0b0010 IMP +EndEnum +UnsignedEnum 27:24 LSUI + 0b0000 NI + 0b0010 IMP +EndEnum +UnsignedEnum 23:20 OCCMO + 0b0000 NI + 0b0010 IMP +EndEnum +UnsignedEnum 19:16 LSFE + 0b0000 NI + 0b0010 IMP +EndEnum UnsignedEnum 15:12 PACM 0b0000 NI 0b0001 TRIVIAL_IMP From patchwork Mon Oct 28 20:24:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 839239 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 955171E25F8; Mon, 28 Oct 2024 20:26:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730147197; cv=none; b=WGme/BQ+TODY7jMWX/owOC3wQVfFdHYsmv4hAy5AHeaHMgCkRzyyiQUeNuGlk3o4+KR16DLruobagavaLbPX/dsvsE+q0ViCEvaaEUvrpgWRImWOw/RptmCCGTVvsnvmx8efrCS0GYnOPCP0+NsmO5vBxnGMZWzdc2dslsTgT1Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730147197; c=relaxed/simple; bh=FN01wAAM5D8ZMfrYQkBkqRMg6r+p3qmFRREh7tSlgYo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ATFrdDo2MShW7xA39kaAYws1VuXXn/371YuE+HGMNAadvyLDWeCddOaS6hoJoJ6S23VX59pTp/AfumqQslm4o5wWLHBsyDUMaeOZpIXAiu1cokbWi9A54M0tLKIuAfCq2IN6eeCDVzN0UUvuNTpX4PvFBYiwLBeL14NfLK5wALo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P3C0ddgp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P3C0ddgp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97E4EC4CEE4; Mon, 28 Oct 2024 20:26:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730147196; bh=FN01wAAM5D8ZMfrYQkBkqRMg6r+p3qmFRREh7tSlgYo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=P3C0ddgp4phz7rTiKtrn+fbmvzltuGLSD+3p+Au18P72iXatX5ce7fvsRnFjBbYqj QipLXVvqhMxyL9mFgsi4y1qU1u7xgFRKZmJaDSJezL0IFf2s5j1IHM2exEhd8mkCHz uOv5WokY6qtcIi+cfa9LMoMBaf3nU9+Bm9QcQItDxhPG1iJJwseN5Bm5zWNJZSgTkf PKmSp3T+COJUc3f4cwSdMMGvuqDAU89JrkkoTbYHO1TJlQzOPoqMPNrVyVGx4s4wsG kXplxAixT1Thq+rH2uzki76Wufh0CjMVp4rCVwXUyJlDKwuzF7ZNfDFkcoji57A0/q yeIdarDR0v6Hw== From: Mark Brown Date: Mon, 28 Oct 2024 20:24:13 +0000 Subject: [PATCH 4/9] arm64/sysreg: Update ID_AA64ZFR0_EL1 to DDI0601 2024-09 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241028-arm64-2024-dpisa-v1-4-a38d08b008a8@kernel.org> References: <20241028-arm64-2024-dpisa-v1-0-a38d08b008a8@kernel.org> In-Reply-To: <20241028-arm64-2024-dpisa-v1-0-a38d08b008a8@kernel.org> To: Catalin Marinas , Will Deacon , Jonathan Corbet , Marc Zyngier , Oliver Upton , Joey Gouly , Suzuki K Poulose , Shuah Khan Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kvmarm@lists.linux.dev, linux-kselftest@vger.kernel.org, Mark Brown X-Mailer: b4 0.15-dev-9b746 X-Developer-Signature: v=1; a=openpgp-sha256; l=1302; i=broonie@kernel.org; h=from:subject:message-id; bh=FN01wAAM5D8ZMfrYQkBkqRMg6r+p3qmFRREh7tSlgYo=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBnH/NoFqkcnBz5GKBfDodahpIRTDaaf4zSQp/88sVI r9TS7PyJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZx/zaAAKCRAk1otyXVSH0FzMB/ 96ysFmW6P71QjtffhaS+xwXkOmBCPFj+RfWbn6KXXPQ0pqf5VxBamOOlh0hjvifAHQ8DClaDeupO5H 9/qXOFxmb9tJLD8pC5OxDdCJT2tRBIzEwP9fOJW4h1kD9N5ZczGGiOYsSrScvrKqO3WUZPij2pd4ks j0n8HTPMWOlZXhtNk7OHlaFdQrvjEVjnCY1A0kzAusHYnImNGMAuXrV1/aHcGoiT8sWWBftSNo6FFr BlsTWLMYWf5sopFeNA5y/iVHffBe0QLCxCo3HfzdwghVYvbJ6HVCp23aARQfFC43L4+4I0hkvgHJHu uY1EesCMNi9sjo1Qf+JXtkFkM+jlHS X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB DDI0601 2024-09 introduces SVE 2.2 as well as a few new optional features, update sysreg to reflect the changes in ID_AA64ZFR0_EL1 enumerating them. Signed-off-by: Mark Brown --- arch/arm64/tools/sysreg | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index 26f1350c9d2e3baf39ac3bdcc96fc1e6deb5a5c6..d487c78520b97c8f96c70181e39eccb91d6fe1af 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -1040,7 +1040,10 @@ UnsignedEnum 55:52 F32MM 0b0000 NI 0b0001 IMP EndEnum -Res0 51:48 +UnsignedEnum 51:48 F16MM + 0b0000 NI + 0b0001 IMP +EndEnum UnsignedEnum 47:44 I8MM 0b0000 NI 0b0001 IMP @@ -1058,6 +1061,7 @@ Res0 31:28 UnsignedEnum 27:24 B16B16 0b0000 NI 0b0001 IMP + 0b0010 BFSCALE EndEnum UnsignedEnum 23:20 BF16 0b0000 NI @@ -1068,16 +1072,22 @@ UnsignedEnum 19:16 BitPerm 0b0000 NI 0b0001 IMP EndEnum -Res0 15:8 +UnsignedEnum 15:12 EltPerm + 0b0000 NI + 0b0001 IMP +EndEnum +Res0 11:8 UnsignedEnum 7:4 AES 0b0000 NI 0b0001 IMP 0b0010 PMULL128 + 0b0011 AES2 EndEnum UnsignedEnum 3:0 SVEver 0b0000 IMP 0b0001 SVE2 0b0010 SVE2p1 + 0b0011 SVE2p2 EndEnum EndSysreg From patchwork Mon Oct 28 20:24:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 839238 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A917D204940; Mon, 28 Oct 2024 20:26:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730147202; cv=none; b=SoFdIg4INcfEMvzyw3mSu/tdsY4K6yUfsFUxZs7AFiu6wwpd24ImV6zfQabipTY4OM7PJASjRsJpzcKxC5yqwL2budgverv8nP5tbNPkGzFVeQu/I2yZFA+o8d/gF52+bHW1RbigoZ0iOkgstEYsF1H8lVWmnRk5qoAnRrUe8p0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730147202; c=relaxed/simple; bh=mdF9l8XoMfCClmS8E8sWltwQ5YchWlsCeLs+M166hTU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jEdJa+8fXl4+2ZXKLNoeVmLEz1HhPgbE/uyzk2mKh4kmLJihfk5Y91wdHTsh6gqlnubrNh44KgJqs0gfP4AQdAaAbGRuMtSykGGJLnMIS9OXc/VdtJYisjMMcCxlEgBlRd+IiM43XFUZAlS6uiYsmCFy0gj04mkY+ZzVDWnLkgY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NEh+k01m; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NEh+k01m" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A217DC4CEE8; Mon, 28 Oct 2024 20:26:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730147202; bh=mdF9l8XoMfCClmS8E8sWltwQ5YchWlsCeLs+M166hTU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=NEh+k01mKNAjZgDUCPOTdCquL2nTEfy+ZnLWxFDAsaCwzT+uceoQMdemFHfflgUfd GwJrX3IvpRTWcdXJS0rAmxVWgcjFBSTDjJWsBYLKruTDveZhROgOvRQAnBlqhuufZX IOtbp7LHObELb1OhoCOflwbNDXd5F/yWFJ6CZqA+er57UH92+7a4cLlEUo9W4bN3cS wBYJoTQcGt1t0LYNPHixT1d1h7h1xsKOo/t18Wxrv7HtpJc1n3wnf6zRK5j8l+tnbb n+I5y9AH3Og2Eyohj6nDm8zOnTSSlguVLlb29LnSbd9rEFG6q2O4wCMVQjdUS+Otte 10OylvTyc8eJQ== From: Mark Brown Date: Mon, 28 Oct 2024 20:24:15 +0000 Subject: [PATCH 6/9] arm64/sysreg: Update ID_AA64ISAR2_EL1 to DDI0601 2024-09 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241028-arm64-2024-dpisa-v1-6-a38d08b008a8@kernel.org> References: <20241028-arm64-2024-dpisa-v1-0-a38d08b008a8@kernel.org> In-Reply-To: <20241028-arm64-2024-dpisa-v1-0-a38d08b008a8@kernel.org> To: Catalin Marinas , Will Deacon , Jonathan Corbet , Marc Zyngier , Oliver Upton , Joey Gouly , Suzuki K Poulose , Shuah Khan Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kvmarm@lists.linux.dev, linux-kselftest@vger.kernel.org, Mark Brown X-Mailer: b4 0.15-dev-9b746 X-Developer-Signature: v=1; a=openpgp-sha256; l=827; i=broonie@kernel.org; h=from:subject:message-id; bh=mdF9l8XoMfCClmS8E8sWltwQ5YchWlsCeLs+M166hTU=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBnH/Nq5LJBcitKLDEOlNZDCWc/2DHd32O0aS1++eFY SxSju/2JATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZx/zagAKCRAk1otyXVSH0GBsB/ oD272FS08Rd91ruHA5rXXew1m9uEA/IO7IIc1f+0kZxT1TSgFZ4W5bZuTvHf9SUO+0bN/hKAtOH/HT 1Kd/q5uus5t9et0SXPzQ8NE1SBpQtDjKVfICT78BR6O9m0RnsDGVZKq1JrBIZfEiXgp28xK+vFEqVH MGs1s64zzM2bVKGSGAaQuct8DgBJKs1vLW6T7Nva4kAxB1uofJ8AqpmWaeXT1HqK2f2mBTCC76NZ1u vy6qflr5j+k1GTyA9jgqkbIZle6nq3wwX/gPOlx0ns++b88Ue4INdFevmegh4/zEv4q2S7z3JQgiwP 8j7unaCUhq5XOi+xI7vpDk+/VsO98+ X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB DDI0601 2024-09 introduces new features which are enumerated via ID_AA64ISAR2_EL1, update the sysreg file to reflect these updates. Signed-off-by: Mark Brown --- arch/arm64/tools/sysreg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index 808bbd6d3a40a4cd652ac25d686f11ccafc5acf3..c8cc092fc0f63f91c7e87d679266a1f8a38176b0 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -1521,12 +1521,16 @@ EndEnum UnsignedEnum 55:52 CSSC 0b0000 NI 0b0001 IMP + 0b0010 CMPBR EndEnum UnsignedEnum 51:48 RPRFM 0b0000 NI 0b0001 IMP EndEnum -Res0 47:44 +UnsignedEnum 47:44 PCDPHINT + 0b0000 NI + 0b0001 IMP +EndEnum UnsignedEnum 43:40 PRFMSLC 0b0000 NI 0b0001 IMP From patchwork Mon Oct 28 20:24:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 839237 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0B121EE011; Mon, 28 Oct 2024 20:26:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730147209; cv=none; b=tXVfi9+1RMGU22JASpKNNCLR0jY8qoXHFeBnVPQKwMN0SbfW+tJp9G9ZjFGOEIXkmC+MZuodA4khueLDR+82/N0sgg+cwp17Z71nh1aZ6+PPBGa1Fwkx3BOZr0tf17UzY6Sqeyh7NHZasPPI0nMQZ1oL6w2BPYi0M/Rh49lLCk8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730147209; c=relaxed/simple; bh=2mKXsQoc2fyKgSSWiRx7xITP+IRuxdOT5z6VLLnJRWs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ApiNAKS7hz5FqgorjE2RhPEizaWNx9gXNQx1ZPMfNaw2D0gzxphrMZKNTlaQx1iF4tEf6A36QFYVQM90/OFLegH4IGiOnylyzVYTE++Ctb7I7F7Wb4oRqDDhfyRUnERPLTdeiK7WzDwCR5a5tFWFWA2N+ifpb5a1414rnHEkunM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uZW5JlPa; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uZW5JlPa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DABB6C4CEC3; Mon, 28 Oct 2024 20:26:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730147208; bh=2mKXsQoc2fyKgSSWiRx7xITP+IRuxdOT5z6VLLnJRWs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=uZW5JlPa7Jf2Wi3UPnwob95dwUa+Yymhul5OdBj6Jaozp7ACx+rU6qXevUuXntaja 0I5tOq9S65apVsPbmdkc3sJ1Qjg9EegHskEzAzCAMU/wbiqnD53G9DM+ef81rEhzJS 0XYUYQr6vfpCcjix9vwsrIKiXZTqYJTZGMli8RRGHxSm4x8hEZmX4M9iA+duNZGQ92 wZIBDC4RLI3n0nahstbxzXduQ04uFXui6z56bxpWoU7zzL3ZizuARfhggcS/h/r5h5 3EHndF1XZok9TYL9vUzwTXxx+ekrhsqa2njRfz1v7xab4gGcnIuxxtD5yttPD+mfGG s00lWU7T6ngHw== From: Mark Brown Date: Mon, 28 Oct 2024 20:24:17 +0000 Subject: [PATCH 8/9] KVM: arm64: Allow control of dpISA extensions in ID_AA64ISAR3_EL1 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241028-arm64-2024-dpisa-v1-8-a38d08b008a8@kernel.org> References: <20241028-arm64-2024-dpisa-v1-0-a38d08b008a8@kernel.org> In-Reply-To: <20241028-arm64-2024-dpisa-v1-0-a38d08b008a8@kernel.org> To: Catalin Marinas , Will Deacon , Jonathan Corbet , Marc Zyngier , Oliver Upton , Joey Gouly , Suzuki K Poulose , Shuah Khan Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kvmarm@lists.linux.dev, linux-kselftest@vger.kernel.org, Mark Brown X-Mailer: b4 0.15-dev-9b746 X-Developer-Signature: v=1; a=openpgp-sha256; l=975; i=broonie@kernel.org; h=from:subject:message-id; bh=2mKXsQoc2fyKgSSWiRx7xITP+IRuxdOT5z6VLLnJRWs=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBnH/NrEBfq3hDnWISMfuy4nvcRlrxy6aWqNbzOnn1T Kfy2OBSJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZx/zawAKCRAk1otyXVSH0PdhB/ 9hTgKJ81Iz+V9IlwBdnwA6n7okQi6Zkf3YceGZAfaWEzc7Y6xHwFw2JVNh/ABB/IoKkf/WaHxkJh+6 SNGR63vWc7mN+r+9841M3YFAcusp3GEtRqvnqdtskMuRPRjBaqIOQvHT5xG/Pnn9RwwXWUf1DPttMf R1RvASwTi10oTmgEBV1NNxy9YKE437SbDmuK9Egwu0KhGlrEyy9gLrGP5TjjIG2SVT0NgozdP9Q5lL yEejpuvKl7L4GU8MCAYdLYpwyD1x/mJr8O+Mwks7lrVTO719nTMfyOseVCmdgtibLykpKbf3zVzcFZ Trs8CeDtjWaRe2pZn8DCmXmQy+98CV X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB ID_AA64ISAR3_EL1 is currently marked as unallocated in KVM but does have a number of bitfields defined in it. Expose FPRCVT and FAMINMAX, two simple instruction only extensions to guests. Signed-off-by: Mark Brown --- arch/arm64/kvm/sys_regs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/kvm/sys_regs.c b/arch/arm64/kvm/sys_regs.c index dad88e31f9537fe02e28b117d6a740f15572e0ba..ab348c314d7963437e1876d441169f3ef4eff095 100644 --- a/arch/arm64/kvm/sys_regs.c +++ b/arch/arm64/kvm/sys_regs.c @@ -2409,7 +2409,8 @@ static const struct sys_reg_desc sys_reg_descs[] = { ID_WRITABLE(ID_AA64ISAR2_EL1, ~(ID_AA64ISAR2_EL1_RES0 | ID_AA64ISAR2_EL1_APA3 | ID_AA64ISAR2_EL1_GPA3)), - ID_UNALLOCATED(6,3), + ID_WRITABLE(ID_AA64ISAR3_EL1, (ID_AA64ISAR3_EL1_FPRCVT | + ID_AA64ISAR3_EL1_FAMINMAX)), ID_UNALLOCATED(6,4), ID_UNALLOCATED(6,5), ID_UNALLOCATED(6,6),