linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/cpu_entry_area: move percpu_setup_debug_store() to __init section
@ 2019-01-08 13:02 Sergey Senozhatsky
  2019-01-08 13:02 ` [PATCH] x86/fpu: move init_xstate_size() " Sergey Senozhatsky
  2019-02-08 13:38 ` [tip:x86/cleanups] x86/cpu_entry_area: Move percpu_setup_debug_store() " tip-bot for Sergey Senozhatsky
  0 siblings, 2 replies; 4+ messages in thread
From: Sergey Senozhatsky @ 2019-01-08 13:02 UTC (permalink / raw)
  To: Thomas Gleixner, Borislav Petkov, Peter Zijlstra,
	Andy Lutomirski, Ingo Molnar, H . Peter Anvin
  Cc: x86, linux-kernel, Sergey Senozhatsky, Sergey Senozhatsky

WARNING: vmlinux.o(.text.unlikely+0x498d): Section mismatch in reference
         from the function percpu_setup_debug_store() to the function
         .init.text:cea_map_percpu_pages()

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
---
 arch/x86/mm/cpu_entry_area.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/mm/cpu_entry_area.c b/arch/x86/mm/cpu_entry_area.c
index 12d7e7fb4efd..19c6abf9ea31 100644
--- a/arch/x86/mm/cpu_entry_area.c
+++ b/arch/x86/mm/cpu_entry_area.c
@@ -52,7 +52,7 @@ cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot)
 		cea_set_pte(cea_vaddr, per_cpu_ptr_to_phys(ptr), prot);
 }
 
