From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e30Lb-0007vm-Ao for qemu-devel@nongnu.org; Fri, 13 Oct 2017 09:49:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e30LY-0006Zq-9F for qemu-devel@nongnu.org; Fri, 13 Oct 2017 09:49:55 -0400 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:49172) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e30LY-0006Yk-3M for qemu-devel@nongnu.org; Fri, 13 Oct 2017 09:49:52 -0400 Received: by mail-pf0-x241.google.com with SMTP id l188so10307371pfc.6 for ; Fri, 13 Oct 2017 06:49:50 -0700 (PDT) From: Stafford Horne Date: Fri, 13 Oct 2017 22:49:25 +0900 Message-Id: <20171013134930.32547-1-shorne@gmail.com> Subject: [Qemu-devel] [PATCH v2 0/5] OpenRISC SMP Support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Development Cc: Richard Henderson , Richard Henderson , Openrisc , Stafford Horne Hello, This series adds SMP support for OpenRISC. The platform is based on the work that Stefan Kristiansson did around 2012 implemented in Verilog and run on FPGAs. I have been working to upstream this work, these are my QEMU patches I have been used to help with testing. I have documented the platform in the OpenRISC 1.2 specification proposal available here: https://github.com/stffrdhrn/doc/raw/arch-1.2-proposal/openrisc-arch-1.2-rev0.pdf My latest kernel patches are available here: https://github.com/stffrdhrn/linux.git openrisc-4.14-smp-qspinlock-v3 -Stafford Changes since v1 * Don't numcores and coreid to state suggested by Richard Stafford Horne (5): openrisc/ompic: Add OpenRISC Multicore PIC (OMPIC) target/openrisc: Make coreid and numcores variable openrisc/cputimer: Perparation for Multicore openrisc: Initial SMP support openrisc: Only kick cpu on timeout, not on update default-configs/or1k-softmmu.mak | 1 + hw/intc/Makefile.objs | 1 + hw/intc/ompic.c | 179 +++++++++++++++++++++++++++++++++++++++ hw/openrisc/cputimer.c | 64 ++++++++++---- hw/openrisc/openrisc_sim.c | 84 +++++++++++++----- target/openrisc/cpu.c | 1 - target/openrisc/cpu.h | 4 +- target/openrisc/machine.c | 1 - target/openrisc/sys_helper.c | 9 +- 9 files changed, 298 insertions(+), 46 deletions(-) create mode 100644 hw/intc/ompic.c -- 2.13.6