Hi Jiaxun On Tue, May 07, 2024 at 10:01:48AM +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. Thank you very much for the series. This work has been scheduled in my TODO list for years. I could have done it earlier but a simple at the first glance change turned to be tricky. The main concern was the stage at what CM was probed. I was afraid to break things by changing the order of the CM-base address getting. Let's discuss this matter in the respective patch. It might get to be I was wrong to worry. -Serge(y) > > Please review. > Thanks > > Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> > --- > Jiaxun Yang (5): > MIPS: generic: Do __dt_setup_arch in prom_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/mips-cm.yaml | 37 ++++++++++++ > arch/mips/generic/init.c | 9 ++- > arch/mips/include/asm/mips-cm.h | 4 +- > arch/mips/kernel/mips-cm.c | 66 ++++++++++++++++++---- > arch/mips/kernel/setup.c | 2 +- > 5 files changed, 100 insertions(+), 18 deletions(-) > --- > base-commit: 2b84edefcad14934796fad37b16512b6a2ca467e > change-id: 20240506-cm_probe-0c667c8b63bf > > Best regards, > -- > Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> > >