TF-A: Fix wrong register read for MPAM extension
This patch fixes wrong ID_AA64DFR0_EL1 register read instead of
ID_AA64PFR0_EL1 to detect support for MPAM extension.
It also implements get_mpam_version() function which returns
MPAM version as:
0x00: None Armv8.0 or later;
0x01: v0.1 Armv8.4 or later;
0x10: v1.0 Armv8.2 or later;
0x11: v1.1 Armv8.4 or later;

Change-Id: I31d776b1a1b60cb16e5e62296d70adb129d7b760
Reported-by: Matteo Zini <matteozini96@gmail.com>
Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
1 parent a92d02d commit dbcc44a10ece0c4e02efb1f9ff52dad38dc6fc89
@Alexei Fedorov Alexei Fedorov authored on 26 May 2020
Showing 3 changed files
View
include/arch/aarch64/arch.h
View
include/arch/aarch64/arch_features.h
View
lib/extensions/mpam/mpam.c