Skip to content

Microwatt updates

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 Latest5 patches 1 replyApplied
  2. v15 patches 27 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5powerpc/microwatt: Select COMMON_CLK in order to get the clock frameworkarch/powerpc/platforms/microwatt/Kconfig+1 -00 replies
2/5powerpc/microwatt: Device-tree updatesarch/powerpc/boot/dts/microwatt.dts+62 -110 replies
3/5powerpc/microwatt: Define an idle power-save functionarch/powerpc/platforms/microwatt/setup.c+9 -00 replies
4/5powerpc: Define config option for processors with broadcast TLBIEarch/powerpc/mm/book3s64/pgtable.c arch/powerpc/platforms/Kconfig.cputype arch/powerpc/platforms/powernv/Kconfig +1 more+17 -20 replies
5/5powerpc/microwatt: Add SMP supportarch/powerpc/boot/dts/microwatt.dts arch/powerpc/platforms/microwatt/Kconfig arch/powerpc/platforms/microwatt/Makefile +3 more+124 -30 replies

Reviews trailers per patch

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

PatchNicholas Piggin
1/5A-b
2/5A-b
3/5
4/5
5/5

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/5] Microwatt updates

This patch series updates the kernel support for the Microwatt soft-core and its implementation on FPGA systems, particularly the Digilent Arty A7-100 FPGA development board.

Microwatt now supports almost all of the features of the SFFS (Scalar Fixed-point and Floating-point Subset) compliancy subset of Power ISA version 3.1C, including prefixed instructions and the fixed-point hash (ROP mitigation) instructions. It is also now SMP-capable, and a dual-core system will fit on the Arty A7-100 board.

Microwatt does not have broadcast TLB invalidations in SMP systems; the kernel already has code to deal with this. One of the patches in this series provides a config option to allow platforms to select unconditionally the behaviour where cross-CPU TLB invalidations are handled using inter-processor interrupts.

Tested on an Arty A7-100 FPGA board with 2 CPUs. Compile-tested for pseries and powernv.

Paul.
---
v2: Address review comments

 arch/powerpc/boot/dts/microwatt.dts          | 107 +++++++++++++++++++++++----
 arch/powerpc/mm/book3s64/pgtable.c           |   4 +-
 arch/powerpc/platforms/Kconfig.cputype       |  13 ++++
 arch/powerpc/platforms/microwatt/Kconfig     |   3 +-
 arch/powerpc/platforms/microwatt/Makefile    |   1 +
 arch/powerpc/platforms/microwatt/microwatt.h |   1 +
 arch/powerpc/platforms/microwatt/setup.c     |  18 +++++
 arch/powerpc/platforms/microwatt/smp.c       |  80 ++++++++++++++++++++
 arch/powerpc/platforms/powernv/Kconfig       |   1 +
 arch/powerpc/platforms/pseries/Kconfig       |   1 +
 10 files changed, 213 insertions(+), 16 deletions(-)