* Re: [PATCH 1/2] MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry [not found] ` <1509859853-27473-2-git-send-email-yamada.masahiro@socionext.com> @ 2017-11-05 14:11 ` Masahiro Yamada 2017-11-06 10:41 ` James Hogan 0 siblings, 1 reply; 12+ messages in thread From: Masahiro Yamada @ 2017-11-05 14:11 UTC (permalink / raw) To: Rob Herring, devicetree Cc: Linux Kbuild mailing list, Mark Rutland, Pantelis Antoniou, linux-arm-kernel, Arnd Bergmann, Linux Kernel Mailing List, Michal Marek, Sam Ravnborg, Masahiro Yamada, Ralf Baechle, linux-mips, Kevin Cernekee, Florian Fainelli +CC Ralf Baechle <ralf@linux-mips.org> +CC linux-mips@linux-mips.org +CC Kevin Cernekee <cernekee@gmail.com> +CC Florian Fainelli <f.fainelli@gmail.com> I missed to CC MIPS maintainers. 2017-11-05 14:30 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>: > arch/mips/boot/dts/brcm/bcm96358nb4ser.dts does not exist, so > we cannot build bcm96358nb4ser.dtb . > > Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> > --- > > arch/mips/boot/dts/brcm/Makefile | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/mips/boot/dts/brcm/Makefile b/arch/mips/boot/dts/brcm/Makefile > index 69a69d1..ad76130 100644 > --- a/arch/mips/boot/dts/brcm/Makefile > +++ b/arch/mips/boot/dts/brcm/Makefile > @@ -22,7 +22,6 @@ dtb-$(CONFIG_DT_NONE) += \ > bcm63268-comtrend-vr-3032u.dtb \ > bcm93384wvg.dtb \ > bcm93384wvg_viper.dtb \ > - bcm96358nb4ser.dtb \ > bcm96368mvwg.dtb \ > bcm9ejtagprb.dtb \ > bcm97125cbmb.dtb \ > -- > 2.7.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry 2017-11-05 14:11 ` [PATCH 1/2] MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry Masahiro Yamada @ 2017-11-06 10:41 ` James Hogan 2017-11-06 11:00 ` Masahiro Yamada 0 siblings, 1 reply; 12+ messages in thread From: James Hogan @ 2017-11-06 10:41 UTC (permalink / raw) To: Masahiro Yamada Cc: Rob Herring, devicetree, Linux Kbuild mailing list, Mark Rutland, Pantelis Antoniou, linux-arm-kernel, Arnd Bergmann, Linux Kernel Mailing List, Michal Marek, Sam Ravnborg, Ralf Baechle, linux-mips, Kevin Cernekee, Florian Fainelli Hi, On Sun, Nov 05, 2017 at 11:11:38PM +0900, Masahiro Yamada wrote: > +CC Ralf Baechle <ralf@linux-mips.org> > +CC linux-mips@linux-mips.org > +CC Kevin Cernekee <cernekee@gmail.com> > +CC Florian Fainelli <f.fainelli@gmail.com> > > > I missed to CC MIPS maintainers. Yes, please resend the patch so it lands in patchwork.linux-mips.org. > 2017-11-05 14:30 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>: > > arch/mips/boot/dts/brcm/bcm96358nb4ser.dts does not exist, so > > we cannot build bcm96358nb4ser.dtb . This appears to be due to the file being renamed in commit 695835511f96 ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom"). Please can you update the commit message when you resend to mention the cause of the problem. You could also add the following if you like while you're at it: Fixes: 695835511f96 ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom") Cc: <stable@vger.kernel.org> # 4.9+ Thanks James ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry 2017-11-06 10:41 ` James Hogan @ 2017-11-06 11:00 ` Masahiro Yamada 2017-11-08 16:51 ` Rob Herring 2017-11-09 8:06 ` James Hogan 0 siblings, 2 replies; 12+ messages in thread From: Masahiro Yamada @ 2017-11-06 11:00 UTC (permalink / raw) To: James Hogan Cc: Rob Herring, devicetree, Linux Kbuild mailing list, Mark Rutland, Pantelis Antoniou, linux-arm-kernel, Arnd Bergmann, Linux Kernel Mailing List, Michal Marek, Sam Ravnborg, Ralf Baechle, linux-mips, Kevin Cernekee, Florian Fainelli 2017-11-06 19:41 GMT+09:00 James Hogan <jhogan@kernel.org>: > Hi, > > On Sun, Nov 05, 2017 at 11:11:38PM +0900, Masahiro Yamada wrote: >> +CC Ralf Baechle <ralf@linux-mips.org> >> +CC linux-mips@linux-mips.org >> +CC Kevin Cernekee <cernekee@gmail.com> >> +CC Florian Fainelli <f.fainelli@gmail.com> >> >> >> I missed to CC MIPS maintainers. > > Yes, please resend the patch so it lands in patchwork.linux-mips.org. This is a part of clean-up series of DT building. I want Acked-by from MIPS maintainers so that the whole series can go to a different tree. (DT or Kbuild). Sam addressed more clean-up candidates in MIPS Makefiles https://patchwork.kernel.org/patch/10041879/ So, I will probably end up with touching those Makefiles more. All patches must go to the same tree. >> 2017-11-05 14:30 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>: >> > arch/mips/boot/dts/brcm/bcm96358nb4ser.dts does not exist, so >> > we cannot build bcm96358nb4ser.dtb . > > This appears to be due to the file being renamed in commit 695835511f96 > ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom"). > Please can you update the commit message when you resend to mention the > cause of the problem. > > You could also add the following if you like while you're at it: > > Fixes: 695835511f96 ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom") > Cc: <stable@vger.kernel.org> # 4.9+ > Will do. Thanks! -- Best Regards Masahiro Yamada ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry 2017-11-06 11:00 ` Masahiro Yamada @ 2017-11-08 16:51 ` Rob Herring 2017-11-09 0:11 ` Masahiro Yamada 2017-11-09 8:06 ` James Hogan 1 sibling, 1 reply; 12+ messages in thread From: Rob Herring @ 2017-11-08 16:51 UTC (permalink / raw) To: Masahiro Yamada Cc: James Hogan, devicetree@vger.kernel.org, Linux Kbuild mailing list, Mark Rutland, Pantelis Antoniou, linux-arm-kernel, Arnd Bergmann, Linux Kernel Mailing List, Michal Marek, Sam Ravnborg, Ralf Baechle, Linux-MIPS, Kevin Cernekee, Florian Fainelli On Mon, Nov 6, 2017 at 5:00 AM, Masahiro Yamada <yamada.masahiro@socionext.com> wrote: > 2017-11-06 19:41 GMT+09:00 James Hogan <jhogan@kernel.org>: >> Hi, >> >> On Sun, Nov 05, 2017 at 11:11:38PM +0900, Masahiro Yamada wrote: >>> +CC Ralf Baechle <ralf@linux-mips.org> >>> +CC linux-mips@linux-mips.org >>> +CC Kevin Cernekee <cernekee@gmail.com> >>> +CC Florian Fainelli <f.fainelli@gmail.com> >>> >>> >>> I missed to CC MIPS maintainers. >> >> Yes, please resend the patch so it lands in patchwork.linux-mips.org. > > > This is a part of clean-up series of DT building. > > I want Acked-by from MIPS maintainers > so that the whole series can go to a different tree. > (DT or Kbuild). > > > Sam addressed more clean-up candidates in MIPS Makefiles > https://patchwork.kernel.org/patch/10041879/ > > So, I will probably end up with touching those Makefiles more. > > All patches must go to the same tree. > > >>> 2017-11-05 14:30 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>: >>> > arch/mips/boot/dts/brcm/bcm96358nb4ser.dts does not exist, so >>> > we cannot build bcm96358nb4ser.dtb . >> >> This appears to be due to the file being renamed in commit 695835511f96 >> ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom"). >> Please can you update the commit message when you resend to mention the >> cause of the problem. >> >> You could also add the following if you like while you're at it: >> >> Fixes: 695835511f96 ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom") >> Cc: <stable@vger.kernel.org> # 4.9+ I think this one can be applied independently and we'd want it to if we tag for stable. So I think it can go thru the MIPS tree. Rob ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry 2017-11-08 16:51 ` Rob Herring @ 2017-11-09 0:11 ` Masahiro Yamada 2017-11-09 0:38 ` Masahiro Yamada 0 siblings, 1 reply; 12+ messages in thread From: Masahiro Yamada @ 2017-11-09 0:11 UTC (permalink / raw) To: Rob Herring Cc: James Hogan, devicetree@vger.kernel.org, Linux Kbuild mailing list, Mark Rutland, Pantelis Antoniou, linux-arm-kernel, Arnd Bergmann, Linux Kernel Mailing List, Michal Marek, Sam Ravnborg, Ralf Baechle, Linux-MIPS, Kevin Cernekee, Florian Fainelli 2017-11-09 1:51 GMT+09:00 Rob Herring <robh+dt@kernel.org>: > On Mon, Nov 6, 2017 at 5:00 AM, Masahiro Yamada > <yamada.masahiro@socionext.com> wrote: >> 2017-11-06 19:41 GMT+09:00 James Hogan <jhogan@kernel.org>: >>> Hi, >>> >>> On Sun, Nov 05, 2017 at 11:11:38PM +0900, Masahiro Yamada wrote: >>>> +CC Ralf Baechle <ralf@linux-mips.org> >>>> +CC linux-mips@linux-mips.org >>>> +CC Kevin Cernekee <cernekee@gmail.com> >>>> +CC Florian Fainelli <f.fainelli@gmail.com> >>>> >>>> >>>> I missed to CC MIPS maintainers. >>> >>> Yes, please resend the patch so it lands in patchwork.linux-mips.org. >> >> >> This is a part of clean-up series of DT building. >> >> I want Acked-by from MIPS maintainers >> so that the whole series can go to a different tree. >> (DT or Kbuild). >> >> >> Sam addressed more clean-up candidates in MIPS Makefiles >> https://patchwork.kernel.org/patch/10041879/ >> >> So, I will probably end up with touching those Makefiles more. >> >> All patches must go to the same tree. >> >> >>>> 2017-11-05 14:30 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>: >>>> > arch/mips/boot/dts/brcm/bcm96358nb4ser.dts does not exist, so >>>> > we cannot build bcm96358nb4ser.dtb . >>> >>> This appears to be due to the file being renamed in commit 695835511f96 >>> ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom"). >>> Please can you update the commit message when you resend to mention the >>> cause of the problem. >>> >>> You could also add the following if you like while you're at it: >>> >>> Fixes: 695835511f96 ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom") >>> Cc: <stable@vger.kernel.org> # 4.9+ > > I think this one can be applied independently and we'd want it to if > we tag for stable. So I think it can go thru the MIPS tree. > As I said to MIPS folks, this patch must go before 2/2. You picked up only 2/2, so your dt/kbuild branch is broken. make ARCH=mips allyesconfig && make ARCH=mips CROSS_COMPILE=mips-linux- dtbs will produce the following error. make[2]: *** No rule to make target 'arch/mips/boot/dts/brcm/bcm96358nb4ser.dtb', needed by '__build'. Stop. scripts/Makefile.build:570: recipe for target 'arch/mips/boot/dts/brcm' failed make[1]: *** [arch/mips/boot/dts/brcm] Error 2 arch/mips/Makefile:413: recipe for target 'dtbs' failed make: *** [dtbs] Error 2 -- Best Regards Masahiro Yamada ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry 2017-11-09 0:11 ` Masahiro Yamada @ 2017-11-09 0:38 ` Masahiro Yamada 2017-11-09 23:06 ` Rob Herring 0 siblings, 1 reply; 12+ messages in thread From: Masahiro Yamada @ 2017-11-09 0:38 UTC (permalink / raw) To: Rob Herring Cc: James Hogan, devicetree@vger.kernel.org, Linux Kbuild mailing list, Mark Rutland, Pantelis Antoniou, linux-arm-kernel, Arnd Bergmann, Linux Kernel Mailing List, Michal Marek, Sam Ravnborg, Ralf Baechle, Linux-MIPS, Kevin Cernekee, Florian Fainelli 2017-11-09 9:11 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>: > 2017-11-09 1:51 GMT+09:00 Rob Herring <robh+dt@kernel.org>: >> On Mon, Nov 6, 2017 at 5:00 AM, Masahiro Yamada >> <yamada.masahiro@socionext.com> wrote: >>> 2017-11-06 19:41 GMT+09:00 James Hogan <jhogan@kernel.org>: >>>> Hi, >>>> >>>> On Sun, Nov 05, 2017 at 11:11:38PM +0900, Masahiro Yamada wrote: >>>>> +CC Ralf Baechle <ralf@linux-mips.org> >>>>> +CC linux-mips@linux-mips.org >>>>> +CC Kevin Cernekee <cernekee@gmail.com> >>>>> +CC Florian Fainelli <f.fainelli@gmail.com> >>>>> >>>>> >>>>> I missed to CC MIPS maintainers. >>>> >>>> Yes, please resend the patch so it lands in patchwork.linux-mips.org. >>> >>> >>> This is a part of clean-up series of DT building. >>> >>> I want Acked-by from MIPS maintainers >>> so that the whole series can go to a different tree. >>> (DT or Kbuild). >>> >>> >>> Sam addressed more clean-up candidates in MIPS Makefiles >>> https://patchwork.kernel.org/patch/10041879/ >>> >>> So, I will probably end up with touching those Makefiles more. >>> >>> All patches must go to the same tree. >>> >>> >>>>> 2017-11-05 14:30 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>: >>>>> > arch/mips/boot/dts/brcm/bcm96358nb4ser.dts does not exist, so >>>>> > we cannot build bcm96358nb4ser.dtb . >>>> >>>> This appears to be due to the file being renamed in commit 695835511f96 >>>> ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom"). >>>> Please can you update the commit message when you resend to mention the >>>> cause of the problem. >>>> >>>> You could also add the following if you like while you're at it: >>>> >>>> Fixes: 695835511f96 ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom") >>>> Cc: <stable@vger.kernel.org> # 4.9+ >> >> I think this one can be applied independently and we'd want it to if >> we tag for stable. So I think it can go thru the MIPS tree. >> > > > As I said to MIPS folks, this patch must go before 2/2. > > You picked up only 2/2, so your dt/kbuild branch is broken. > > > make ARCH=mips allyesconfig > && make ARCH=mips CROSS_COMPILE=mips-linux- dtbs > > > will produce the following error. > > > make[2]: *** No rule to make target > 'arch/mips/boot/dts/brcm/bcm96358nb4ser.dtb', needed by '__build'. > Stop. > scripts/Makefile.build:570: recipe for target 'arch/mips/boot/dts/brcm' failed > make[1]: *** [arch/mips/boot/dts/brcm] Error 2 > arch/mips/Makefile:413: recipe for target 'dtbs' failed > make: *** [dtbs] Error 2 > Looking into it, probably bmips_dtb_defconfig was already broken regardless my patches. But, I am not comfortable with breaking all{yes,mod}config because they are often used for build test. I hope you can apply this in the order as I sent, with the following tag. Fixes: 695835511f96 ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom") Cc: <stable@vger.kernel.org> # 4.9+ -- Best Regards Masahiro Yamada ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry 2017-11-09 0:38 ` Masahiro Yamada @ 2017-11-09 23:06 ` Rob Herring 0 siblings, 0 replies; 12+ messages in thread From: Rob Herring @ 2017-11-09 23:06 UTC (permalink / raw) To: Masahiro Yamada Cc: James Hogan, devicetree@vger.kernel.org, Linux Kbuild mailing list, Mark Rutland, Pantelis Antoniou, linux-arm-kernel, Arnd Bergmann, Linux Kernel Mailing List, Michal Marek, Sam Ravnborg, Ralf Baechle, Linux-MIPS, Kevin Cernekee, Florian Fainelli On Wed, Nov 8, 2017 at 6:38 PM, Masahiro Yamada <yamada.masahiro@socionext.com> wrote: > 2017-11-09 9:11 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>: >> 2017-11-09 1:51 GMT+09:00 Rob Herring <robh+dt@kernel.org>: >>> On Mon, Nov 6, 2017 at 5:00 AM, Masahiro Yamada >>> <yamada.masahiro@socionext.com> wrote: >>>> 2017-11-06 19:41 GMT+09:00 James Hogan <jhogan@kernel.org>: >>>>> Hi, >>>>> >>>>> On Sun, Nov 05, 2017 at 11:11:38PM +0900, Masahiro Yamada wrote: >>>>>> +CC Ralf Baechle <ralf@linux-mips.org> >>>>>> +CC linux-mips@linux-mips.org >>>>>> +CC Kevin Cernekee <cernekee@gmail.com> >>>>>> +CC Florian Fainelli <f.fainelli@gmail.com> >>>>>> >>>>>> >>>>>> I missed to CC MIPS maintainers. >>>>> >>>>> Yes, please resend the patch so it lands in patchwork.linux-mips.org. >>>> >>>> >>>> This is a part of clean-up series of DT building. >>>> >>>> I want Acked-by from MIPS maintainers >>>> so that the whole series can go to a different tree. >>>> (DT or Kbuild). >>>> >>>> >>>> Sam addressed more clean-up candidates in MIPS Makefiles >>>> https://patchwork.kernel.org/patch/10041879/ >>>> >>>> So, I will probably end up with touching those Makefiles more. >>>> >>>> All patches must go to the same tree. >>>> >>>> >>>>>> 2017-11-05 14:30 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>: >>>>>> > arch/mips/boot/dts/brcm/bcm96358nb4ser.dts does not exist, so >>>>>> > we cannot build bcm96358nb4ser.dtb . >>>>> >>>>> This appears to be due to the file being renamed in commit 695835511f96 >>>>> ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom"). >>>>> Please can you update the commit message when you resend to mention the >>>>> cause of the problem. >>>>> >>>>> You could also add the following if you like while you're at it: >>>>> >>>>> Fixes: 695835511f96 ("MIPS: BMIPS: rename bcm96358nb4ser to bcm6358-neufbox4-sercom") >>>>> Cc: <stable@vger.kernel.org> # 4.9+ >>> >>> I think this one can be applied independently and we'd want it to if >>> we tag for stable. So I think it can go thru the MIPS tree. >>> >> >> >> As I said to MIPS folks, this patch must go before 2/2. >> >> You picked up only 2/2, so your dt/kbuild branch is broken. >> >> >> make ARCH=mips allyesconfig >> && make ARCH=mips CROSS_COMPILE=mips-linux- dtbs >> >> >> will produce the following error. >> >> >> make[2]: *** No rule to make target >> 'arch/mips/boot/dts/brcm/bcm96358nb4ser.dtb', needed by '__build'. >> Stop. >> scripts/Makefile.build:570: recipe for target 'arch/mips/boot/dts/brcm' failed >> make[1]: *** [arch/mips/boot/dts/brcm] Error 2 >> arch/mips/Makefile:413: recipe for target 'dtbs' failed >> make: *** [dtbs] Error 2 >> > > > Looking into it, probably > bmips_dtb_defconfig was already broken regardless my patches. > > But, I am not comfortable with breaking all{yes,mod}config > because they are often used for build test. > > > I hope you can apply this in the order as I sent, > with the following tag. > > Fixes: 695835511f96 ("MIPS: BMIPS: rename bcm96358nb4ser to > bcm6358-neufbox4-sercom") > Cc: <stable@vger.kernel.org> # 4.9+ Okay, now applied. Rob ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry 2017-11-06 11:00 ` Masahiro Yamada 2017-11-08 16:51 ` Rob Herring @ 2017-11-09 8:06 ` James Hogan 2017-11-09 8:06 ` James Hogan 1 sibling, 1 reply; 12+ messages in thread From: James Hogan @ 2017-11-09 8:06 UTC (permalink / raw) To: Masahiro Yamada Cc: Rob Herring, devicetree, Linux Kbuild mailing list, Mark Rutland, Pantelis Antoniou, linux-arm-kernel, Arnd Bergmann, Linux Kernel Mailing List, Michal Marek, Sam Ravnborg, Ralf Baechle, linux-mips, Kevin Cernekee, Florian Fainelli [-- Attachment #1: Type: text/plain, Size: 815 bytes --] On Mon, Nov 06, 2017 at 08:00:49PM +0900, Masahiro Yamada wrote: > 2017-11-06 19:41 GMT+09:00 James Hogan <jhogan@kernel.org>: > > Hi, > > > > On Sun, Nov 05, 2017 at 11:11:38PM +0900, Masahiro Yamada wrote: > >> +CC Ralf Baechle <ralf@linux-mips.org> > >> +CC linux-mips@linux-mips.org > >> +CC Kevin Cernekee <cernekee@gmail.com> > >> +CC Florian Fainelli <f.fainelli@gmail.com> > >> > >> > >> I missed to CC MIPS maintainers. > > > > Yes, please resend the patch so it lands in patchwork.linux-mips.org. > > > This is a part of clean-up series of DT building. > > I want Acked-by from MIPS maintainers > so that the whole series can go to a different tree. > (DT or Kbuild). Well FWIW, as acting MIPS maintainer right now: Acked-by: James Hogan <jhogan@kernel.org> Cheers James [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry 2017-11-09 8:06 ` James Hogan @ 2017-11-09 8:06 ` James Hogan 0 siblings, 0 replies; 12+ messages in thread From: James Hogan @ 2017-11-09 8:06 UTC (permalink / raw) To: Masahiro Yamada Cc: Rob Herring, devicetree, Linux Kbuild mailing list, Mark Rutland, Pantelis Antoniou, linux-arm-kernel, Arnd Bergmann, Linux Kernel Mailing List, Michal Marek, Sam Ravnborg, Ralf Baechle, linux-mips, Kevin Cernekee, Florian Fainelli [-- Attachment #1: Type: text/plain, Size: 815 bytes --] On Mon, Nov 06, 2017 at 08:00:49PM +0900, Masahiro Yamada wrote: > 2017-11-06 19:41 GMT+09:00 James Hogan <jhogan@kernel.org>: > > Hi, > > > > On Sun, Nov 05, 2017 at 11:11:38PM +0900, Masahiro Yamada wrote: > >> +CC Ralf Baechle <ralf@linux-mips.org> > >> +CC linux-mips@linux-mips.org > >> +CC Kevin Cernekee <cernekee@gmail.com> > >> +CC Florian Fainelli <f.fainelli@gmail.com> > >> > >> > >> I missed to CC MIPS maintainers. > > > > Yes, please resend the patch so it lands in patchwork.linux-mips.org. > > > This is a part of clean-up series of DT building. > > I want Acked-by from MIPS maintainers > so that the whole series can go to a different tree. > (DT or Kbuild). Well FWIW, as acting MIPS maintainer right now: Acked-by: James Hogan <jhogan@kernel.org> Cheers James [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <1509859853-27473-3-git-send-email-yamada.masahiro@socionext.com>]
[parent not found: <CAAG0J98rRS+Sw8k_87gmTqYdNWByk=9zWVbWnC348vd63H4N9w@mail.gmail.com>]
* Re: [PATCH 2/2] kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib [not found] ` <CAAG0J98rRS+Sw8k_87gmTqYdNWByk=9zWVbWnC348vd63H4N9w@mail.gmail.com> @ 2017-11-09 12:19 ` James Hogan 2017-11-09 12:23 ` Masahiro Yamada 0 siblings, 1 reply; 12+ messages in thread From: James Hogan @ 2017-11-09 12:19 UTC (permalink / raw) To: Masahiro Yamada Cc: Rob Herring, devicetree, linux-kbuild, Mark Rutland, Pantelis Antoniou, ARM Kernel List, Arnd Bergmann, LKML, Michal Marek, Sam Ravnborg, Linux MIPS Mailing List, Ralf Baechle, David Daney, James Hogan, linux-next (resend using a working From address) <yamada.masahiro@socionext.com> wrote: > If CONFIG_OF_ALL_DTBS is enabled, "make ARCH=arm64 dtbs" compiles each > DTB twice; one from arch/arm64/boot/dts/*/Makefile and the other from > the dtb-$(CONFIG_OF_ALL_DTBS) line in arch/arm64/boot/dts/Makefile. > It could be a race problem when building DTBS in parallel. > > Another minor issue is CONFIG_OF_ALL_DTBS covers only *.dts in vendor > sub-directories, so this broke when Broadcom added one more hierarchy > in arch/arm64/boot/dts/broadcom/<soc>/. > > One idea to fix the issues in a clean way is to move DTB handling > to Kbuild core scripts. Makefile.dtbinst already recognizes dtb-y > natively, so it should not hurt to do so. > > Add $(dtb-y) to extra-y, and $(dtb-) as well if CONFIG_OF_ALL_DTBS is > enabled. All clutter things in Makefiles go away. > > As a bonus clean-up, I also removed dts-dirs. Just use subdir-y > directly to traverse sub-directories. > > Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> ... > diff --git a/arch/mips/boot/dts/Makefile b/arch/mips/boot/dts/Makefile > index 7891ffa..b2b0d88 100644 > --- a/arch/mips/boot/dts/Makefile > +++ b/arch/mips/boot/dts/Makefile > @@ -1,20 +1,14 @@ > -dts-dirs += brcm > -dts-dirs += cavium-octeon > -dts-dirs += img > -dts-dirs += ingenic > -dts-dirs += lantiq > -dts-dirs += mti > -dts-dirs += netlogic > -dts-dirs += ni > -dts-dirs += pic32 > -dts-dirs += qca > -dts-dirs += ralink > -dts-dirs += xilfpga > +subdir-y += brcm > +subdir-y += cavium-octeon > +subdir-y += img > +subdir-y += ingenic > +subdir-y += lantiq > +subdir-y += mti > +subdir-y += netlogic > +subdir-y += ni > +subdir-y += pic32 > +subdir-y += qca > +subdir-y += ralink > +subdir-y += xilfpga > > -obj-y := $(addsuffix /, $(dts-dirs)) > - > -dtstree := $(srctree)/$(src) > -dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dts-dirs), $(wildcard $(dtstree)/$(d)/*.dts))) > - > -always := $(dtb-y) > -subdir-y := $(dts-dirs) > +obj-$(BUILTIN_DTB) := $(addsuffix /, $(subdir-y)) I wonder if that should be CONFIG_BUILTIN_DTB? This is causing failures in linux-next with MIPS cavium_octeon_defconfig like below, and changing this line to CONFIG_BUILTIN_DTB seems to fix it. arch/mips/cavium-octeon/setup.o: In function `__octeon_is_model_runtime__': /work/mips/linux/main/./arch/mips/include/asm/octeon/octeon-model.h:368: undefined reference to `__dtb_octeon_3xxx_begin' arch/mips/cavium-octeon/setup.o: In function `device_tree_init': /work/mips/linux/main/arch/mips/cavium-octeon/setup.c:1188: undefined reference to `__dtb_octeon_3xxx_begin' /work/mips/linux/main/arch/mips/cavium-octeon/setup.c:1184: undefined reference to `__dtb_octeon_68xx_begin' /work/mips/linux/main/arch/mips/cavium-octeon/setup.c:1184: undefined reference to `__dtb_octeon_68xx_begin' Thanks James -- James Hogan ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib 2017-11-09 12:19 ` [PATCH 2/2] kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib James Hogan @ 2017-11-09 12:23 ` Masahiro Yamada 2017-11-09 20:34 ` Rob Herring 0 siblings, 1 reply; 12+ messages in thread From: Masahiro Yamada @ 2017-11-09 12:23 UTC (permalink / raw) To: James Hogan, Rob Herring Cc: devicetree, Linux Kbuild mailing list, Mark Rutland, Pantelis Antoniou, ARM Kernel List, Arnd Bergmann, LKML, Michal Marek, Sam Ravnborg, Linux MIPS Mailing List, Ralf Baechle, David Daney, James Hogan, Linux-Next Mailing List Hi James, 2017-11-09 21:19 GMT+09:00 James Hogan <james@albanarts.com>: > (resend using a working From address) > > <yamada.masahiro@socionext.com> wrote: >> If CONFIG_OF_ALL_DTBS is enabled, "make ARCH=arm64 dtbs" compiles each >> DTB twice; one from arch/arm64/boot/dts/*/Makefile and the other from >> the dtb-$(CONFIG_OF_ALL_DTBS) line in arch/arm64/boot/dts/Makefile. >> It could be a race problem when building DTBS in parallel. >> >> Another minor issue is CONFIG_OF_ALL_DTBS covers only *.dts in vendor >> sub-directories, so this broke when Broadcom added one more hierarchy >> in arch/arm64/boot/dts/broadcom/<soc>/. >> >> One idea to fix the issues in a clean way is to move DTB handling >> to Kbuild core scripts. Makefile.dtbinst already recognizes dtb-y >> natively, so it should not hurt to do so. >> >> Add $(dtb-y) to extra-y, and $(dtb-) as well if CONFIG_OF_ALL_DTBS is >> enabled. All clutter things in Makefiles go away. >> >> As a bonus clean-up, I also removed dts-dirs. Just use subdir-y >> directly to traverse sub-directories. >> >> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> > > ... > >> diff --git a/arch/mips/boot/dts/Makefile b/arch/mips/boot/dts/Makefile >> index 7891ffa..b2b0d88 100644 >> --- a/arch/mips/boot/dts/Makefile >> +++ b/arch/mips/boot/dts/Makefile >> @@ -1,20 +1,14 @@ >> -dts-dirs += brcm >> -dts-dirs += cavium-octeon >> -dts-dirs += img >> -dts-dirs += ingenic >> -dts-dirs += lantiq >> -dts-dirs += mti >> -dts-dirs += netlogic >> -dts-dirs += ni >> -dts-dirs += pic32 >> -dts-dirs += qca >> -dts-dirs += ralink >> -dts-dirs += xilfpga >> +subdir-y += brcm >> +subdir-y += cavium-octeon >> +subdir-y += img >> +subdir-y += ingenic >> +subdir-y += lantiq >> +subdir-y += mti >> +subdir-y += netlogic >> +subdir-y += ni >> +subdir-y += pic32 >> +subdir-y += qca >> +subdir-y += ralink >> +subdir-y += xilfpga >> >> -obj-y := $(addsuffix /, $(dts-dirs)) >> - >> -dtstree := $(srctree)/$(src) >> -dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dts-dirs), $(wildcard $(dtstree)/$(d)/*.dts))) >> - >> -always := $(dtb-y) >> -subdir-y := $(dts-dirs) >> +obj-$(BUILTIN_DTB) := $(addsuffix /, $(subdir-y)) > > I wonder if that should be CONFIG_BUILTIN_DTB? > > This is causing failures in linux-next with MIPS > cavium_octeon_defconfig like below, and changing this line to > CONFIG_BUILTIN_DTB seems to fix it. Good catch! Rob, Can you fix it to CONFIG_BUILTIN_DTB? Thanks! > arch/mips/cavium-octeon/setup.o: In function `__octeon_is_model_runtime__': > /work/mips/linux/main/./arch/mips/include/asm/octeon/octeon-model.h:368: > undefined reference to `__dtb_octeon_3xxx_begin' > arch/mips/cavium-octeon/setup.o: In function `device_tree_init': > /work/mips/linux/main/arch/mips/cavium-octeon/setup.c:1188: undefined > reference to `__dtb_octeon_3xxx_begin' > /work/mips/linux/main/arch/mips/cavium-octeon/setup.c:1184: undefined > reference to `__dtb_octeon_68xx_begin' > /work/mips/linux/main/arch/mips/cavium-octeon/setup.c:1184: undefined > reference to `__dtb_octeon_68xx_begin' > > Thanks > James > > -- Best Regards Masahiro Yamada ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib 2017-11-09 12:23 ` Masahiro Yamada @ 2017-11-09 20:34 ` Rob Herring 0 siblings, 0 replies; 12+ messages in thread From: Rob Herring @ 2017-11-09 20:34 UTC (permalink / raw) To: Masahiro Yamada Cc: James Hogan, devicetree@vger.kernel.org, Linux Kbuild mailing list, Mark Rutland, Pantelis Antoniou, ARM Kernel List, Arnd Bergmann, LKML, Michal Marek, Sam Ravnborg, Linux MIPS Mailing List, Ralf Baechle, David Daney, James Hogan, Linux-Next Mailing List On Thu, Nov 9, 2017 at 6:23 AM, Masahiro Yamada <yamada.masahiro@socionext.com> wrote: > Hi James, > > > 2017-11-09 21:19 GMT+09:00 James Hogan <james@albanarts.com>: >> (resend using a working From address) >> >> <yamada.masahiro@socionext.com> wrote: >>> If CONFIG_OF_ALL_DTBS is enabled, "make ARCH=arm64 dtbs" compiles each >>> DTB twice; one from arch/arm64/boot/dts/*/Makefile and the other from >>> the dtb-$(CONFIG_OF_ALL_DTBS) line in arch/arm64/boot/dts/Makefile. >>> It could be a race problem when building DTBS in parallel. >>> >>> Another minor issue is CONFIG_OF_ALL_DTBS covers only *.dts in vendor >>> sub-directories, so this broke when Broadcom added one more hierarchy >>> in arch/arm64/boot/dts/broadcom/<soc>/. >>> >>> One idea to fix the issues in a clean way is to move DTB handling >>> to Kbuild core scripts. Makefile.dtbinst already recognizes dtb-y >>> natively, so it should not hurt to do so. >>> >>> Add $(dtb-y) to extra-y, and $(dtb-) as well if CONFIG_OF_ALL_DTBS is >>> enabled. All clutter things in Makefiles go away. >>> >>> As a bonus clean-up, I also removed dts-dirs. Just use subdir-y >>> directly to traverse sub-directories. >>> >>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> >> >> ... >> >>> diff --git a/arch/mips/boot/dts/Makefile b/arch/mips/boot/dts/Makefile >>> index 7891ffa..b2b0d88 100644 >>> --- a/arch/mips/boot/dts/Makefile >>> +++ b/arch/mips/boot/dts/Makefile >>> @@ -1,20 +1,14 @@ >>> -dts-dirs += brcm >>> -dts-dirs += cavium-octeon >>> -dts-dirs += img >>> -dts-dirs += ingenic >>> -dts-dirs += lantiq >>> -dts-dirs += mti >>> -dts-dirs += netlogic >>> -dts-dirs += ni >>> -dts-dirs += pic32 >>> -dts-dirs += qca >>> -dts-dirs += ralink >>> -dts-dirs += xilfpga >>> +subdir-y += brcm >>> +subdir-y += cavium-octeon >>> +subdir-y += img >>> +subdir-y += ingenic >>> +subdir-y += lantiq >>> +subdir-y += mti >>> +subdir-y += netlogic >>> +subdir-y += ni >>> +subdir-y += pic32 >>> +subdir-y += qca >>> +subdir-y += ralink >>> +subdir-y += xilfpga >>> >>> -obj-y := $(addsuffix /, $(dts-dirs)) >>> - >>> -dtstree := $(srctree)/$(src) >>> -dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dts-dirs), $(wildcard $(dtstree)/$(d)/*.dts))) >>> - >>> -always := $(dtb-y) >>> -subdir-y := $(dts-dirs) >>> +obj-$(BUILTIN_DTB) := $(addsuffix /, $(subdir-y)) >> >> I wonder if that should be CONFIG_BUILTIN_DTB? >> >> This is causing failures in linux-next with MIPS >> cavium_octeon_defconfig like below, and changing this line to >> CONFIG_BUILTIN_DTB seems to fix it. > > Good catch! > > > Rob, > Can you fix it to CONFIG_BUILTIN_DTB? Fixed. Rob ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2017-11-09 23:06 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1509859853-27473-1-git-send-email-yamada.masahiro@socionext.com>
[not found] ` <1509859853-27473-2-git-send-email-yamada.masahiro@socionext.com>
2017-11-05 14:11 ` [PATCH 1/2] MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry Masahiro Yamada
2017-11-06 10:41 ` James Hogan
2017-11-06 11:00 ` Masahiro Yamada
2017-11-08 16:51 ` Rob Herring
2017-11-09 0:11 ` Masahiro Yamada
2017-11-09 0:38 ` Masahiro Yamada
2017-11-09 23:06 ` Rob Herring
2017-11-09 8:06 ` James Hogan
2017-11-09 8:06 ` James Hogan
[not found] ` <1509859853-27473-3-git-send-email-yamada.masahiro@socionext.com>
[not found] ` <CAAG0J98rRS+Sw8k_87gmTqYdNWByk=9zWVbWnC348vd63H4N9w@mail.gmail.com>
2017-11-09 12:19 ` [PATCH 2/2] kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib James Hogan
2017-11-09 12:23 ` Masahiro Yamada
2017-11-09 20:34 ` Rob Herring
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox