Skip to content

target/ppc: Remove most MO_TE uses in cpu_ld/st_code/data()

Philippe Mathieu-Daudé qemu-devel 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest11 patches 0 repliesNew
  2. v511 patches 16 repliesSuperseded
  3. v411 patches 1 replySuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v321 patches2 repliesSuperseded
v28 patches0 repliesSuperseded
v15 patches1 replySuperseded

Changes in v6 from the cover letter

- Renamed mo_endian_env() -> ppc_data_endian_env()
- Renamed ppc_code_endian() -> ppc_code_endian_dc()
- Clarified expression used in ppc_code_endian_dc()

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11target/ppc: Inline cpu_ldl_data_ra() calls in ICBI helperstarget/ppc/mem_helper.c+8 -30 replies
2/11target/ppc: Inline cpu_ld/st_mmuidx_ra() calls in memory helperstarget/ppc/mem_helper.c+32 -90 replies
3/11target/ppc: Inline cpu_ld/st_data_ra() calls in do_hash()target/ppc/tcg-excp_helper.c+7 -30 replies
4/11target/ppc: Expect page translation hash addresses to be alignedtarget/ppc/tcg-excp_helper.c+1 -10 replies
5/11target/ppc: Introduce ppc_data_endian_env() helpertarget/ppc/internal.h target/ppc/mem_helper.c target/ppc/tcg-excp_helper.c+22 -100 replies
6/11target/ppc: Introduce ppc_code_endian_dc() helpertarget/ppc/translate.c+12 -50 replies
7/11target/ppc: Inline need_byteswap() and replace translator_ldl_swap()target/ppc/translate.c+3 -90 replies
8/11target/ppc: Check endianness via env in ppc_disas_set_info()target/ppc/cpu_init.c+1 -10 replies
9/11target/ppc: Introduce ppc_env_is_little_endian() helpertarget/ppc/cpu_init.c target/ppc/gdbstub.c target/ppc/internal.h +1 more+13 -110 replies
10/11target/ppc: Check endianness at runtime in ppc_data_endian_env()target/ppc/internal.h+1 -10 replies
11/11target/ppc: Inline cpu_ldl_code() call in ppc_ldl_code()target/ppc/tcg-excp_helper.c+4 -130 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchAnton Johansson
1/11R-b
2/11R-b
3/11R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b

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

Read the v6 thread

Cover letter [PATCH v6 00/11] target/ppc: Remove most MO_TE uses in cpu_ld/st_code/data()

All series reviewed.

Since v5:
- Renamed mo_endian_env() -> ppc_data_endian_env()
- Renamed ppc_code_endian() -> ppc_code_endian_dc()
- Clarified expression used in ppc_code_endian_dc()

Since v4:
- Fixed incorrect rebase

Since v3 (DATA path):
- Remove MO_UNALN in do_HASH (rth)
- Complete CODE path

Philippe Mathieu-Daudé (11):
target/ppc: Inline cpu_ldl_data_ra() calls in ICBI helpers target/ppc: Inline cpu_ld/st_mmuidx_ra() calls in memory helpers target/ppc: Inline cpu_ld/st_data_ra() calls in do_hash() target/ppc: Expect page translation hash addresses to be aligned target/ppc: Introduce ppc_data_endian_env() helper target/ppc: Introduce ppc_code_endian_dc() helper target/ppc: Inline need_byteswap() and replace translator_ldl_swap() target/ppc: Check endianness via env in ppc_disas_set_info() target/ppc: Introduce ppc_env_is_little_endian() helper target/ppc: Check endianness at runtime in ppc_data_endian_env() target/ppc: Inline cpu_ldl_code() call in ppc_ldl_code()

 target/ppc/internal.h        | 17 ++++++++++
 target/ppc/cpu_init.c        |  9 ++----
 target/ppc/gdbstub.c         |  2 +-
 target/ppc/mem_helper.c      | 60 ++++++++++++++++++++++++++----------
 target/ppc/tcg-excp_helper.c | 27 +++++++---------
 target/ppc/translate.c       | 21 +++++++------
 6 files changed, 87 insertions(+), 49 deletions(-)
Signature · 1 line
2.52.0