Skip to content

Remaining MMU clean up patches

BALATON Zoltan qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest43 patches 48 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/43target/ppc: Reorganise and rename ppc_hash32_pp_prot()target/ppc/mmu-hash32.c target/ppc/mmu-hash32.h target/ppc/mmu_common.c+15 -241 reply
2/43target/ppc/mmu_common.c: Remove local name for a constanttarget/ppc/mmu_common.c+2 -31 reply
3/43target/ppc/mmu_common.c: Remove single use local variabletarget/ppc/mmu_common.c+1 -31 reply
4/43target/ppc/mmu_common.c: Remove single use local variabletarget/ppc/mmu_common.c+2 -31 reply
5/43target/ppc/mmu_common.c: Remove another single use local variabletarget/ppc/mmu_common.c+3 -41 reply
6/43target/ppc/mmu_common.c: Remove yet another single use local variabletarget/ppc/mmu_common.c+2 -31 reply
7/43target/ppc/mmu_common.c: Return directly in ppc6xx_tlb_pte_check()target/ppc/mmu_common.c+3 -71 reply
8/43target/ppc/mmu_common.c: Simplify ppc6xx_tlb_pte_check()target/ppc/mmu_common.c+19 -241 reply
9/43target/ppc/mmu_common.c: Remove unused field from mmu_ctx_ttarget/ppc/mmu_common.c+0 -21 reply
10/43target/ppc/mmu_common.c: Remove hash field from mmu_ctx_ttarget/ppc/mmu_common.c+8 -111 reply
11/43target/ppc/mmu_common.c: Remove pte_update_flags()target/ppc/mmu_common.c+13 -283 replies
12/43target/ppc/mmu_common.c: Remove nx field from mmu_ctx_ttarget/ppc/mmu_common.c+12 -121 reply
13/43target/ppc/mmu_common.c: Convert local variable to booltarget/ppc/mmu_common.c+3 -31 reply
14/43target/ppc/mmu_common.c: Remove single use local variabletarget/ppc/mmu_common.c+1 -31 reply
15/43target/ppc/mmu_common.c: Simplify a switch statementtarget/ppc/mmu_common.c+4 -151 reply
16/43target/ppc/mmu_common.c: Inline and remove ppc6xx_tlb_pte_check()target/ppc/mmu_common.c+22 -491 reply
17/43target/ppc/mmu_common.c: Remove ptem field from mmu_ctx_ttarget/ppc/mmu_common.c+14 -91 reply
18/43target/ppc: Add function to get protection key for hash32 MMUtarget/ppc/mmu-hash32.c target/ppc/mmu-hash32.h target/ppc/mmu_common.c+12 -51 reply
19/43target/ppc/mmu-hash32.c: Inline and remove ppc_hash32_pte_prot()target/ppc/mmu-hash32.c+4 -151 reply
20/43target/ppc/mmu_common.c: Init variable in function that relies on ittarget/ppc/mmu_common.c+2 -21 reply
21/43target/ppc/mmu_common.c: Remove key field from mmu_ctx_ttarget/ppc/mmu_common.c+14 -121 reply
22/43target/ppc/mmu_common.c: Stop using ctx in ppc6xx_tlb_check()target/ppc/mmu_common.c+13 -131 reply
23/43target/ppc/mmu_common.c: Rename function parametertarget/ppc/mmu_common.c+9 -91 reply
24/43target/ppc/mmu_common.c: Use defines instead of numeric constantstarget/ppc/mmu_common.c+13 -131 reply
25/43target/ppc: Remove bat_size_prot()target/ppc/mmu-hash32.c target/ppc/mmu-hash32.h target/ppc/mmu_common.c+27 -571 reply
26/43target/ppc/mmu_common.c: Stop using ctx in get_bat_6xx_tlb()target/ppc/mmu_common.c+9 -81 reply
27/43target/ppc/mmu_common.c: Remove mmu_ctx_ttarget/ppc/mmu_common.c+7 -181 reply
28/43target/ppc/mmu-hash32.c: Inline and remove ppc_hash32_pte_raddr()target/ppc/mmu-hash32.c+5 -131 reply
29/43target/ppc/mmu-hash32.c: Move get_pteg_offset32() to the headertarget/ppc/mmu-hash32.c target/ppc/mmu-hash32.h+5 -81 reply
30/43target/ppc: Unexport some functions from mmu-book3s-v3.hhw/ppc/spapr_vhyp_mmu.c target/ppc/mmu-book3s-v3.h target/ppc/mmu-hash64.c +1 more+54 -571 reply
31/43target/ppc/mmu-radix64: Remove externally unused parts from headertarget/ppc/mmu-book3s-v3.c target/ppc/mmu-radix64.c target/ppc/mmu-radix64.h+50 -531 reply
32/43target/ppc: Remove includes from mmu-book3s-v3.htarget/ppc/mmu-book3s-v3.h target/ppc/mmu-hash64.c target/ppc/mmu-radix64.c+2 -31 reply
33/43target/ppc: Remove single use static inline functiontarget/ppc/internal.h target/ppc/translate/vsx-impl.c.inc+4 -112 replies
34/43target/ppc/internal.h: Consolidate ifndef CONFIG_USER_ONLY blockstarget/ppc/internal.h+10 -130 replies
35/43target/ppc/mmu-hash32.c: Change parameter type of ppc_hash32_bat_lookup()target/ppc/mmu-hash32.c+2 -31 reply
36/43target/ppc/mmu-hash32: Remove some static inlines from headertarget/ppc/mmu-hash32.c target/ppc/mmu-hash32.h+3 -344 replies
37/43target/ppc/mmu-hash32.c: Return and use pte address instead of base + offsettarget/ppc/mmu-hash32.c+20 -311 reply
38/43target/ppc/mmu-hash32.c: Use pte address as parameter instead of offsettarget/ppc/mmu-hash32.c+14 -170 replies
39/43target/ppc: Change parameter type of some inline functionstarget/ppc/mmu-hash32.c target/ppc/mmu-hash32.h target/ppc/mmu_common.c+22 -231 reply
40/43target/ppc: Change parameter type of ppc64_v3_radix()hw/ppc/spapr_rtas.c target/ppc/mmu-book3s-v3.h target/ppc/mmu_common.c+5 -51 reply
41/43target/ppc: Change MMU xlate functions to take CPUStatetarget/ppc/internal.h target/ppc/mmu-booke.c target/ppc/mmu-booke.h +8 more+45 -482 replies
42/43target/ppc/mmu-hash32.c: Change parameter type of ppc_hash32_set_[rc]target/ppc/mmu-hash32.c+8 -60 replies
43/43target/ppc/mmu-hash32.c: Change parameter type of ppc_hash32_direct_storetarget/ppc/mmu-hash32.c+3 -60 replies

