* [PATCH] RISC-V: Fix do_notify_resume / do_work_pending prototype
@ 2023-01-18 14:22 Heiko Stuebner
2023-01-18 15:10 ` Andrew Jones
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Heiko Stuebner @ 2023-01-18 14:22 UTC (permalink / raw)
To: linux-riscv, palmer
Cc: christoph.muellner, philipp.tomsich, heiko, abrestic,
Heiko Stuebner
From: Heiko Stuebner <heiko.stuebner@vrull.eu>
Commit b0f4c74eadbf ("RISC-V: Fix unannoted hardirqs-on in return to
userspace slow-path") renamed the do_notify_resume function to
do_work_pending but did not change the prototype in signal.h
Do that now, as the original function does not exist anymore.
Fixes: b0f4c74eadbf ("RISC-V: Fix unannoted hardirqs-on in return to userspace slow-path")
Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
---
arch/riscv/include/asm/signal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/include/asm/signal.h b/arch/riscv/include/asm/signal.h
index 532c29ef0376..956ae0a01bad 100644
--- a/arch/riscv/include/asm/signal.h
+++ b/arch/riscv/include/asm/signal.h
@@ -7,6 +7,6 @@
#include <uapi/asm/ptrace.h>
asmlinkage __visible
-void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags);
+void do_work_pending(struct pt_regs *regs, unsigned long thread_info_flags);
#endif
--
2.39.0
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] RISC-V: Fix do_notify_resume / do_work_pending prototype
2023-01-18 14:22 [PATCH] RISC-V: Fix do_notify_resume / do_work_pending prototype Heiko Stuebner
@ 2023-01-18 15:10 ` Andrew Jones
2023-01-18 15:40 ` Conor Dooley
2023-01-31 18:30 ` patchwork-bot+linux-riscv
2 siblings, 0 replies; 5+ messages in thread
From: Andrew Jones @ 2023-01-18 15:10 UTC (permalink / raw)
To: Heiko Stuebner
Cc: linux-riscv, palmer, christoph.muellner, philipp.tomsich,
abrestic, Heiko Stuebner
On Wed, Jan 18, 2023 at 03:22:52PM +0100, Heiko Stuebner wrote:
> From: Heiko Stuebner <heiko.stuebner@vrull.eu>
>
> Commit b0f4c74eadbf ("RISC-V: Fix unannoted hardirqs-on in return to
> userspace slow-path") renamed the do_notify_resume function to
> do_work_pending but did not change the prototype in signal.h
> Do that now, as the original function does not exist anymore.
>
> Fixes: b0f4c74eadbf ("RISC-V: Fix unannoted hardirqs-on in return to userspace slow-path")
> Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
> ---
> arch/riscv/include/asm/signal.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/include/asm/signal.h b/arch/riscv/include/asm/signal.h
> index 532c29ef0376..956ae0a01bad 100644
> --- a/arch/riscv/include/asm/signal.h
> +++ b/arch/riscv/include/asm/signal.h
> @@ -7,6 +7,6 @@
> #include <uapi/asm/ptrace.h>
>
> asmlinkage __visible
> -void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags);
> +void do_work_pending(struct pt_regs *regs, unsigned long thread_info_flags);
>
> #endif
> --
> 2.39.0
>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] RISC-V: Fix do_notify_resume / do_work_pending prototype
2023-01-18 14:22 [PATCH] RISC-V: Fix do_notify_resume / do_work_pending prototype Heiko Stuebner
2023-01-18 15:10 ` Andrew Jones
@ 2023-01-18 15:40 ` Conor Dooley
2023-01-27 13:59 ` Heiko Stübner
2023-01-31 18:30 ` patchwork-bot+linux-riscv
2 siblings, 1 reply; 5+ messages in thread
From: Conor Dooley @ 2023-01-18 15:40 UTC (permalink / raw)
To: Heiko Stuebner
Cc: linux-riscv, palmer, christoph.muellner, philipp.tomsich,
abrestic, Heiko Stuebner
[-- Attachment #1.1: Type: text/plain, Size: 1245 bytes --]
On Wed, Jan 18, 2023 at 03:22:52PM +0100, Heiko Stuebner wrote:
> From: Heiko Stuebner <heiko.stuebner@vrull.eu>
>
> Commit b0f4c74eadbf ("RISC-V: Fix unannoted hardirqs-on in return to
> userspace slow-path") renamed the do_notify_resume function to
> do_work_pending but did not change the prototype in signal.h
> Do that now, as the original function does not exist anymore.
>
> Fixes: b0f4c74eadbf ("RISC-V: Fix unannoted hardirqs-on in return to userspace slow-path")
> Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
> ---
> arch/riscv/include/asm/signal.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/include/asm/signal.h b/arch/riscv/include/asm/signal.h
> index 532c29ef0376..956ae0a01bad 100644
> --- a/arch/riscv/include/asm/signal.h
> +++ b/arch/riscv/include/asm/signal.h
> @@ -7,6 +7,6 @@
> #include <uapi/asm/ptrace.h>
>
> asmlinkage __visible
> -void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags);
> +void do_work_pending(struct pt_regs *regs, unsigned long thread_info_flags);
Is that an auto-builder blind spot as it gets jumped to from asm?
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Thanks,
Conor.
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] RISC-V: Fix do_notify_resume / do_work_pending prototype
2023-01-18 15:40 ` Conor Dooley
@ 2023-01-27 13:59 ` Heiko Stübner
0 siblings, 0 replies; 5+ messages in thread
From: Heiko Stübner @ 2023-01-27 13:59 UTC (permalink / raw)
To: linux-riscv
Cc: linux-riscv, palmer, christoph.muellner, philipp.tomsich,
abrestic, Conor Dooley
Am Mittwoch, 18. Januar 2023, 16:40:52 CET schrieb Conor Dooley:
> On Wed, Jan 18, 2023 at 03:22:52PM +0100, Heiko Stuebner wrote:
> > From: Heiko Stuebner <heiko.stuebner@vrull.eu>
> >
> > Commit b0f4c74eadbf ("RISC-V: Fix unannoted hardirqs-on in return to
> > userspace slow-path") renamed the do_notify_resume function to
> > do_work_pending but did not change the prototype in signal.h
> > Do that now, as the original function does not exist anymore.
> >
> > Fixes: b0f4c74eadbf ("RISC-V: Fix unannoted hardirqs-on in return to userspace slow-path")
> > Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
> > ---
> > arch/riscv/include/asm/signal.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/riscv/include/asm/signal.h b/arch/riscv/include/asm/signal.h
> > index 532c29ef0376..956ae0a01bad 100644
> > --- a/arch/riscv/include/asm/signal.h
> > +++ b/arch/riscv/include/asm/signal.h
> > @@ -7,6 +7,6 @@
> > #include <uapi/asm/ptrace.h>
> >
> > asmlinkage __visible
> > -void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags);
> > +void do_work_pending(struct pt_regs *regs, unsigned long thread_info_flags);
>
> Is that an auto-builder blind spot as it gets jumped to from asm?
Yeah, the prototype is seemingly more for show in that case, as I guess
from asm we only look for the symbol itself but nothing will check the
syntax of the parameters.
@Palmer: any thoughts?
Thanks
Heiko
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] RISC-V: Fix do_notify_resume / do_work_pending prototype
2023-01-18 14:22 [PATCH] RISC-V: Fix do_notify_resume / do_work_pending prototype Heiko Stuebner
2023-01-18 15:10 ` Andrew Jones
2023-01-18 15:40 ` Conor Dooley
@ 2023-01-31 18:30 ` patchwork-bot+linux-riscv
2 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+linux-riscv @ 2023-01-31 18:30 UTC (permalink / raw)
To: Heiko Stuebner
Cc: linux-riscv, palmer, christoph.muellner, philipp.tomsich,
abrestic, heiko.stuebner
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:
On Wed, 18 Jan 2023 15:22:52 +0100 you wrote:
> From: Heiko Stuebner <heiko.stuebner@vrull.eu>
>
> Commit b0f4c74eadbf ("RISC-V: Fix unannoted hardirqs-on in return to
> userspace slow-path") renamed the do_notify_resume function to
> do_work_pending but did not change the prototype in signal.h
> Do that now, as the original function does not exist anymore.
>
> [...]
Here is the summary with links:
- RISC-V: Fix do_notify_resume / do_work_pending prototype
https://git.kernel.org/riscv/c/285b6a18daf1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-01-31 18:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-18 14:22 [PATCH] RISC-V: Fix do_notify_resume / do_work_pending prototype Heiko Stuebner
2023-01-18 15:10 ` Andrew Jones
2023-01-18 15:40 ` Conor Dooley
2023-01-27 13:59 ` Heiko Stübner
2023-01-31 18:30 ` patchwork-bot+linux-riscv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).