]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/sve: Clarify role of the VQ map maintenance functions
authorDave Martin <Dave.Martin@arm.com>
Thu, 6 Dec 2018 16:32:35 +0000 (16:32 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 29 Mar 2019 14:41:52 +0000 (14:41 +0000)
commit60d2abc115c95618103eb2cad37337f343760292
tree5785f30c9cc13253c18f1ef9eee0e1af818938c3
parentfa23063727f8c194eb4900e0f01a12e9c1064297
arm64/sve: Clarify role of the VQ map maintenance functions

The roles of sve_init_vq_map(), sve_update_vq_map() and
sve_verify_vq_map() are highly non-obvious to anyone who has not dug
through cpufeatures.c in detail.

Since the way these functions interact with each other is more
important here than a full understanding of the cpufeatures code, this
patch adds comments to make the functions' roles clearer.

No functional change.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Tested-by: zhang.lei <zhang.lei@jp.fujitsu.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kernel/fpsimd.c