commit | f725298c966ecc7865fb48dfddfa8888bdee7077 | [log] [tgz] |
---|---|---|
author | Juan Pablo Conde <juanpablo.conde@arm.com> | Mon Jul 10 16:00:41 2023 -0500 |
committer | Juan Pablo Conde <juanpablo.conde@arm.com> | Wed Aug 02 16:28:39 2023 -0500 |
tree | 0fcdfb74b7b1e3ecc4584cb82c6adc4b05e4a9b9 | |
parent | 651c0393f411b6bf5da82f0b54553a513107342e [diff] |
feat(cpufeat): initialize HFG*_EL2 registers HFG*_EL2 registers control the fine-grained traps introduced by FEAT_FGT. These traps come enabled by default so old systems unaware of this feature can be trapped to EL3, not being able to handle the trap correctly. This patch disables all fine-grained traps by default to prevent such unexpected behavior. Change-Id: If2ae97accbeed2bea51ae03b5225ce762ecffb25 Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com>