Searched hist:"1 f8be7fc66fb59b197dde3b4ea83314b1728c6b8" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/common/ |
| H A D | feat_detect.c | 1f8be7fc66fb59b197dde3b4ea83314b1728c6b8 Tue Mar 21 14:44:59 UTC 2023 Andre Przywara <andre.przywara@arm.com> fix(mpam): feat_detect: support major/minor
The MPAM CPU ID version number is split between two CPU ID register fields, with the second being a fractional field, allowing for instance for a "MPAM v1.1" number. The read_feat_mpam_version() function merges those two fields to form a "4.4" fixed point fractional number, but the limit check in the check_feature() function was not taking this into account. To support MPAM major version 1, extend the limit from "1" to "17", to cover the current maximum version of "MPAM v1.1". This fixes FVP runs with "has_mpam=1" and FEATURE_DETECTION enabled.
Change-Id: Icb557741d597e4e43eaf658b78f18af6e9fb439e Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|