mbox series

[v3,0/3] Clean up MMU translation

Message ID 20210624202131.108255-1-bruno.larsen@eldorado.org.br (mailing list archive)
Headers show
Series Clean up MMU translation | expand

Message

Bruno Larsen (billionai) June 24, 2021, 8:21 p.m. UTC
This is the final part of the MMU fixes that were needed to support
disable-tcg, focusing on a possible bug on the second level address
translation of radix64 MMUs, and some changes to hash32 and hash64 to
work the same as rtadix64.

Changes for v3:
 * removed patches that were already applied
 * fixed comments on last patch
 * added 2 new patches

Changes for v2:
 * rebase on ppc-for-6.1
 * added the bugfix

Bruno Larsen (billionai) (3):
  target/ppc: fix address translation bug for radix mmus
  target/ppc: change ppc_hash32_xlate to use mmu_idx
  target/ppc: changed ppc_hash64_xlate to use mmu_idx

 target/ppc/mmu-book3s-v3.h | 13 ++++++++++++
 target/ppc/mmu-hash32.c    | 18 ++++++++--------
 target/ppc/mmu-hash32.h    |  2 +-
 target/ppc/mmu-hash64.c    | 43 +++++++++++++++++++-------------------
 target/ppc/mmu-hash64.h    |  2 +-
 target/ppc/mmu-radix64.c   | 37 ++++++++++++++++++--------------
 target/ppc/mmu-radix64.h   |  2 +-
 target/ppc/mmu_helper.c    | 12 ++++++-----
 8 files changed, 74 insertions(+), 55 deletions(-)