OSDN Git Service

KVM: arm64: Add some more comments in kvm_hyp_handle_fpsimd()
authorMark Brown <broonie@kernel.org>
Mon, 24 Jan 2022 15:57:20 +0000 (15:57 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 8 Feb 2022 14:42:59 +0000 (14:42 +0000)
commit01a244decc760b1ae2caa045647d79ff431bf37b
treedf422fe96605b6ba6988961c05f8a788ecee7178
parent23afc82539cfcce105bf18c5c835c75e463ca349
KVM: arm64: Add some more comments in kvm_hyp_handle_fpsimd()

The handling for FPSIMD/SVE traps is multi stage and involves some trap
manipulation which isn't quite so immediately obvious as might be desired
so add a few more comments.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220124155720.3943374-3-broonie@kernel.org
arch/arm64/kvm/hyp/include/hyp/switch.h