qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v4 0/2] arm: Add support for 'info tlb' command


From: NDNF
Subject: [PATCH v4 0/2] arm: Add support for 'info tlb' command
Date: Wed, 18 Aug 2021 14:47:30 +0300
User-agent: StGit/0.19

This adds hmp 'info tlb' command support for the arm platform.
The limitation is that this only implements a page walker for
ARMv8-A AArch64 Long Descriptor format, 32bit addressing is
not supported yet.

To reuse existing code, this patch also extracts some APIs from
helper.c, including regime_translation_disabled(),
pt_start_level_stage1(), regime_ttbr(), arm_ldq_ptw().

---
v4:
    Dividing the patch into two parts.
    Removed some of the previously described
    problems by switching to arm_ldq_ptw().
v3: rebase to latest mainline.
v2:
    o fix coding style
    o extract common code pt_start_level_stage1()
---

Signed-off-by: Changbin Du <changbin.du@gmail.com>
Signed-off-by: Ivanov Arkady <arkaisp2021@gmail.com>

---

Ivanov Arkady (2):
      target/arm: Refactoring MMU helper function
      arm/monitor: Add support for 'info tlb' command


 hmp-commands-info.hx   |    3 +
 target/arm/helper.c    |   35 +---------
 target/arm/internals.h |   39 +++++++++++
 target/arm/monitor.c   |  170 ++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 214 insertions(+), 33 deletions(-)

--
Ivanov Arkady



reply via email to

[Prev in Thread] Current Thread [Next in Thread]