mbox series

[0/5] target/hppa: Clean up conversion from/to MMU index and priviledge level

Message ID 20230824210434.151971-1-deller@kernel.org (mailing list archive)
Headers show
Series target/hppa: Clean up conversion from/to MMU index and priviledge level | expand

Message

Helge Deller Aug. 24, 2023, 9:04 p.m. UTC
From: Helge Deller <deller@gmx.de>

Make the conversion between priviledge level and QEMU MMU index
consitent, and afterwards switch to MMU indices 11-15.

Signed-off-by: Helge Deller <deller@gmx.de>

Helge Deller (5):
  target/hppa: Add missing PL1 and PL2 priviledge levels
  target/hppa: Add priviledge to MMU index conversion helpers
  target/hppa: Do not use hardcoded value for tlb_flush_*()
  target/hppa: Use privilege helper in hppa_get_physical_address()
  target/hppa: Switch to use MMU indices 11-15

 target/hppa/cpu.h        | 19 +++++++++++++++----
 target/hppa/helper.c     |  2 +-
 target/hppa/mem_helper.c | 16 ++++++++--------
 target/hppa/translate.c  |  9 +++++----
 4 files changed, 29 insertions(+), 17 deletions(-)