Skip to content
Commit 5e3a928e authored by Jean-Philippe Brucker's avatar Jean-Philippe Brucker Committed by Steven Price
Browse files

arm64: RME: Configure max SVE vector length for a Realm



Obtain the max vector length configured by userspace on the vCPUs, and
write it into the Realm parameters. By default the vCPU is configured
with the max vector length reported by RMM, and userspace can reduce it
with a write to KVM_REG_ARM64_SVE_VLS.

Signed-off-by: default avatarJean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Steven Price's avatarSteven Price <steven.price@arm.com>
Reviewed-by: default avatarGavin Shan <gshan@redhat.com>
Reviewed-by: Suzuki Poulose's avatarSuzuki K Poulose <suzuki.poulose@arm.com>
---
Changes since v6:
 * Rename max_vl/realm_max_vl to vl/last_vl - there is nothing "maximum"
   about them, we're just checking that all realms have the same vector
   length
parent a5d88ba6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment