Skip to content

Hexagon: performance improvements - tlb, l2vic

Brian Cain qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/hexagon: flush the softtlb once per tlbinvasidhw/hexagon/hexagon_tlb.c include/hw/hexagon/hexagon_tlb.h target/hexagon/cpu.h +5 more+58 -20 replies
2/3target/hexagon: only flush the softtlb when SSR.ASID changestarget/hexagon/cpu_helper.c target/hexagon/hex_mmu.c target/hexagon/hex_mmu.h+8 -180 replies
3/3hw/intc/hex-l2vic: find the next pending irq a word at a timehw/intc/hex-l2vic.c+14 -31 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchPierrick Bouvier
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] Hexagon: performance improvements - tlb, l2vic

In this series we have significant performance improvements for use cases like booting linux. The gains come from avoiding redundant TLB flushes and optimizing the critical path of the interrupt controller scan loop.

In v2:
- clarified the comment in l2vic_update_all()

v1: https://lore.kernel.org/qemu-devel/[email protected]/

Brian Cain (3):
target/hexagon: flush the softtlb once per tlbinvasid target/hexagon: only flush the softtlb when SSR.ASID changes hw/intc/hex-l2vic: find the next pending irq a word at a time

 include/hw/hexagon/hexagon_tlb.h |  2 ++
 target/hexagon/cpu.h             |  8 ++++++++
 target/hexagon/gen_tcg_sys.h     |  3 +++
 target/hexagon/helper.h          |  1 +
 target/hexagon/hex_mmu.h         |  3 ++-
 hw/hexagon/hexagon_tlb.c         | 18 ++++++++++++++++++
 hw/intc/hex-l2vic.c              | 17 ++++++++++++++---
 target/hexagon/cpu_helper.c      | 17 +++--------------
 target/hexagon/hex_mmu.c         | 28 +++++++++++++++++++++++-----
 target/hexagon/op_helper.c       |  6 ++++++
 10 files changed, 80 insertions(+), 23 deletions(-)
Signature · 1 line
2.34.1