Hi Linus, The following changes since commit 57361846b52bc686112da6ca5368d11210796804:
Linux 4.19-rc2 (2018-09-02 14:37:30 -0700) are available in the Git repository at: ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/greentime/linux.git tags/nds32-for-linus-4.19-tag1 for you to fetch changes up to 3350139c0ff3c95724b784f7109987d533cb3ecd: nds32: linker script: GCOV kernel may refers data in __exit (2018-09-05 10:16:26 +0800) ---------------------------------------------------------------- nds32 patches for 4.19 Here is the nds32 patch set based on 4.19-rc2. Contained in here are the bug fixes, building error fixes and ftrace support for nds32. These are the LTP20170427 testing results. Total Tests: 1902 Total Skipped Tests: 592 Total Failures: 420 Kernel Version: 4.19.0-rc2-00018-g2c9d30cc16f0-dirty Machine Architecture: nds32 Signed-off-by: Greentime Hu <greent...@andestech.com> ---------------------------------------------------------------- Greentime Hu (5): nds32: fix logic for module nds32: Only print one page of stack when die to prevent printing too much information. nds32: Fix a kernel panic issue because of wrong frame pointer access. nds32: fix build error because of wrong semicolon nds32: linker script: GCOV kernel may refers data in __exit YueHaibing (1): nds32: add NULL entry to the end of_device_id array Zong Li (12): nds32: Fix empty call trace nds32: Fix get_user/put_user macro expand pointer problem nds32: Clean up the coding style nds32: Extract the checking and getting pointer to a macro nds32/ftrace: Support static function tracer nds32/ftrace: Support static function graph tracer nds32/ftrace: Add RECORD_MCOUNT support nds32/ftrace: Support dynamic function tracer nds32/ftrace: Support dynamic function graph tracer nds32/stack: Get real return address by using ftrace_graph_ret_addr nds32: Remove the deprecated ABI implementation nds32: Add macro definition for offset of lp register on stack arch/nds32/Kconfig | 4 ++ arch/nds32/Makefile | 4 ++ arch/nds32/include/asm/elf.h | 4 +- arch/nds32/include/asm/ftrace.h | 46 ++++++++++++++++++++++ arch/nds32/include/asm/nds32.h | 1 + arch/nds32/include/asm/uaccess.h | 229 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------- arch/nds32/kernel/Makefile | 6 +++ arch/nds32/kernel/atl2c.c | 3 +- arch/nds32/kernel/ex-entry.S | 2 +- arch/nds32/kernel/ex-exit.S | 4 +- arch/nds32/kernel/ftrace.c | 309 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/nds32/kernel/module.c | 4 +- arch/nds32/kernel/stacktrace.c | 6 ++- arch/nds32/kernel/traps.c | 42 +++++--------------- arch/nds32/kernel/vmlinux.lds.S | 12 ++++++ scripts/recordmcount.pl | 3 ++ 16 files changed, 527 insertions(+), 152 deletions(-) create mode 100644 arch/nds32/include/asm/ftrace.h create mode 100644 arch/nds32/kernel/ftrace.c