Thread (26 messages) 26 messages, 4 authors, 2024-06-03

Re: [PATCH v3 01/11] KVM: arm64: Reintroduce __sve_save_state

From: Fuad Tabba <hidden>
Date: 2024-06-03 08:29:30
Also in: kvmarm

Hi Mark,

On Fri, May 31, 2024 at 1:26 PM Mark Brown [off-list ref] wrote:
On Tue, May 28, 2024 at 01:59:04PM +0100, Fuad Tabba wrote:
quoted
This reverts commit e66425fc9ba3 ("KVM: arm64: Remove unused
__sve_save_state").
quoted
+void __sve_save_state(void *sve_pffr, u32 *fpsr);
The prototype says this takes 2 arguments...
quoted
+SYM_FUNC_START(__sve_save_state)
+     mov     x2, #1
+     sve_save 0, x1, x2, 3
...but the macro takes and the function supplies 3 arguments.  This was
a bug in the code at the time you did the revert (the prototype had been
missed when adding save_ffr) but we should still fix it.
Thanks for spotting this! I will fix it on the respin.

Cheers,
/fuad

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help