arm64/fpsimd: Update documentation of do_sve_acc
authorJulien Grall <julien.grall@arm.com>
Fri, 28 Aug 2020 18:11:48 +0000 (19:11 +0100)
committerWill Deacon <will@kernel.org>
Mon, 21 Sep 2020 17:06:32 +0000 (18:06 +0100)
commitf186a84d8abecc7dfbd5bbd0a8ad0358078e4767
treebe6da78ab76d9ed98af335840b41c9290c654f35
parentf75aef392f869018f78cfedf3c320a6b3fcfda6b
arm64/fpsimd: Update documentation of do_sve_acc

fpsimd_restore_current_state() enables and disables the SVE access trap
based on TIF_SVE, not task_fpsimd_load(). Update the documentation of
do_sve_acc to reflect this behavior.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Link: https://lore.kernel.org/r/20200828181155.17745-2-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/fpsimd.c