linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ARC: ARCv2: Introduce SmaRT support
@ 2018-11-16 10:44 Eugeniy Paltsev
  2018-11-16 10:44 ` [PATCH 1/3] ARC: split show_faulting_vma for logic and representation parts Eugeniy Paltsev
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eugeniy Paltsev @ 2018-11-16 10:44 UTC (permalink / raw)
  To: linux-snps-arc, Vineet Gupta
  Cc: linux-kernel, Alexey Brodkin, Eugeniy Paltsev

Add compile-time 'ARC_SMART_TRACE' option for enabling SmaRT support.
Small real time trace (SmaRT) is an optional on-chip debug hardware
component that captures instruction-trace history. It stores the
address of the most recent non-sequential instructions executed into
internal buffer.

NOTE:
this PATCH series has prerequisite:
  http://patchwork.ozlabs.org/patch/986820/

Changes RFCv2->PATCHv1:
 * Move smart_exists, smart_supported and smart_stack_size functions
   to smart.h
 * Improve Kconfig SmaRT help description.
 * Other minor changes.

Changes RFCv1->RFCv2:
 * Changes in output display:
   * Only print VMAs if they are changed.
   * Split entry for two lines and print source and destination
     addresses on different lines.
 * Add procfs options to configure/suspend SmaRT in runtime.
 * Add SmaRT version check. Limit supported SmaRT versions to >= 0x03.
 * Move all SmaRT related stuff to smart.h and smart.c
 * Other minor changes.

Eugeniy Paltsev (3):
  ARC: split show_faulting_vma for logic and representation parts
  ARC: ARCv2: Introduce SmaRT support
  ARC: show detaled SmaRT configuration in mumbojumbo

 arch/arc/Kconfig               |  12 ++
 arch/arc/include/asm/arcregs.h |  23 ++++
 arch/arc/include/asm/bug.h     |   9 ++
 arch/arc/include/asm/smart.h   |  62 ++++++++++
 arch/arc/kernel/Makefile       |   1 +
 arch/arc/kernel/setup.c        |  21 +++-
 arch/arc/kernel/smart.c        | 253 +++++++++++++++++++++++++++++++++++++++++
 arch/arc/kernel/traps.c        |   8 ++
 arch/arc/kernel/troubleshoot.c |  46 ++++++--
 arch/arc/mm/fault.c            |   2 +
 10 files changed, 420 insertions(+), 17 deletions(-)
 create mode 100644 arch/arc/include/asm/smart.h
 create mode 100644 arch/arc/kernel/smart.c

-- 
2.14.5


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

end of thread, other threads:[~2018-11-16 10:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-16 10:44 [PATCH 0/3] ARC: ARCv2: Introduce SmaRT support Eugeniy Paltsev
2018-11-16 10:44 ` [PATCH 1/3] ARC: split show_faulting_vma for logic and representation parts Eugeniy Paltsev
2018-11-16 10:44 ` [PATCH 2/3] ARC: ARCv2: Introduce SmaRT support Eugeniy Paltsev
2018-11-16 10:44 ` [PATCH 3/3] ARC: show detaled SmaRT configuration in mumbojumbo Eugeniy Paltsev

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