Received: from eggs.gnu.org ([2001:4830:134:3::10]:39022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzkLb-0006VX-0n for qemu-devel@nongnu.org; Tue, 02 Jun 2015 07:27:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzkLY-0003O7-LV for qemu-devel@nongnu.org; Tue, 02 Jun 2015 07:27:06 -0400 Received: from hall.aurel32.net ([2001:bc8:30d7:101::1]:59989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzkLY-0003NY-GH for qemu-devel@nongnu.org; Tue, 02 Jun 2015 07:27:04 -0400 From: Aurelien Jarno Date: Tue, 2 Jun 2015 13:26:46 +0200 Message-Id: <1433244411-9693-1-git-send-email-aurelien@aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH RFC 0/5] softmmu and s390x memory helper improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Alexander Graf , Yongbok Kim , Paolo Bonzini , Leon Alrae , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Aurelien Jarno , Richard Henderson This patch series is an attempt to improve the speed of the s390x TCG emulation. It's not yet ready (hence the RFC), but I decided to publish it anyway as it might give an other way to do add the probe_write feature. I have Cc:ed the persons that were in Cc: of that mail, sorry if you that it could be spam. The ideas is to add a new tlb_vaddr_to_host_fill similar to the already existing tlb_vaddr_to_host function, but which can trigger guest exception. I guess probe_write could be implemented as a call to this function, ignoring the returned value. More details are in patch 3. Aurelien Jarno (5): target-s390x: add a cpu_mmu_idx_to_asc function. target-390x: support non current ASC in s390_cpu_handle_mmu_fault softmmu: add a tlb_vaddr_to_host_common function target-s390x: function to adjust the length wrt page boundary target-s390x: use softmmu host addr function for mvcp/mvcs include/exec/cpu_ldst.h | 100 +++++++++++++++++++++++++++++++++++----------- target-s390x/cpu.h | 25 ++++++++++-- target-s390x/helper.c | 2 +- target-s390x/mem_helper.c | 55 ++++++++++++------------- target-s390x/translate.c | 2 - 5 files changed, 126 insertions(+), 58 deletions(-) -- 2.1.4