mips: Improve initial Octeon MIPS64 support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 0 repliesNew
- v15 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Change mips_mach_early_init() as suggested by Daniel to make it easier to understand and smaller
- Drop CONFIG_BOARD_SIZE_LIMIT
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mips: Add CONFIG_MIPS_MACH_EARLY_INIT for very early mach init codearch/ arch/ | +14 | 0 replies | |
| 2/5 | mips: octeon: use mips_mach_early_init() to copy to L2 cachearch/ arch/ | +51 | 0 replies | |
| 3/5 | mips: octeon: octeon_ebb7304: Change TEXT_BASE to L2 cacheconfigs/ | +2 | 0 replies | |
| 4/5 | mips: cache: Make invalidate_dcache_range() weak to enable overwritearch/ | +1 | 1 reply | |
| 4/5 | mips: cache: Make invalidate_dcache_range() weak to enable overwrite | +0 | 0 replies | |
| 5/5 | mips: octeon: Add empty invalidate_dcache_range()arch/ | +4 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Daniel Schwierzeck |
|---|---|
| 1/5 | R-b |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] mips: Improve initial Octeon MIPS64 support
This patchset improves the Octeon base support by adding a very early copy of the U-Boot image from bootspace (e.g. parallel NOR CFI flash) to the L2 cache and continue execution there.
This is done by introducing the optional hook mips_mach_early_init() to start.S for very early machine specific code. This code can be selected via the new Kconfig symbol CONFIG_MIPS_MACH_EARLY_INIT.
Additionally, the common invalidate_dcache_range() implementation is also changed to a weak function allowing Octeon to adds its own no-op cache function (Octeon is cache coherent).
This patchset is based on the base Octeon patchsert in v4.
Thanks,
Stefan
Changes in v2:
- Change mips_mach_early_init() as suggested by Daniel to make it easier to understand and smaller
- Drop CONFIG_BOARD_SIZE_LIMIT
Stefan Roese (5):
mips: Add CONFIG_MIPS_MACH_EARLY_INIT for very early mach init code
mips: octeon: use mips_mach_early_init() to copy to L2 cache
mips: octeon: octeon_ebb7304: Change TEXT_BASE to L2 cache
mips: cache: Make invalidate_dcache_range() weak to enable overwrite
mips: octeon: Add empty invalidate_dcache_range()
arch/mips/Kconfig | 10 ++++++ arch/mips/cpu/start.S | 5 +++ arch/mips/lib/cache.c | 2 +- arch/mips/mach-octeon/cache.c | 4 +++ arch/mips/mach-octeon/lowlevel_init.S | 50 +++++++++++++++++++++++++++ configs/octeon_ebb7304_defconfig | 3 +- 6 files changed, 72 insertions(+), 2 deletions(-)
Signature · 1 line
2.27.0