[PATCH v4 1/9] KVM: arm64: Reintroduce __sve_save_state
Fuad Tabba
tabba at google.com
Mon Jun 3 07:11:38 PDT 2024
Hi Mark,
On Mon, Jun 3, 2024 at 2:55 PM Mark Brown <broonie at kernel.org> wrote:
>
> On Mon, Jun 03, 2024 at 01:28:43PM +0100, Fuad Tabba wrote:
>
> > +void __sve_save_state(void *sve_pffr, u32 *fpsr);
>
> > +SYM_FUNC_START(__sve_save_state)
> > + mov x2, #1
> > + sve_save 0, x1, x2, 3
> > + ret
> > +SYM_FUNC_END(__sve_save_state)
>
> This is still trying to use x2 as an argument here?
Since __sve_restore_state also has the same problem, I fixed both in
the following patch:
KVM: arm64: Fix prototype for __sve_save_state/__sve_restore_state
https://lore.kernel.org/all/20240603122852.3923848-3-tabba@google.com/
Cheers,
/fuad
More information about the linux-arm-kernel
mailing list