Skip to content

ARM aarch64 TCG tlb fast lookup

Jani Kokkonen qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest0 of 1 patch 3 repliesIn review
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

-Fix whitespace and indentation
-Pass mem_index into tcg_out_tlb_read() and calculate tlb_offset inside
tcg_out_tlb_read()
-Add comments in tcg_out_tlb_read()
-Change parameter type from int to TCGREg for data_reg and addr_reg parameters
in add_qemu_ldst_label()
-Use extended register for tcg_out_cmp() in tcg_out_tlb_read() only if needed

Patches in v2 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

PatchRichard HendersonClaudio Fontana
SeriesR-b R-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 [Qemu-devel] [PATCH V2 0/1] ARM aarch64 TCG tlb fast lookup

This patch implements the TCG tlb fast lookup in
tcg_out_qemu_ld/st for the aarch64 TCG target.
Supports also CONFIG_QEMU_LDST_OPTIMIZATION.

Tested running on a x86-64 physical machine running Foundation v8, running a linux 3.2.0 minimal host system based on linaro v8 image build 0.8.4423 for user space.

Tested guests: arm v5, PPC64, sparc, i386 linux test images. Also tested on x86-64/linux built with buildroot.

Changes in v2:
-Fix whitespace and indentation
-Pass mem_index into tcg_out_tlb_read() and calculate tlb_offset inside
tcg_out_tlb_read()
-Add comments in tcg_out_tlb_read()
-Change parameter type from int to TCGREg for data_reg and addr_reg parameters
in add_qemu_ldst_label()
-Use extended register for tcg_out_cmp() in tcg_out_tlb_read() only if needed

Jani Kokkonen (1):
tcg/aarch64: Implement tlb lookup fast path

 configure                |    2 +-
 include/exec/exec-all.h  |   14 +++
 tcg/aarch64/tcg-target.c |  224 +++++++++++++++++++++++++++++++++++-----------
 3 files changed, 189 insertions(+), 51 deletions(-)
Signature · 1 line
1.7.9.5