]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Mask response to FFA_FEATURE call
authorPer Larsen <perlarsen@google.com>
Wed, 20 Aug 2025 01:10:09 +0000 (01:10 +0000)
committerMarc Zyngier <maz@kernel.org>
Mon, 8 Sep 2025 18:30:59 +0000 (19:30 +0100)
commit3f5952917498e7bb9d227812d4349668f62c413b
treeedf0656fb40df7ba14ce1f91b95b21a04b990238
parent8d24683e3e0f93b4bfdb558df50923514042817b
KVM: arm64: Mask response to FFA_FEATURE call

The minimum size and alignment boundary for FFA_RXTX_MAP is returned in
bit[1:0]. Mask off any other bits in w2 when reading the minimum buffer
size in hyp_ffa_post_init.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Per Larsen <perlarsen@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/hyp/nvhe/ffa.c
include/linux/arm_ffa.h