mbox series

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

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

Message

Helge Deller Aug. 25, 2023, 6:56 a.m. UTC
From: Helge Deller <deller@gmx.de>

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

v2:
- no functional changes
- just typo fixes in commit messages
- branch rebased on v8.1.0 release

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

Helge Deller (5):
  target/hppa: Add missing PL1 and PL2 privilege levels
  target/hppa: Add privilege 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(-)