Reviews trailers per patch

36 of 43 patches have a Reviewed-by or Acked-by.

PatchNicholas Piggin
1/43R-b
2/43R-b
3/43R-b
4/43R-b
5/43R-b
6/43R-b
7/43R-b
8/43R-b
9/43R-b
10/43R-b
11/43R-b
12/43R-b R-b
13/43R-b
14/43R-b
15/43R-b
16/43R-b
17/43R-b
18/43R-b
19/43R-b
20/43R-b
21/43R-b
22/43R-b
23/43R-b
24/43R-b
25/43R-b
26/43R-b
27/43R-b
28/43R-b
29/43R-b
30/43R-b
31/43A-b
32/43A-b
33/43
34/43
35/43R-b
36/43
37/43R-b
38/43
39/43A-b
40/43A-b
41/43
42/43
43/43

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

Read the v1 thread

Cover letter [PATCH 00/43] Remaining MMU clean up patches

This is the rest of the MMU clean up series the first part of which was merged. Here are the remaining patches rebased and some more added.

Regards,
BALATON Zoltan

BALATON Zoltan (43):
target/ppc: Reorganise and rename ppc_hash32_pp_prot() target/ppc/mmu_common.c: Remove local name for a constant target/ppc/mmu_common.c: Remove single use local variable target/ppc/mmu_common.c: Remove single use local variable target/ppc/mmu_common.c: Remove another single use local variable target/ppc/mmu_common.c: Remove yet another single use local variable target/ppc/mmu_common.c: Return directly in ppc6xx_tlb_pte_check() target/ppc/mmu_common.c: Simplify ppc6xx_tlb_pte_check() target/ppc/mmu_common.c: Remove unused field from mmu_ctx_t target/ppc/mmu_common.c: Remove hash field from mmu_ctx_t target/ppc/mmu_common.c: Remove pte_update_flags() target/ppc/mmu_common.c: Remove nx field from mmu_ctx_t target/ppc/mmu_common.c: Convert local variable to bool target/ppc/mmu_common.c: Remove single use local variable target/ppc/mmu_common.c: Simplify a switch statement target/ppc/mmu_common.c: Inline and remove ppc6xx_tlb_pte_check() target/ppc/mmu_common.c: Remove ptem field from mmu_ctx_t target/ppc: Add function to get protection key for hash32 MMU target/ppc/mmu-hash32.c: Inline and remove ppc_hash32_pte_prot() target/ppc/mmu_common.c: Init variable in function that relies on it target/ppc/mmu_common.c: Remove key field from mmu_ctx_t target/ppc/mmu_common.c: Stop using ctx in ppc6xx_tlb_check() target/ppc/mmu_common.c: Rename function parameter target/ppc/mmu_common.c: Use defines instead of numeric constants target/ppc: Remove bat_size_prot() target/ppc/mmu_common.c: Stop using ctx in get_bat_6xx_tlb() target/ppc/mmu_common.c: Remove mmu_ctx_t target/ppc/mmu-hash32.c: Inline and remove ppc_hash32_pte_raddr() target/ppc/mmu-hash32.c: Move get_pteg_offset32() to the header target/ppc: Unexport some functions from mmu-book3s-v3.h target/ppc/mmu-radix64: Remove externally unused parts from header target/ppc: Remove includes from mmu-book3s-v3.h target/ppc: Remove single use static inline function target/ppc/internal.h: Consolidate ifndef CONFIG_USER_ONLY blocks target/ppc/mmu-hash32.c: Change parameter type of

    ppc_hash32_bat_lookup()