-static void percpu_setup_debug_store(int cpu)
+static void __init percpu_setup_debug_store(int cpu)
 {
 #ifdef CONFIG_CPU_SUP_INTEL
 	int npages;
-- 
2.20.1


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

* [PATCH] x86/fpu: move init_xstate_size() to __init section
  2019-01-08 13:02 [PATCH] x86/cpu_entry_area: move percpu_setup_debug_store() to __init section Sergey Senozhatsky
@ 2019-01-08 13:02 ` Sergey Senozhatsky
  2019-02-08 13:39   ` [tip:x86/cleanups] x86/fpu: Move " tip-bot for Sergey Senozhatsky
  2019-02-08 13:38 ` [tip:x86/cleanups] x86/cpu_entry_area: Move percpu_setup_debug_store() " tip-bot for Sergey Senozhatsky
  1 sibling, 1 reply; 4+ messages in thread
From: Sergey Senozhatsky @ 2019-01-08 13:02 UTC (permalink / raw)
  To: Thomas Gleixner, Borislav Petkov, Peter Zijlstra,
	Andy Lutomirski, Ingo Molnar, H . Peter Anvin
  Cc: x86, linux-kernel, Sergey Senozhatsky, Sergey Senozhatsky

WARNING: vmlinux.o(.text.unlikely+0x1c05): Section mismatch in
         reference from the function init_xstate_size() to the
         function .init.text:get_xsave_size()

WARNING: vmlinux.o(.text.unlikely+0x1c19): Section mismatch in
         reference from the function init_xstate_size() to the
         function .init.text:get_xsaves_size()

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
---
 arch/x86/kernel/fpu/xstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c
index 9cc108456d0b..d7432c2b1051 100644
--- a/arch/x86/kernel/fpu/xstate.c
+++ b/arch/x86/kernel/fpu/xstate.c
@@ -669,7 +669,7 @@ static bool is_supported_xstate_size(unsigned int test_xstate_size)
 	return false;
 }
 
-static int init_xstate_size(void)
+static int __init init_xstate_size(void)
 {
 	/* Recompute the context size for enabled features: */
 	unsigned int possible_xstate_size;
-- 
2.20.1


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

* [tip:x86/cleanups] x86/cpu_entry_area: Move percpu_setup_debug_store() to __init section
  2019-01-08 13:02 [PATCH] x86/cpu_entry_area: move percpu_setup_debug_store() to __init section Sergey Senozhatsky
  2019-01-08 13:02 ` [PATCH] x86/fpu: move init_xstate_size() " Sergey Senozhatsky
@ 2019-02-08 13:38 ` tip-bot for Sergey Senozhatsky
  1 sibling, 0 replies; 4+ messages in thread
From: tip-bot for Sergey Senozhatsky @ 2019-02-08 13:38 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: sergey.senozhatsky.work, tglx, bp, hpa, peterz,
	sergey.senozhatsky, luto, mingo, linux-kernel

Commit-ID:  ba2ba356b2c849ec62d5fefa9cd4168163b13211
Gitweb:     https://git.kernel.org/tip/ba2ba356b2c849ec62d5fefa9cd4168163b13211
Author:     Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
AuthorDate: Tue, 8 Jan 2019 22:02:24 +0900
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 8 Feb 2019 14:32:33 +0100

x86/cpu_entry_area: Move percpu_setup_debug_store() to __init section

WARNING: vmlinux.o(.text.unlikely+0x498d): Section mismatch in reference
         from the function percpu_setup_debug_store() to the function
         .init.text:cea_map_percpu_pages()

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: "H . Peter Anvin" <hpa@zytor.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Link: https://lkml.kernel.org/r/20190108130225.5066-1-sergey.senozhatsky@gmail.com

---
 arch/x86/mm/cpu_entry_area.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/mm/cpu_entry_area.c b/arch/x86/mm/cpu_entry_area.c
index 12d7e7fb4efd..19c6abf9ea31 100644
--- a/arch/x86/mm/cpu_entry_area.c
+++ b/arch/x86/mm/cpu_entry_area.c
@@ -52,7 +52,7 @@ cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot)
 		cea_set_pte(cea_vaddr, per_cpu_ptr_to_phys(ptr), prot);
 }
 
-static void percpu_setup_debug_store(int cpu)
+static void __init percpu_setup_debug_store(int cpu)
 {
 #ifdef CONFIG_CPU_SUP_INTEL
 	int npages;

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

* [tip:x86/cleanups] x86/fpu: Move init_xstate_size() to __init section
  2019-01-08 13:02 ` [PATCH] x86/fpu: move init_xstate_size() " Sergey Senozhatsky
@ 2019-02-08 13:39   ` tip-bot for Sergey Senozhatsky
  0 siblings, 0 replies; 4+ messages in thread
From: tip-bot for Sergey Senozhatsky @ 2019-02-08 13:39 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: peterz, linux-kernel, bp, mingo, luto, hpa, sergey.senozhatsky,
	tglx, sergey.senozhatsky.work

Commit-ID:  653a561bb2fd34e470594eb1bdba3357630e8df7
Gitweb:     https://git.kernel.org/tip/653a561bb2fd34e470594eb1bdba3357630e8df7
Author:     Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
AuthorDate: Tue, 8 Jan 2019 22:02:25 +0900
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 8 Feb 2019 14:32:34 +0100

x86/fpu: Move init_xstate_size() to __init section

WARNING: vmlinux.o(.text.unlikely+0x1c05): Section mismatch in
         reference from the function init_xstate_size() to the
         function .init.text:get_xsave_size()

WARNING: vmlinux.o(.text.unlikely+0x1c19): Section mismatch in
         reference from the function init_xstate_size() to the
         function .init.text:get_xsaves_size()

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: "H . Peter Anvin" <hpa@zytor.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Link: https://lkml.kernel.org/r/20190108130225.5066-2-sergey.senozhatsky@gmail.com

---
 arch/x86/kernel/fpu/xstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c
index 9cc108456d0b..d7432c2b1051 100644
--- a/arch/x86/kernel/fpu/xstate.c
+++ b/arch/x86/kernel/fpu/xstate.c
@@ -669,7 +669,7 @@ static bool is_supported_xstate_size(unsigned int test_xstate_size)
 	return false;
 }
 
-static int init_xstate_size(void)
+static int __init init_xstate_size(void)
 {
 	/* Recompute the context size for enabled features: */
 	unsigned int possible_xstate_size;

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

end of thread, other threads:[~2019-02-08 13:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-08 13:02 [PATCH] x86/cpu_entry_area: move percpu_setup_debug_store() to __init section Sergey Senozhatsky
2019-01-08 13:02 ` [PATCH] x86/fpu: move init_xstate_size() " Sergey Senozhatsky
2019-02-08 13:39   ` [tip:x86/cleanups] x86/fpu: Move " tip-bot for Sergey Senozhatsky
2019-02-08 13:38 ` [tip:x86/cleanups] x86/cpu_entry_area: Move percpu_setup_debug_store() " tip-bot for Sergey Senozhatsky

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).