From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnrS4-0002x5-Jg for qemu-devel@nongnu.org; Fri, 23 May 2014 11:32:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnrRp-0001wa-9C for qemu-devel@nongnu.org; Fri, 23 May 2014 11:32:08 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnrRp-0001tx-3R for qemu-devel@nongnu.org; Fri, 23 May 2014 11:31:53 -0400 From: Peter Maydell Date: Fri, 23 May 2014 16:31:37 +0100 Message-Id: <1400859102-15779-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/5] mmu index cleanup/fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Edgar E. Iglesias" , peter.crosthwaite@xilinx.com, patches@linaro.org, aggelerf@ethz.ch, alex.bennee@linaro.org, rth@twiddle.net 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