Skip to content
Commit 9f584866 authored by Mark Brown's avatar Mark Brown Committed by Will Deacon
Browse files

arm64/sve: Make access to FFR optional



SME introduces streaming SVE mode in which FFR is not present and the
instructions for accessing it UNDEF. In preparation for handling this
update the low level SVE state access functions to take a flag specifying
if FFR should be handled. When saving the register state we store a zero
for FFR to guard against uninitialized data being read. No behaviour change
should be introduced by this patch.

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211019172247.3045838-5-broonie@kernel.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 12cc2352
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment