Alexander Potapenko
505a0ef15f
kasan: stackdepot: move filter_irq_stacks() to stackdepot.c
...
filter_irq_stacks() can be used by other tools (e.g. KMSAN), so it needs
to be moved to a common location. lib/stackdepot.c seems a good place, as
filter_irq_stacks() is usually applied to the output of
stack_trace_save().
This patch has been previously mailed as part of KMSAN RFC patch series.
[[email protected] : nds32: linker script: add SOFTIRQENTRY_TEXT\
Link: http://lkml.kernel.org/r/[email protected]
[[email protected] : add IRQENTRY_TEXT and SOFTIRQENTRY_TEXT to linker script]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Alexander Potapenko <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Cc: Vegard Nossum <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Marco Elver <[email protected] >
Cc: Andrey Konovalov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: Arnd Bergmann <[email protected] >
Cc: Sergey Senozhatsky <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected] >
2020-04-07 10:43:43 -07:00
Kees Cook
c9174047b4
vmlinux.lds.h: Replace RW_DATA_SECTION with RW_DATA
...
Rename RW_DATA_SECTION to RW_DATA. (Calling this a "section" is a lie,
since it's multiple sections and section flags cannot be applied to
the macro.)
Signed-off-by: Kees Cook <[email protected] >
Signed-off-by: Borislav Petkov <[email protected] >
Acked-by: Heiko Carstens <[email protected] > # s390
Acked-by: Geert Uytterhoeven <[email protected] > # m68k
Cc: Andy Lutomirski <[email protected] >
Cc: Arnd Bergmann <[email protected] >
Cc: Dave Hansen <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Michael Ellerman <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Rick Edgecombe <[email protected] >
Cc: Segher Boessenkool <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: x86-ml <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Link: https://lkml.kernel.org/r/[email protected]
2019-11-04 15:57:41 +01:00
Kees Cook
93240b3279
vmlinux.lds.h: Replace RO_DATA_SECTION with RO_DATA
...
Finish renaming RO_DATA_SECTION to RO_DATA. (Calling this a "section"
is a lie, since it's multiple sections and section flags cannot be
applied to the macro.)
Signed-off-by: Kees Cook <[email protected] >
Signed-off-by: Borislav Petkov <[email protected] >
Acked-by: Heiko Carstens <[email protected] > # s390
Acked-by: Geert Uytterhoeven <[email protected] > # m68k
Cc: Andy Lutomirski <[email protected] >
Cc: Arnd Bergmann <[email protected] >
Cc: Dave Hansen <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Michael Ellerman <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Rick Edgecombe <[email protected] >
Cc: Segher Boessenkool <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: x86-ml <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Link: https://lkml.kernel.org/r/[email protected]
2019-11-04 15:56:16 +01:00
Kees Cook
eaf937075c
vmlinux.lds.h: Move NOTES into RO_DATA
...
The .notes section should be non-executable read-only data. As such,
move it to the RO_DATA macro instead of being per-architecture defined.
Signed-off-by: Kees Cook <[email protected] >
Signed-off-by: Borislav Petkov <[email protected] >
Acked-by: Heiko Carstens <[email protected] > # s390
Cc: Andy Lutomirski <[email protected] >
Cc: Arnd Bergmann <[email protected] >
Cc: Dave Hansen <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Michael Ellerman <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Rick Edgecombe <[email protected] >
Cc: Segher Boessenkool <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: x86-ml <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Link: https://lkml.kernel.org/r/[email protected]
2019-11-04 15:34:41 +01:00
Greentime Hu
3350139c0f
nds32: linker script: GCOV kernel may refers data in __exit
...
This patch is used to fix nds32 allmodconfig/allyesconfig build error
because GCOV kernel embeds counters in the kernel for each line
and a part of that embed in __exit text. So we need to keep the
EXIT_TEXT and EXIT_DATA if CONFIG_GCOV_KERNEL=y.
Link: https://lkml.org/lkml/2018/9/1/125
Signed-off-by: Greentime Hu <[email protected] >
Reviewed-by: Masami Hiramatsu <[email protected] >
2018-09-05 10:16:26 +08:00
Greentime Hu
e71ea3bada
nds32: Build infrastructure
...
This patch adds Makefile, Kconfig and vmlinux.lds.S files required for building
an nds32 kernel.
Signed-off-by: Vincent Chen <[email protected] >
Signed-off-by: Greentime Hu <[email protected] >
Acked-by: Arnd Bergmann <[email protected] >
2018-02-22 10:44:35 +08:00