Hi Jiaxun On Wed, Jun 12, 2024 at 11:08:52AM +0100, Jiaxun Yang wrote: > 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 Got this tested on my P5600-based SoC implemented as non-generic platform. Alas the system hangs up on the early boot-up stage with no even a single char printed to the console. I'll be able to get back to the problem debugging on the next week. -Serge(y) > > Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> > --- > Changes in v2: > - Fix probe order on malta (Serge) > - dt binding improvements (Conor) > - Build warning fix > - Link to v1: https://lore.kernel.org/r/20240507-cm_probe-v1-0-11dbfd598f3c@xxxxxxxxxxx > > --- > 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, > -- > Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> >