arm64/sme: Fix some comments of ARM SME
authorDongxu Sun <sundongxu3@huawei.com>
Fri, 17 Mar 2023 12:49:15 +0000 (20:49 +0800)
committerWill Deacon <will@kernel.org>
Wed, 12 Apr 2023 08:41:48 +0000 (09:41 +0100)
commit97b5576b01166a6aed6a267df059128e5d98b15e
tree537bba3ce9a67202fb21aac0f8cf345ced9acfca
parent19e99e7d59bc421373e82af818197576b1a3940f
arm64/sme: Fix some comments of ARM SME

When TIF_SME is clear, fpsimd_restore_current_state will disable
SME trap during ret_to_user, then SME access trap is impossible
in userspace, not SVE.

Besides, fix typo: alocated->allocated.

Signed-off-by: Dongxu Sun <sundongxu3@huawei.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230317124915.1263-5-sundongxu3@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/fpsimd.c