1. 22 4月, 2019 4 次提交
    • M
      csky: Add perf callchain support · cfa4d93b
      Mao Han 提交于
      This patch add support for perf callchain sampling on csky platform.
      As fp is used to unwind the stack, the program being sampled and the
      C library need to be compiled with -mbacktrace for user callchains,
      kernel callchains require CONFIG_STACKTRACE = y.
      
      Changelog:
       - Coding convention with Christoph's advice for riscv's.
      Signed-off-by: NMao Han <han_mao@c-sky.com>
      Signed-off-by: NGuo Ren <ren_guo@c-sky.com>
      Cc: Christoph Hellwig <hch@infradead.org>
      cfa4d93b
    • G
      csky/ftrace: Add dynamic function tracer (include graph tracer) · 28bb030f
      Guo Ren 提交于
      Support dynamic ftrace including dynamic graph tracer. Gcc-csky with -pg
      will produce call site in every function prologue and we can use these
      call site to hook trace function.
      
      gcc with -pg origin call site:
      	push	lr
      	jbsr	_mcount
      	nop32
      	nop32
      
      If the (callee - caller)'s offset is in range of bsr instruction, we'll
      modify code with:
      	push	lr
      	bsr	_mcount
      	nop32
      	nop32
      Else if the (callee - caller)'s offset is out of bsr instrunction, we'll
      modify code with:
      	push	lr
      	movih	r26, ...
      	ori	r26, ...
      	jsr	r26
      
      (r26 is reserved for jsr link reg in csky abiv2 spec.)
      Signed-off-by: NGuo Ren <ren_guo@c-sky.com>
      28bb030f
    • G
      csky: Fixup vdsp&fpu issues in kernel · 3dfc242f
      Guo Ren 提交于
      This fixup is continue to commit 35ff802a (csky: fixup remove
      vdsp implement for kernel.) and in that patch I didn't finish the
      job. We must forbid gcc to generate any vdsp & fpu instructions
      and remove vdsp asm in memmove.S.
      
      eg: For GCC it's -mcpu=ck860 and For AS it's -Wa,-mcpu=ck860fv
      Signed-off-by: NGuo Ren <ren_guo@c-sky.com>
      3dfc242f
    • L
      Linux 5.1-rc6 · 085b7755
      Linus Torvalds 提交于
      085b7755
  2. 21 4月, 2019 10 次提交
  3. 20 4月, 2019 26 次提交