lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 8 Feb 2018 08:52:47 +0800
From:   Alan Kao <nonerkao@...il.com>
To:     Palmer Dabbelt <palmer@...ive.com>
Cc:     albert@...ive.com, rostedt@...dmis.org, mingo@...hat.com,
        yamada.masahiro@...ionext.com, n54@....com,
        akpm@...ux-foundation.org, patches@...ups.riscv.org,
        linux-kernel@...r.kernel.org, sorear2@...il.com,
        alankao@...estech.com, greentime@...estech.com
Subject: Re: [patches] [PATCH v3 0/6] Add dynamic ftrace support for RISC-V
 platforms

On Wed, Feb 07, 2018 at 04:37:10PM -0800, Palmer Dabbelt wrote:
> On Thu, 18 Jan 2018 07:45:39 PST (-0800), nonerkao@...il.com wrote:
> > This patch set includes the building blocks of dynamic ftrace features
> > for RISC-V machines.
> > 
> > Changes in v3:
> >  - Replace the nops at the tracer call sites into a "call ftrace_stub"
> >    instruction for better understanding (1/6 and 2/6)
> > 
> > Changes in v2:
> >  - Fix the return value as writing to kernel text goes wrong (2/6)
> >  - Replace manual comparisons by calling memcmp (2/6)
> >  - Simplify the conditional assignment in the Makefile (1/6)
> > 
> > Alan Kao (6):
> >   riscv/ftrace: Add RECORD_MCOUNT support
> >   riscv/ftrace: Add dynamic function tracer support
> >   riscv/ftrace: Add dynamic function graph tracer support
> >   riscv/ftrace: Add ARCH_SUPPORTS_FTRACE_OPS support
> >   riscv/ftrace: Add DYNAMIC_FTRACE_WITH_REGS support
> >   riscv/ftrace: Add HAVE_FUNCTION_GRAPH_RET_ADDR_PTR support
> > 
> >  arch/riscv/Kconfig              |   3 +
> >  arch/riscv/Makefile             |   3 +
> >  arch/riscv/include/asm/ftrace.h |  47 ++++++++
> >  arch/riscv/kernel/Makefile      |   5 +-
> >  arch/riscv/kernel/ftrace.c      | 142 ++++++++++++++++++++++-
> >  arch/riscv/kernel/mcount-dyn.S  | 241 ++++++++++++++++++++++++++++++++++++++++
> >  arch/riscv/kernel/mcount.S      |  22 ++--
> >  arch/riscv/kernel/stacktrace.c  |   6 +
> >  scripts/recordmcount.pl         |   5 +
> >  9 files changed, 461 insertions(+), 13 deletions(-)
> >  create mode 100644 arch/riscv/kernel/mcount-dyn.S
> 
> Sorry it took me a while to get around to these.  Do you mind submitting a
> v4 that's based on linux-4.15?  I'm getting all sorts of merge errors trying
> to "git am" these.

Sure.  But do you mean the riscv-linux-4.15 at the github repo or
Linus's linux-4.15-rc......,says, rc8?

Also, we have fixed our internal email server issue, so I will send this
v4 set using alankao@...estech.com, by which I signed off all previous
ftrace patches, instead of the current gmail one.  I hope this won't be
confusing to you.

Thanks,
Alan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