MIPS: improve BMIPS support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/213 patches 0 repliesNew
- v2 posting 1/21 patch 5 repliesSuperseded
- v110 patches 6 repliesSuperseded
Changes in v2 from the cover letter
* dropped the compilation fix (a different fix was already comitted)
* rebased on the cpu-type cleanup patches
* used the cpu-type cleanup effects to remove the macros and replace them with normal switch-cases.
* Let BCM47XX_SSB also select BMIPS32_3300
Patches in v2 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | MIPS: BCM63XX: disable SMP also on BCM3368arch/ | +4 | 0 replies | |
| 2/13 | MIPS: allow asm/cpu.h to be included from assemblyarch/ | +3 | 0 replies | |
| 3/13 | MIPS: BMIPS: change compile time checks to runtime checksarch/ arch/ arch/ +1 more | +235 | 0 replies | |
| 4/13 | MIPS: BMIPS: merge CPU options into one optionarch/ | +39 | 0 replies | |
| 5/13 | MIPS: BMIPS: select CPU_SUPPORTS_HIGHMEMarch/ | +1 | 0 replies | |
| 6/13 | MIPS: BMIPS: select CPU_HAS_PREFETCHarch/ | +1 | 0 replies | |
| 7/13 | MIPS: BMIPS: extend BMIPS3300 to include BMIPS32arch/ | +4 | 0 replies | |
| 8/13 | MIPS: BMIPS: add a smp ops registration helperarch/ arch/ arch/ | +28 | 0 replies | |
| 9/13 | MIPS: BCM63XX: always register bmips smp opsarch/ | +2 | 0 replies | |
| 10/13 | MIPS: BCM63XX: let the individual SoCs select the appropriate CPUsarch/ arch/ | +8 | 0 replies | |
| 11/13 | MIPS: BCM47XX: select BMIPS CPUs for BCM47XX_SSBarch/ | +1 | 0 replies | |
| 12/13 | MIPS: cpu-type: guard BMIPS variants with SYS_HAS_CPU_BMIPS*arch/ | +10 | 0 replies | |
| 13/13 | MIPS: BCM63XX: drop SYS_HAS_CPU_MIPS32R1arch/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH V2 00/13] MIPS: improve BMIPS support
This patchset aims at unifying the different BMIPS support code to allow building a kernel that runs on multiple BCM63XX SoCs which might have different BMIPS flavours on them, regardless of SMP support enabled in the kernel.
The first few patches clean up BMIPS itself and prepare it for multi-cpu support, while the latter add support to BCM63XX for running a SMP kernel with support for all SoCs, even those that do not have a SMP capable CPU.
This patchset is runtime tested on BCM6348, BCM6328 and BCM6368, to verify that it actually does what it claims it does.
Lacking hardware, it is only build tested for BMIPS4380 and BMIPS5000.
Changes V1 -> V2:
* dropped the compilation fix (a different fix was already comitted)
* rebased on the cpu-type cleanup patches
* used the cpu-type cleanup effects to remove the macros and replace them with normal switch-cases.
* Let BCM47XX_SSB also select BMIPS32_3300
Jonas Gorski (13):
MIPS: BCM63XX: disable SMP also on BCM3368
MIPS: allow asm/cpu.h to be included from assembly
MIPS: BMIPS: change compile time checks to runtime checks
MIPS: BMIPS: merge CPU options into one option
MIPS: BMIPS: select CPU_SUPPORTS_HIGHMEM
MIPS: BMIPS: select CPU_HAS_PREFETCH
MIPS: BMIPS: extend BMIPS3300 to include BMIPS32
MIPS: BMIPS: add a smp ops registration helper
MIPS: BCM63XX: always register bmips smp ops
MIPS: BCM63XX: let the individual SoCs select the appropriate CPUs
MIPS: BCM47XX: select BMIPS CPUs for BCM47XX_SSB
MIPS: cpu-type: guard BMIPS variants with SYS_HAS_CPU_BMIPS*
MIPS: BCM63XX: drop SYS_HAS_CPU_MIPS32R1
arch/mips/Kconfig | 84 +++++------ arch/mips/bcm47xx/Kconfig | 1 + arch/mips/bcm63xx/Kconfig | 8 + arch/mips/bcm63xx/prom.c | 14 +- arch/mips/include/asm/bmips.h | 29 +++- arch/mips/include/asm/cpu-type.h | 13 +- arch/mips/include/asm/cpu.h | 3 + arch/mips/kernel/bmips_vec.S | 55 +++++-- arch/mips/kernel/smp-bmips.c | 312 ++++++++++++++++++++++++--------------- 9 files changed, 329 insertions(+), 190 deletions(-)
Signature · 1 line
1.8.5.1