Skip to content

powerpc: Add support for Microwatt soft-core

Paul Mackerras linuxppc-dev 2 versions – Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 16 repliesApplied
  2. v111 patches 14 repliesSuperseded

Changes in v2 from the cover letter

- Dropped the patch that adds support for the PRTBL register, since it is not architected. Instead, I have added support for a 1-entry partition table to Microwatt and implemented the PTCR register.

- Updated the device tree.

- Dropped the change to archrandom.h.

- Combined patches 10 and 11 of the previous series into one.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/9powerpc: Add Microwatt platformarch/powerpc/Kconfig arch/powerpc/platforms/Kconfig arch/powerpc/platforms/Makefile +3 more+36 -11 reply
2/9powerpc: Add Microwatt device treearch/powerpc/boot/dts/microwatt.dts+98 -03 replies
3/9powerpc/microwatt: Populate platform bus from device-treearch/powerpc/boot/dts/microwatt.dts arch/powerpc/platforms/microwatt/setup.c+15 -00 replies
4/9powerpc/xics: Add a native ICS backend for microwattarch/powerpc/boot/dts/microwatt.dts arch/powerpc/platforms/microwatt/Kconfig arch/powerpc/platforms/microwatt/setup.c +4 more+291 -00 replies
5/9powerpc/microwatt: Use standard 16550 UART for consolearch/powerpc/boot/dts/microwatt.dts arch/powerpc/kernel/udbg_16550.c arch/powerpc/platforms/microwatt/Kconfig +1 more+63 -65 replies
6/9powerpc/microwatt: Add support for hardware random number generatorarch/powerpc/platforms/microwatt/Kconfig arch/powerpc/platforms/microwatt/Makefile arch/powerpc/platforms/microwatt/rng.c+50 -13 replies
7/9powerpc/microwatt: Add microwatt_defconfigarch/powerpc/configs/microwatt_defconfig+98 -00 replies
8/9powerpc/boot: Fixup device-tree on little endianarch/powerpc/boot/devtree.c arch/powerpc/boot/ns16550.c+41 -271 reply
9/9powerpc/boot: Add a boot wrapper for Microwattarch/powerpc/boot/Makefile arch/powerpc/boot/microwatt.c arch/powerpc/boot/wrapper+33 -01 reply

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNicholas PigginSegher Boessenkool
SeriesR-b
1/9R-b
2/9
3/9
4/9
5/9
6/9R-b
7/9
8/9A-b
9/9

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

Read the v2 thread

Cover letter [PATCH v2 0/9] powerpc: Add support for Microwatt soft-core

This series of patches adds support for the Microwatt soft-core. Microwatt is an open-source 64-bit Power ISA processor written in VHDL which targets medium-sized FPGAs such as the Xilinx Artix-7 or the Lattice ECP5. Microwatt currently implements the scalar fixed plus floating-point subset of Power ISA v3.0B plus the radix MMU, but not logical partitioning (i.e. it does not have hypervisor mode or nested radix translation).

Changes in v2:

- Dropped the patch that adds support for the PRTBL register, since it is not architected. Instead, I have added support for a 1-entry partition table to Microwatt and implemented the PTCR register.

- Updated the device tree.

- Dropped the change to archrandom.h.

- Combined patches 10 and 11 of the previous series into one.

Paul.

 arch/powerpc/Kconfig                      |   2 +-
 arch/powerpc/boot/Makefile                |   4 +
 arch/powerpc/boot/devtree.c               |  59 ++++---
 arch/powerpc/boot/dts/microwatt.dts       | 138 ++++++++++++++++
 arch/powerpc/boot/microwatt.c             |  24 +++
 arch/powerpc/boot/ns16550.c               |   9 +-
 arch/powerpc/boot/wrapper                 |   5 +
 arch/powerpc/configs/microwatt_defconfig  |  98 ++++++++++++
 arch/powerpc/kernel/udbg_16550.c          |  39 +++++
 arch/powerpc/platforms/Kconfig            |   1 +
 arch/powerpc/platforms/Makefile           |   1 +
 arch/powerpc/platforms/microwatt/Kconfig  |  13 ++
 arch/powerpc/platforms/microwatt/Makefile |   1 +
 arch/powerpc/platforms/microwatt/rng.c    |  48 ++++++
 arch/powerpc/platforms/microwatt/setup.c  |  41 +++++
 arch/powerpc/sysdev/xics/Kconfig          |   3 +
 arch/powerpc/sysdev/xics/Makefile         |   1 +
 arch/powerpc/sysdev/xics/ics-native.c     | 257 ++++++++++++++++++++++++++++++
 arch/powerpc/sysdev/xics/xics-common.c    |   2 +
 19 files changed, 718 insertions(+), 28 deletions(-)