All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] RISC-V: Add missing jump label initialization
@ 2020-11-06  7:53 ` Anup Patel
  0 siblings, 0 replies; 4+ messages in thread
From: Anup Patel @ 2020-11-06  7:53 UTC (permalink / raw)
  To: Palmer Dabbelt, Palmer Dabbelt, Paul Walmsley, Albert Ou
  Cc: Atish Patra, Alistair Francis, Anup Patel, linux-riscv,
	linux-kernel, Anup Patel, stable

The jump_label_init() should be called from setup_arch() very
early for proper functioning of jump label support.

Fixes: ebc00dde8a97 ("riscv: Add jump-label implementation")
Cc: stable@vger.kernel.org
Signed-off-by: Anup Patel <anup.patel@wdc.com>
---
 arch/riscv/kernel/setup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/kernel/setup.c b/arch/riscv/kernel/setup.c
index c424cc6dd833..117f3212a8e4 100644
--- a/arch/riscv/kernel/setup.c
+++ b/arch/riscv/kernel/setup.c
@@ -75,6 +75,7 @@ void __init setup_arch(char **cmdline_p)
 	*cmdline_p = boot_command_line;
 
 	early_ioremap_setup();
+	jump_label_init();
 	parse_early_param();
 
 	efi_init();
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] RISC-V: Add missing jump label initialization
@ 2020-11-06  7:53 ` Anup Patel
  0 siblings, 0 replies; 4+ messages in thread
From: Anup Patel @ 2020-11-06  7:53 UTC (permalink / raw)
  To: Palmer Dabbelt, Palmer Dabbelt, Paul Walmsley, Albert Ou
  Cc: Anup Patel, Anup Patel, linux-kernel, stable, Atish Patra,
	Alistair Francis, linux-riscv

The jump_label_init() should be called from setup_arch() very
early for proper functioning of jump label support.

Fixes: ebc00dde8a97 ("riscv: Add jump-label implementation")
Cc: stable@vger.kernel.org
Signed-off-by: Anup Patel <anup.patel@wdc.com>
---
 arch/riscv/kernel/setup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/kernel/setup.c b/arch/riscv/kernel/setup.c
index c424cc6dd833..117f3212a8e4 100644
--- a/arch/riscv/kernel/setup.c
+++ b/arch/riscv/kernel/setup.c
@@ -75,6 +75,7 @@ void __init setup_arch(char **cmdline_p)
 	*cmdline_p = boot_command_line;
 
 	early_ioremap_setup();
+	jump_label_init();
 	parse_early_param();
 
 	efi_init();
-- 
2.25.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] RISC-V: Add missing jump label initialization
  2020-11-06  7:53 ` Anup Patel
@ 2020-11-21  0:14   ` Palmer Dabbelt
  -1 siblings, 0 replies; 4+ messages in thread
From: Palmer Dabbelt @ 2020-11-21  0:14 UTC (permalink / raw)
  To: Anup Patel
  Cc: Paul Walmsley, aou, Atish Patra, Alistair Francis, anup,
	linux-riscv, linux-kernel, Anup Patel, stable

On Thu, 05 Nov 2020 23:53:59 PST (-0800), Anup Patel wrote:
> The jump_label_init() should be called from setup_arch() very
> early for proper functioning of jump label support.
>
> Fixes: ebc00dde8a97 ("riscv: Add jump-label implementation")
> Cc: stable@vger.kernel.org
> Signed-off-by: Anup Patel <anup.patel@wdc.com>
> ---
>  arch/riscv/kernel/setup.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/riscv/kernel/setup.c b/arch/riscv/kernel/setup.c
> index c424cc6dd833..117f3212a8e4 100644
> --- a/arch/riscv/kernel/setup.c
> +++ b/arch/riscv/kernel/setup.c
> @@ -75,6 +75,7 @@ void __init setup_arch(char **cmdline_p)
>  	*cmdline_p = boot_command_line;
>
>  	early_ioremap_setup();
> +	jump_label_init();
>  	parse_early_param();
>
>  	efi_init();

Thanks, this is on fixes.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] RISC-V: Add missing jump label initialization
@ 2020-11-21  0:14   ` Palmer Dabbelt
  0 siblings, 0 replies; 4+ messages in thread
From: Palmer Dabbelt @ 2020-11-21  0:14 UTC (permalink / raw)
  To: Anup Patel
  Cc: aou, anup, Anup Patel, linux-kernel, stable, Atish Patra,
	Alistair Francis, Paul Walmsley, linux-riscv

On Thu, 05 Nov 2020 23:53:59 PST (-0800), Anup Patel wrote:
> The jump_label_init() should be called from setup_arch() very
> early for proper functioning of jump label support.
>
> Fixes: ebc00dde8a97 ("riscv: Add jump-label implementation")
> Cc: stable@vger.kernel.org
> Signed-off-by: Anup Patel <anup.patel@wdc.com>
> ---
>  arch/riscv/kernel/setup.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/riscv/kernel/setup.c b/arch/riscv/kernel/setup.c
> index c424cc6dd833..117f3212a8e4 100644
> --- a/arch/riscv/kernel/setup.c
> +++ b/arch/riscv/kernel/setup.c
> @@ -75,6 +75,7 @@ void __init setup_arch(char **cmdline_p)
>  	*cmdline_p = boot_command_line;
>
>  	early_ioremap_setup();
> +	jump_label_init();
>  	parse_early_param();
>
>  	efi_init();

Thanks, this is on fixes.

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-21  0:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06  7:53 [PATCH] RISC-V: Add missing jump label initialization Anup Patel
2020-11-06  7:53 ` Anup Patel
2020-11-21  0:14 ` Palmer Dabbelt
2020-11-21  0:14   ` Palmer Dabbelt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.