Skip to content

MIPS: enable APRP (APSP) and add features - v3

Deng-Cheng Zhu linux-mips 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/25 patches 0 repliesNew
  2. v3 posting 1/25 patches 0 repliesSuperseded
  3. v22 patches 9 repliesSuperseded

v3 - v2 from the cover letter

o Split CMP/MT flavors into different files -cmp/-mt.
o Put Malta needed changes into a separate patch.
o Code style adjustments in rtlx/vpe files.
o Remove kspd.h which might have been left out in Ralf's kspd removal. v2 - v1:
o Rebase the patches to the latest kernel, and fix a bunch of warnings and errors reported by the current scripts/checkpatch.pl.
o Add MIPS_MALTA dependency to Kconfig since modifications of Malta files are needed. But it should be easy to port changes to other platforms.

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5MIPS: APRP (APSP): fix/enrich functionalityarch/mips/Kconfig arch/mips/include/asm/rtlx.h arch/mips/kernel/rtlx.c +1 more+381 -1250 replies
2/5MIPS: APRP (APSP): split vpe-loader and rtlx into cmp/mt flavorsarch/mips/include/asm/rtlx.h arch/mips/include/asm/vpe.h arch/mips/kernel/Makefile +6 more+1238 -10910 replies
3/5MIPS: APRP (APSP): remove kspd.harch/mips/include/asm/kspd.h+0 -320 replies
4/5MIPS: let amon_cpu_start() report resultsarch/mips/include/asm/amon.h arch/mips/mti-malta/malta-amon.c+6 -40 replies
5/5MIPS: APRP (APSP): malta board supportarch/mips/include/asm/mach-malta/cpu-feature-overrides.h arch/mips/kernel/vpe-cmp.c arch/mips/mti-malta/malta-int.c+41 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [RESEND PATCH v3 0/5] MIPS: enable APRP (APSP) and add features - v3

The APRP model makes it possible that one or more CPUs run the Linux kernel whereas a dedicated CPU runs special real-time or signal processing program.

This patchset adds the following to the current APRP support:
1. Several bug fixes;
2. Running floating point heavy jobs on the RP side;
3. Waking up RP side read by interrupt;
4. CPS multicore APRP support.

A mp3 player program was ported to run in the APRP (APSP exactly) model. Considerable performance benefits were observed on the player program. CodeSourcery tools instead of the old SDE tools were used to build the example.

Changes:
v3 - v2:
o Split CMP/MT flavors into different files -cmp/-mt.
o Put Malta needed changes into a separate patch.
o Code style adjustments in rtlx/vpe files.
o Remove kspd.h which might have been left out in Ralf's kspd removal. v2 - v1:
o Rebase the patches to the latest kernel, and fix a bunch of warnings and errors reported by the current scripts/checkpatch.pl.
o Add MIPS_MALTA dependency to Kconfig since modifications of Malta files are needed. But it should be easy to port changes to other platforms.

Deng-Cheng Zhu (5):
MIPS: APRP (APSP): fix/enrich functionality
MIPS: APRP (APSP): split vpe-loader and rtlx into cmp/mt flavors
MIPS: APRP (APSP): remove kspd.h
MIPS: let amon_cpu_start() report results
MIPS: APRP (APSP): malta board support

 arch/mips/Kconfig                                  |    9 +
 arch/mips/include/asm/amon.h                       |    2 +-
 arch/mips/include/asm/kspd.h                       |   32 -
 .../include/asm/mach-malta/cpu-feature-overrides.h |    3 +
 arch/mips/include/asm/rtlx.h                       |   45 +-
 arch/mips/include/asm/vpe.h                        |  118 +++-
 arch/mips/kernel/Makefile                          |    9 +-
 arch/mips/kernel/rtlx-cmp.c                        |  125 +++
 arch/mips/kernel/rtlx-mt.c                         |  160 ++++
 arch/mips/kernel/rtlx.c                            |  205 +----
 arch/mips/kernel/vpe-cmp.c                         |  202 +++++
 arch/mips/kernel/vpe-mt.c                          |  534 +++++++++++++
 arch/mips/kernel/vpe.c                             |  815 +++-----------------
 arch/mips/mti-malta/malta-amon.c                   |    8 +-
 arch/mips/mti-malta/malta-int.c                    |   22 +-
 15 files changed, 1351 insertions(+), 938 deletions(-)
 delete mode 100644 arch/mips/include/asm/kspd.h
 create mode 100644 arch/mips/kernel/rtlx-cmp.c
 create mode 100644 arch/mips/kernel/rtlx-mt.c
 create mode 100644 arch/mips/kernel/vpe-cmp.c
 create mode 100644 arch/mips/kernel/vpe-mt.c