Skip to content

OpenRISC SMP Support

Stafford Horne openrisc qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5openrisc/ompic: Add OpenRISC Multicore PIC (OMPIC)default-configs/or1k-softmmu.mak hw/intc/Makefile.objs hw/intc/ompic.c+181 -01 reply
2/5target/openrisc: Make coreid and numcores configurable in statehw/openrisc/openrisc_sim.c target/openrisc/cpu.h target/openrisc/machine.c +1 more+13 -41 reply
3/5openrisc/cputimer: Perparation for Multicorehw/openrisc/cputimer.c target/openrisc/cpu.c target/openrisc/cpu.h +2 more+52 -201 reply
4/5openrisc: Initial SMP supporthw/openrisc/openrisc_sim.c+61 -231 reply
5/5openrisc: Only kick cpu on timeout, not on updatehw/openrisc/cputimer.c+1 -11 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/5R-b
2/5
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [OpenRISC] [PATCH 0/5] OpenRISC SMP Support

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.13-smp-qspinlock

Stafford Horne (5):
openrisc/ompic: Add OpenRISC Multicore PIC (OMPIC) target/openrisc: Make coreid and numcores configurable in state 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       |  87 ++++++++++++++-----
 target/openrisc/cpu.c            |   1 -
 target/openrisc/cpu.h            |   7 +-
 target/openrisc/machine.c        |   8 +-
 target/openrisc/sys_helper.c     |   8 +-
 9 files changed, 308 insertions(+), 48 deletions(-)
 create mode 100644 hw/intc/ompic.c
Signature · 1 line
2.13.5