This patch reads from the ID_AA64ISAR0_EL1 features register and sets the following if supported: FEATURE_AES FEATURE_PMULL FEATURE_SHA1 FEATURE_SHA256 FEATURE_SHA512 FEATURE_CRC32 FEATURE_LSE FEATURE_RDM FEATURE_SM3 FEATURE_SM4 FEATURE_DotProd FEATURE_FHM FEATURE_FlagM2 FEATURE_RNG FEATURE_SHA3 FEATURE_FlagM
Example output in logfile: Processor features: ID_AA64ISAR0_EL1 = 0x0000000000011120 Processor has FEATURE_AES Processor has FEATURE_PMULL Processor has FEATURE_SHA1 Processor has FEATURE_SHA256 Processor has FEATURE_CRC32
ID_AA64ISAR1_EL1 and ID_AA64PFR0_EL1 are also read. The features for these will be implemented in the next patch.
Issues: #5475 (closed), #1569