ANDROID: KVM: arm64: Allocate host fp/simd state later in initialization
Allocate and map hyp memory to maintain the host's fp/simd state, which is also used for SVE and SME, later in the initialization process. The amount of memory needed to track the host's state varies depending on the number of cpus in the system, whether there's SVE support, as well as the SVE vector size. Much of the state needed to extract this information isn't initialized yet at kvm_hyp_reserve(). Fixes: 6dc9af85 ("ANDROID: KVM: arm64: Allocate host fp state at pkvm init rather than per cpu") Bug: 303684934 Signed-off-by:Fuad Tabba <tabba@google.com> Change-Id: I744be685a107ddd92c6975bafb0149aebad7bb55
Loading
Please sign in to comment