From f99b0f6dd206581de3941fce75a1e1d72bc92979 Mon Sep 17 00:00:00 2001 From: Snehal Koukuntla Date: Wed, 9 Jul 2025 11:35:14 +0000 Subject: [PATCH] ANDROID: KVM: arm64: Increase the pkvm reclaim buffer size Increase the internal reclaim buffer size of pkvm to accommodate Pixel use cases. Without this we are seeing >50% failure rate Bug: 426242992 Change-Id: I892cb1fe30fa97fea044187728d814dd832dd929 Signed-off-by: Snehal Koukuntla --- arch/arm64/include/asm/kvm_pkvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/kvm_pkvm.h b/arch/arm64/include/asm/kvm_pkvm.h index 4a16808c3ba8..80a1526684cb 100644 --- a/arch/arm64/include/asm/kvm_pkvm.h +++ b/arch/arm64/include/asm/kvm_pkvm.h @@ -593,7 +593,7 @@ static inline unsigned long host_s2_pgtable_pages(void) * Maximum number of consitutents allowed in a descriptor. This number is * arbitrary, see comment below on SG_MAX_SEGMENTS in hyp_ffa_proxy_pages(). */ -#define KVM_FFA_MAX_NR_CONSTITUENTS 4096 +#define KVM_FFA_MAX_NR_CONSTITUENTS 12288 static inline unsigned long hyp_ffa_proxy_pages(void) {