From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQHHg-0003vu-Mc for qemu-devel@nongnu.org; Fri, 14 Aug 2015 11:52:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQHHd-0003Ue-FV for qemu-devel@nongnu.org; Fri, 14 Aug 2015 11:52:44 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:33085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQHHd-0003UM-9o for qemu-devel@nongnu.org; Fri, 14 Aug 2015 11:52:41 -0400 Received: by wijp15 with SMTP id p15so23701445wij.0 for ; Fri, 14 Aug 2015 08:52:40 -0700 (PDT) From: Alvise Rigo Date: Fri, 14 Aug 2015 17:55:26 +0200 Message-Id: <1439567732-14118-1-git-send-email-a.rigo@virtualopensystems.com> Subject: [Qemu-devel] [mttcg RFC v4 0/6] Atomic slow-path for mttcg List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, mttcg@listserver.greensocs.com Cc: claudio.fontana@huawei.com, pbonzini@redhat.com, jani.kokkonen@huawei.com, tech@virtualopensystems.com, alex.bennee@linaro.org, aurelien@aurel32.net This is just an update with the relevant patches needed to port the v4 of "Slow-path for atomic instruction translation" to mttcg v7. The full source code is available at the following GIT repository: https://git.virtualopensystems.com/dev/qemu-mt.git branch: slowpath-for-atomic-v4-mttcg The [PATCH 6/6] is the first step to use runtime helpers in place of the TCG load/store instructions as suggested by Aurelien Jarno. The patch-series addresses also some of the Paolo's comments, however the exclusive bitmap is still using one bit for each vCPU. Alvise Rigo (6): cpus: async_run_on_cpu: kick only if needed cputlb: wrap tlb_flush with the a new function exec: ram_addr: Fix exclusive bitmap accessor softmmu_llsc_template.h: move to multithreading softmmu_template.h: move to multithreading target-arm: Use a runtime helper for excl accesses cpus.c | 4 +++- cputlb.c | 25 ++++++++++++++++---- include/exec/exec-all.h | 1 + include/exec/ram_addr.h | 61 +++++++++++++++++++++++++++++++++++++++++-------- include/qom/cpu.h | 4 ++++ softmmu_llsc_template.h | 59 +++++++++++++++++++++++++++++++++++------------ softmmu_template.h | 36 ++++++++++++++++++++++++----- target-arm/helper.h | 2 ++ target-arm/op_helper.c | 11 +++++++++ target-arm/translate.c | 12 +++++++++- 10 files changed, 177 insertions(+), 38 deletions(-) -- 2.5.0