public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] RISC-V: Dynamic ftrace support for RV32I
@ 2022-11-15 20:08 Jamie Iles
  2022-11-15 20:08 ` [PATCH v2 1/4] RISC-V: use REG_S/REG_L for mcount Jamie Iles
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Jamie Iles @ 2022-11-15 20:08 UTC (permalink / raw)
  To: linux-riscv; +Cc: Jamie Iles

This series enables dynamic ftrace support for RV32I bringing it to 
parity with RV64I.  Most of the work is already there, this is largely 
just assembly fixes to handle register sizes, correct handling of the 
psABI calling convention and Kconfig change.

Validated with all ftrace boot time self test with qemu for RV32I and 
RV64I in addition to real tracing on an RV32I FPGA design.

Changes since v1 
(http://lists.infradead.org/pipermail/linux-riscv/2022-October/021103.html)

  - Fixed the use of SZREG in patch 2

Jamie Iles (4):
  RISC-V: use REG_S/REG_L for mcount
  RISC-V: reduce mcount save space on RV32
  RISC-V: preserve a1 in mcount
  RISC-V: enable dynamic ftrace for RV32I

 arch/riscv/Kconfig         | 10 ++++-----
 arch/riscv/kernel/mcount.S | 44 ++++++++++++++++++++------------------
 2 files changed, 28 insertions(+), 26 deletions(-)

-- 
2.37.2


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

end of thread, other threads:[~2022-12-02 19:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-15 20:08 [PATCH v2 0/4] RISC-V: Dynamic ftrace support for RV32I Jamie Iles
2022-11-15 20:08 ` [PATCH v2 1/4] RISC-V: use REG_S/REG_L for mcount Jamie Iles
2022-11-15 20:08 ` [PATCH v2 2/4] RISC-V: reduce mcount save space on RV32 Jamie Iles
2022-11-16  8:31   ` Andrew Jones
2022-11-15 20:08 ` [PATCH v2 3/4] RISC-V: preserve a1 in mcount Jamie Iles
2022-11-15 20:08 ` [PATCH v2 4/4] RISC-V: enable dynamic ftrace for RV32I Jamie Iles
2022-11-16  8:34 ` [PATCH v2 0/4] RISC-V: Dynamic ftrace support " Andrew Jones
2022-12-02 18:43 ` Palmer Dabbelt
2022-12-02 19:00 ` patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox