OSDN Git Service

target/arm: Add feature detection for FEAT_Pauth2 and extensions
authorAaron Lindsay <aaron@os.amperecomputing.com>
Tue, 29 Aug 2023 23:23:26 +0000 (16:23 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Sep 2023 11:50:44 +0000 (12:50 +0100)
commit0274bd7be7daf0e9e6a8743e1daebda5246f155f
treeb90f2df2b6d4c10398fb657832e0169edf5cde81
parenta969fe9755d9f6e6319b6eb308c8afeec1ccc969
target/arm: Add feature detection for FEAT_Pauth2 and extensions

Rename isar_feature_aa64_pauth_arch to isar_feature_aa64_pauth_qarma5
to distinguish the other architectural algorithm qarma3.

Add ARMPauthFeature and isar_feature_pauth_feature to cover the
other pauth conditions.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aaron Lindsay <aaron@os.amperecomputing.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230829232335.965414-4-richard.henderson@linaro.org
Message-Id: <20230609172324.982888-3-aaron@os.amperecomputing.com>
[rth: Add ARMPauthFeature and eliminate most other predicates]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/tcg/pauth_helper.c