KVM: arm64: Fix prototype for __sve_save_state/__sve_restore_state
authorFuad Tabba <tabba@google.com>
Mon, 3 Jun 2024 12:28:44 +0000 (13:28 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 4 Jun 2024 14:06:32 +0000 (15:06 +0100)
commit45f4ea9bcfe909b3461059990b1e232e55dde809
tree1496f5ca29d365e49ec0f6e9f345fae840ca127a
parent87bb39ed40bdf1596b8820e800226e24eb642677
KVM: arm64: Fix prototype for __sve_save_state/__sve_restore_state

Since the prototypes for __sve_save_state/__sve_restore_state at
hyp were added, the underlying macro has acquired a third
parameter for saving/restoring ffr.

Fix the prototypes to account for the third parameter, and
restore the ffr for the guest since it is saved.

Suggested-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240603122852.3923848-3-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_hyp.h
arch/arm64/kvm/hyp/include/hyp/switch.h