Skip to content

MIPS: cm: Probe GCR address from devicetree

Jiaxun Yang linux-devicetree linux-mips lkml 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20240506-cm_probe-0c667c8b63bf

Versions newest first

  1. v2 Latest6 patches 13 repliesIn review
  2. v15 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- Fix probe order on malta (Serge)
- dt binding improvements (Conor)
- Build warning fix
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6MIPS: generic: Do __dt_setup_arch in prom_initarch/mips/generic/init.c+4 -50 replies
2/6MIPS: malta: Move SMP initialisation to device_tree_initarch/mips/mti-malta/malta-init.c+7 -10 replies
3/6MIPS: cm: Prefix probe functions with __initarch/mips/include/asm/mips-cm.h arch/mips/kernel/mips-cm.c+6 -60 replies
4/6MIPS: Move mips_cm_probe after prom_initarch/mips/kernel/setup.c+1 -10 replies
5/6dt-bindings: mips: Document mti,mips-cmDocumentation/devicetree/bindings/mips/mti,mips-cm.yaml+38 -02 replies
6/6MIPS: cm: Probe GCR address from DeviceTreearch/mips/kernel/mips-cm.c+55 -65 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchConor Dooley
1/6
2/6
3/6
4/6
5/6R-b
6/6

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/6] MIPS: cm: Probe GCR address from devicetree

Hi all,

This series enabled mips-cm code to probe GCR address from devicetree.

This feature has been implemented in MIPS's out-of-tree kernel for a while, and MIPS's u-boot fork on boston will generate required "mti,mips-cm" node as well.

Please review.
Thanks

---
Changes in v2:
- Fix probe order on malta (Serge)
- dt binding improvements (Conor)
- Build warning fix
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Jiaxun Yang (6):
MIPS: generic: Do __dt_setup_arch in prom_init
MIPS: malta: Move SMP initialisation to device_tree_init
MIPS: cm: Prefix probe functions with __init
MIPS: Move mips_cm_probe after prom_init
dt-bindings: mips: Document mti,mips-cm
MIPS: cm: Probe GCR address from DeviceTree

 .../devicetree/bindings/mips/mti,mips-cm.yaml      | 38 ++++++++++++
 arch/mips/generic/init.c                           |  9 ++-
 arch/mips/include/asm/mips-cm.h                    |  4 +-
 arch/mips/kernel/mips-cm.c                         | 69 ++++++++++++++++++----
 arch/mips/kernel/setup.c                           |  2 +-
 arch/mips/mti-malta/malta-init.c                   |  8 ++-
 6 files changed, 111 insertions(+), 19 deletions(-)

---
base-commit: 2b84edefcad14934796fad37b16512b6a2ca467e
change-id: 20240506-cm_probe-0c667c8b63bf

Best regards,

Signature · 1 line
Jiaxun Yang <[email protected]>