commit | 468f3477ef8bda1beeb91dd7f423c9bc248ac39d | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Fri Mar 12 14:38:43 2021 +0000 |
committer | Marc Zyngier <maz@kernel.org> | Thu Mar 18 11:24:10 2021 +0000 |
tree | b5886fa67d63f8cbddc17cf430611149b78be5d7 | |
parent | 985d3a1beab543875e0c857ce263cad8233923bb [diff] |
KVM: arm64: Introduce vcpu_sve_vq() helper The KVM code contains a number of "sve_vq_from_vl(vcpu->arch.sve_max_vl)" instances, and we are about to add more. Introduce vcpu_sve_vq() as a shorthand for this expression. Acked-by: Will Deacon <will@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org>