Received: from eggs.gnu.org ([2001:4830:134:3::10]:38366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajS7e-00025u-Ab for qemu-devel@nongnu.org; Fri, 25 Mar 2016 09:49:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajS7Z-0002Eh-FZ for qemu-devel@nongnu.org; Fri, 25 Mar 2016 09:49:54 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:52516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajS7Z-0002EM-A5 for qemu-devel@nongnu.org; Fri, 25 Mar 2016 09:49:49 -0400 From: Leon Alrae Date: Fri, 25 Mar 2016 13:49:29 +0000 Message-ID: <1458913777-28034-1-git-send-email-leon.alrae@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 0/8] mips: implement Inter-Thread Communication Unit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aurelien@aurel32.net Here's version 2 of the ITC feature. The main change is that this patchset is rebased on top of CPS patch series and now ITU block is created within the CPS container instead of Malta board directly. Original description in version 1 of the series: https://lists.gnu.org/archive/html/qemu-devel/2016-02/msg00735.html v2: * rebased on top of CPS patchset and now ITU is created inside CPS * merged patches #1 and #2 into single patch and moved few lines from realize to reset function * using memory_region_transaction_{begin,commit} during ITC reconfiguration * calling itc_reconfiguration also on reset to disable the block Leon Alrae (8): hw/mips: implement ITC Configuration Tags and Storage Cells hw/mips: implement ITC Storage - Control View hw/mips: implement ITC Storage - Empty/Full Sync and Try Views hw/mips: implement ITC Storage - P/V Sync and Try Views hw/mips: implement ITC Storage - Bypass View target-mips: check CP0 enabled for CACHE instruction also in R6 target-mips: make ITC Configuration Tags accessible to the CPU hw/mips/cps: enable ITU for multithreading processors default-configs/mips-softmmu-common.mak | 1 + hw/mips/cps.c | 32 ++ hw/misc/Makefile.objs | 1 + hw/misc/mips_itu.c | 525 ++++++++++++++++++++++++++++++++ include/hw/mips/cps.h | 2 + include/hw/misc/mips_itu.h | 72 +++++ target-mips/cpu.h | 8 +- target-mips/helper.h | 3 + target-mips/op_helper.c | 40 ++- target-mips/translate.c | 63 +++- 10 files changed, 735 insertions(+), 12 deletions(-) create mode 100644 hw/misc/mips_itu.c create mode 100644 include/hw/misc/mips_itu.h -- 2.7.4