Merge "SPE: Fix feature detection" into integration

This commit is contained in:
Madhukar Pappireddy 2020-09-15 21:21:24 +00:00 committed by TrustedFirmware Code Review
commit 8f5426cc4b
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ bool spe_supported(void)
uint64_t features;
features = read_id_aa64dfr0_el1() >> ID_AA64DFR0_PMS_SHIFT;
return (features & ID_AA64DFR0_PMS_MASK) == 1U;
return (features & ID_AA64DFR0_PMS_MASK) > 0ULL;
}
void spe_enable(bool el2_unused)