Hi; these patches are intended to replace patches 4, 5 and 6 in Edgar's v4 "target-arm: Preparations for A64 EL2 and 3" series. They fix some bugs I noticed when I was testing that series: * missing changes for SRS * changes not bisectable due to earlier patch making assumptions about mmu index values * thumb2 stores done with wrong mmu index
by adding a couple of preparatory cleanup patches to address the SRS and LDRT/STRT areas. The main "Use get_mem_index" patch is then a simple switch from IS_USER(s) to get_mem_index(s), since we've already dealt with all the complicated bits. Edgar E. Iglesias (3): target-arm: Move get_mem_index to translate.h target-arm: A32: Use get_mem_index for load/stores target-arm: Use a 1:1 mapping between EL and MMU index Peter Maydell (2): target-arm/translate.c: Clean up mmu index handling for ldrt/strt target-arm/translate.c: Use get_mem_index() for SRS memory accesses target-arm/cpu.h | 8 +- target-arm/translate-a64.c | 9 -- target-arm/translate.c | 245 +++++++++++++++++++++++---------------------- target-arm/translate.h | 5 + 4 files changed, 134 insertions(+), 133 deletions(-) -- 1.9.2