target/ppc/mmu-hash32: Remove some static inlines from header target/ppc/mmu-hash32.c: Return and use pte address instead of base +
offset
target/ppc/mmu-hash32.c: Use pte address as parameter instead of
offset
target/ppc: Change parameter type of some inline functions target/ppc: Change parameter type of ppc64_v3_radix() target/ppc: Change MMU xlate functions to take CPUState target/ppc/mmu-hash32.c: Change parameter type of ppc_hash32_set_[rc] target/ppc/mmu-hash32.c: Change parameter type of
ppc_hash32_direct_store

 hw/ppc/spapr_rtas.c                 |   2 +-
 hw/ppc/spapr_vhyp_mmu.c             |  21 +-
 target/ppc/internal.h               |  34 +--
 target/ppc/mmu-book3s-v3.c          |   1 -
 target/ppc/mmu-book3s-v3.h          |  47 +---
 target/ppc/mmu-booke.c              |   5 +-
 target/ppc/mmu-booke.h              |   2 +-
 target/ppc/mmu-hash32.c             | 165 ++++--------
 target/ppc/mmu-hash32.h             |  86 +++---
 target/ppc/mmu-hash64.c             |  54 +++-
 target/ppc/mmu-hash64.h             |   3 +-
 target/ppc/mmu-radix64.c            |  57 +++-
 target/ppc/mmu-radix64.h            |  55 +---
 target/ppc/mmu_common.c             | 405 ++++++++++------------------
 target/ppc/mmu_helper.c             |   9 +-
 target/ppc/translate/vsx-impl.c.inc |   6 +-
 16 files changed, 376 insertions(+), 576 deletions(-)
Signature · 1 line
2.30.9