From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLvKY-0002fq-0Q for qemu-devel@nongnu.org; Thu, 12 Feb 2015 10:05:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLvKP-0006bA-Dn for qemu-devel@nongnu.org; Thu, 12 Feb 2015 10:05:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLvKP-0006aw-6E for qemu-devel@nongnu.org; Thu, 12 Feb 2015 10:05:17 -0500 From: Andrew Jones Date: Thu, 12 Feb 2015 16:05:02 +0100 Message-Id: <1423753507-30542-1-git-send-email-drjones@redhat.com> Subject: [Qemu-devel] [PATCH 0/5] tcg-arm: LPAE: fix and extend xn control List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org This series fixes and extends the determination of whether or not an address is executable for LPAE translations. The main patch is 4/5, and describes the details in its commit message. Patches 1-3 prepare for the main patch, and patch 5/5 is a code cleanup made possible by introducing a new helper function with the main patch. This is actually a second version of [1], now based on Peter's recent translation regime support. However, as the series has changed substantially, I'm not calling this 'v2'. I believe I've addressed all of Peter's comments on that first posting in this refresh though. Tested by booting Linux on mach-virt with cortex-a15 and cortex-a57 (just up to 'Unable to mount root fs'), and also with a kvm-unit-tests test. The curious can check out the unit test here [2]. Thanks in advance for reviews! drew [1] http://lists.gnu.org/archive/html/qemu-devel/2015-01/msg01433.html [2] https://github.com/rhdrjones/kvm-unit-tests/commit/ee553e4bb795b0150e31c794bf8953dfb08d619a Andrew Jones (5): target-arm: convert check_ap to get_rw_prot target-arm: enable get_rw_prot to take simple AP target-arm: add an is_user param to get_rw_prot target-arm: get_phys_addr_lpae: more xn control target-arm: apply get_S1prot to get_phys_addr_v6 target-arm/helper.c | 193 ++++++++++++++++++++++++++++++++++------------------ 1 file changed, 126 insertions(+), 67 deletions(-) -- 1.9.3