Read MIDR_EL1 system register on aarch64
authorFangming.Fang <fangming.fang@arm.com>
Tue, 28 Apr 2020 02:33:50 +0000 (02:33 +0000)
committerTomas Mraz <tmraz@fedoraproject.org>
Wed, 9 Dec 2020 15:17:17 +0000 (16:17 +0100)
commit5ea64b456b1a27ae046f23d632a968a7583bb9eb
tree3c9bfe67790eef189c3189c6964d2817a42d0052
parent6582661f7b369c3ce7edab5fea2529de5f2fb408
Read MIDR_EL1 system register on aarch64

MIDR_EL1 system register exposes microarchitecture information so that
people can make micro-arch related optimization such as exposing as
much instruction level parallelism as possible.

MIDR_EL1 register can be read only if HWCAP_CPUID feature is supported.

Change-Id: Iabb8a36c5d31b184dba6399f378598058d394d4e

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11744)
crypto/arm64cpuid.pl
crypto/arm_arch.h
crypto/armcap.c