Searched hist:b85359296c4ca6b8a931870a867d5cc658c778ff (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/lib/extensions/spe/ |
| H A D | spe.c | b85359296c4ca6b8a931870a867d5cc658c778ff Fri Sep 11 08:18:09 UTC 2020 Andre Przywara <andre.przywara@arm.com> SPE: Fix feature detection
Currently the feature test for the SPE extension requires the feature bits in the ID_AA64DFR0 register to read exactly 0b0001. However the architecture guarantees that any values greater than 0 indicate the presence of a feature, which is what we are after in our spe_supported() function.
Change the comparison to include all values greater than 0.
This fixes SPE support in non-secure world on implementations which include the Scalable Vector Extension (SVE), for instance on Zeus cores.
Change-Id: If6cbd1b72d6abb8a303e2c0a7839d508f071cdbe Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|