[PATCH 00/28] target/arm: Split out ptw.c from helper.c

Richard Henderson posted 28 patches 1 year, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220604040607.269301-1-richard.henderson@linaro.org
Maintainers: Peter Maydell <peter.maydell@linaro.org>
target/arm/internals.h  |   23 +-
target/arm/helper.c     | 2555 +--------------------------------------
target/arm/ptw.c        | 2540 ++++++++++++++++++++++++++++++++++++++
target/arm/tlb_helper.c |   26 +
target/arm/meson.build  |    1 +
5 files changed, 2590 insertions(+), 2555 deletions(-)
create mode 100644 target/arm/ptw.c
[PATCH 00/28] target/arm: Split out ptw.c from helper.c
Posted by Richard Henderson 1 year, 11 months ago
The object here is to move 2500 lines out of helper.c.  Yay!


r~


Richard Henderson (28):
  target/arm: Move stage_1_mmu_idx decl to internals.h
  target/arm: Move get_phys_addr to ptw.c
  target/arm: Move get_phys_addr_v5 to ptw.c
  target/arm: Move get_phys_addr_v6 to ptw.c
  target/arm: Move get_phys_addr_pmsav5 to ptw.c
  target/arm: Move get_phys_addr_pmsav7_default to ptw.c
  target/arm: Move get_phys_addr_pmsav7 to ptw.c
  target/arm: Move get_phys_addr_pmsav8 to ptw.c
  target/arm: Move pmsav8_mpu_lookup to ptw.c
  target/arm: Move pmsav7_use_background_region to ptw.c
  target/arm: Move v8m_security_lookup to ptw.c
  target/arm: Move m_is_{ppb,system}_region to ptw.c
  target/arm: Move get_level1_table_address to ptw.c
  target/arm: Move combine_cacheattrs and subroutines to ptw.c
  target/arm: Move get_phys_addr_lpae to ptw.c
  target/arm: Move arm_{ldl,ldq}_ptw to ptw.c
  target/arm: Move {arm_s1_,}regime_using_lpae_format to tlb_helper.c
  target/arm: Move arm_pamax, pamax_map into ptw.c
  target/arm: Move get_S1prot, get_S2prot to ptw.c
  target/arm: Move check_s2_mmu_setup to ptw.c
  target/arm: Move aa32_va_parameters to ptw.c
  target/arm: Move ap_to_tw_prot etc to ptw.c
  target/arm: Move regime_is_user to ptw.c
  target/arm: Move regime_ttbr to ptw.c
  target/arm: Move regime_translation_disabled to ptw.c
  target/arm: Move arm_cpu_get_phys_page_attrs_debug to ptw.c
  target/arm: Move stage_1_mmu_idx, arm_stage1_mmu_idx to ptw.c
  target/arm: Pass CPUARMState to arm_ld[lq]_ptw

 target/arm/internals.h  |   23 +-
 target/arm/helper.c     | 2555 +--------------------------------------
 target/arm/ptw.c        | 2540 ++++++++++++++++++++++++++++++++++++++
 target/arm/tlb_helper.c |   26 +
 target/arm/meson.build  |    1 +
 5 files changed, 2590 insertions(+), 2555 deletions(-)
 create mode 100644 target/arm/ptw.c

-- 
2.34.1
Re: [PATCH 00/28] target/arm: Split out ptw.c from helper.c
Posted by Peter Maydell 1 year, 10 months ago
On Sat, 4 Jun 2022 at 05:09, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> The object here is to move 2500 lines out of helper.c.  Yay!
>



Applied to target-arm.next, thanks.

-- PMM