Skip to contentSkip to conversation

linux-next: build failure after merge of the mediatek tree

DISCUSSION Mark Brown 5 participants 11 messages Jun 17, 2024 – Jul 15, 2024 Linux-next tree

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

After merging the mediatek tree, today's linux-next build (arm64 defconfig) failed like this:

/tmp/next/build/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi:113.6-121.3: Warning (graph_port): /fragment@4/__overlay__: graph port node name should be 'port'
Error: /tmp/next/build/arch/arm64/boot/dts/mediatek/mt8186.dtsi:2399.29-30 syntax error
FATAL ERROR: Unable to parse input tree
make[4]: *** [/tmp/next/build/scripts/Makefile.lib:431: arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dtb] Error 1

Caused by commit

d7c1bde38bf37a5 ("arm64: dts: mediatek: mt8186: add default thermal zones")

I have used the last version of the mediatek tree from 20240613 instead.

#1 lore raw
Quoted 10 lines · Mark Brown

Hi all,

After merging the mediatek tree, today's linux-next build (arm64 defconfig) failed like this:

/tmp/next/build/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi:113.6-121.3: Warning (graph_port): /fragment@4/__overlay__: graph port node name should be 'port'
Error: /tmp/next/build/arch/arm64/boot/dts/mediatek/mt8186.dtsi:2399.29-30 syntax error
FATAL ERROR: Unable to parse input tree
make[4]: *** [/tmp/next/build/scripts/Makefile.lib:431: arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dtb] Error 1

Quoted 5 lines

Caused by commit

d7c1bde38bf37a5 ("arm64: dts: mediatek: mt8186: add default thermal zones")

I have used the last version of the mediatek tree from 20240613 instead.

Hello Mark,

Here is the explanation:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

For some reason, the 2 first commits of the series were not applied with the dts. These commits are needed because they contain some definitions used by the dts.

Julien

#2 lore raw

Il 18/06/24 09:49, Julien Panis ha scritto:

Quoted 23 lines · Mark Brown
Quoted 10 lines

Hi all,

After merging the mediatek tree, today's linux-next build (arm64 defconfig) failed like this:

/tmp/next/build/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi:113.6-121.3: Warning (graph_port): /fragment@4/__overlay__: graph port node name should be 'port'
Error: /tmp/next/build/arch/arm64/boot/dts/mediatek/mt8186.dtsi:2399.29-30 syntax error
FATAL ERROR: Unable to parse input tree
make[4]: *** [/tmp/next/build/scripts/Makefile.lib:431: arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dtb] Error 1

Quoted 5 lines

Caused by commit

   d7c1bde38bf37a5 ("arm64: dts: mediatek: mt8186: add default thermal zones")

I have used the last version of the mediatek tree from 20240613 instead.

Hello Mark,

Here is the explanation:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

Quoted 5 lines

For some reason, the 2 first commits of the series were not applied with the dts. These commits are needed because they contain some definitions used by the dts.

Julien

I'm not sure how should I proceed here.

Only the mediatek tree is broken, linux-next is ok... should I pick the commits from next or should I remove the dts commits from the mediatek trees?

First time happening.... :-)

Regards,
Angelo

#3 lore raw

Il 18/06/24 12:03, AngeloGioacchino Del Regno ha scritto:

Quoted 24 lines

Il 18/06/24 09:49, Julien Panis ha scritto:

Quoted 23 lines · Mark Brown
Quoted 10 lines

Hi all,

After merging the mediatek tree, today's linux-next build (arm64 defconfig) failed like this:

/tmp/next/build/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi:113.6-121.3: Warning (graph_port): /fragment@4/__overlay__: graph port node name should be 'port'
Error: /tmp/next/build/arch/arm64/boot/dts/mediatek/mt8186.dtsi:2399.29-30 syntax error
FATAL ERROR: Unable to parse input tree
make[4]: *** [/tmp/next/build/scripts/Makefile.lib:431: arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dtb] Error 1

Quoted 5 lines

Caused by commit

   d7c1bde38bf37a5 ("arm64: dts: mediatek: mt8186: add default thermal zones")

I have used the last version of the mediatek tree from 20240613 instead.

Hello Mark,

Here is the explanation:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

Quoted 8 lines
Quoted 5 lines

For some reason, the 2 first commits of the series were not applied with the dts. These commits are needed because they contain some definitions used by the dts.

Julien

I'm not sure how should I proceed here.

Reiterating, I'm sure how should I proceed.

I'm removing those patches from mediatek for-next until further notice.

Regards,
Angelo

Quoted 7 lines

Only the mediatek tree is broken, linux-next is ok... should I pick the commits from next or should I remove the dts commits from the mediatek trees?

First time happening.... :-)

Regards,
Angelo

author maintainer
#10 lore raw
In reply to AngeloGioacchino Del Regno
Quoted 6 lines · AngeloGioacchino Del Regno

Il 18/06/24 09:49, Julien Panis ha scritto:

Quoted 3 lines

For some reason, the 2 first commits of the series were not applied with the dts. These commits are needed because they contain some definitions used by the dts.

Quoted 6 lines

I'm not sure how should I proceed here.

Only the mediatek tree is broken, linux-next is ok... should I pick the commits from next or should I remove the dts commits from the mediatek trees?

First time happening.... :-)

linux-next is only OK because I am merging an old version of the mediatek tree rather than your current one. The mediatek tree should be fixed somehow so that it builds, either mechanism should be fine.

#4 lore raw
In reply to AngeloGioacchino Del Regno
Quoted 34 lines · AngeloGioacchino Del Regno

Il 18/06/24 12:03, AngeloGioacchino Del Regno ha scritto:

Quoted 24 lines

Il 18/06/24 09:49, Julien Panis ha scritto:

Quoted 23 lines · Mark Brown
Quoted 10 lines

Hi all,

After merging the mediatek tree, today's linux-next build (arm64 defconfig) failed like this:

/tmp/next/build/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi:113.6-121.3: Warning (graph_port): /fragment@4/__overlay__: graph port node name should be 'port'
Error: /tmp/next/build/arch/arm64/boot/dts/mediatek/mt8186.dtsi:2399.29-30 syntax error
FATAL ERROR: Unable to parse input tree
make[4]: *** [/tmp/next/build/scripts/Makefile.lib:431: arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dtb] Error 1

Quoted 5 lines

Caused by commit

   d7c1bde38bf37a5 ("arm64: dts: mediatek: mt8186: add default thermal zones")

I have used the last version of the mediatek tree from 20240613 instead.

Hello Mark,

Here is the explanation:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

Quoted 8 lines
Quoted 5 lines

For some reason, the 2 first commits of the series were not applied with the dts. These commits are needed because they contain some definitions used by the dts.

Julien

I'm not sure how should I proceed here.

Quoted 6 lines

Reiterating, I'm sure how should I proceed.

I'm removing those patches from mediatek for-next until further notice.

Regards,
Angelo

Just for my information: Should we just wait for another maintainer to pick the 2 missing patches ? Who is in charge of doing it ?

Julien

#9 lore raw
In reply to AngeloGioacchino Del Regno

AngeloGioacchino Del Regno <[email protected]>

Quoted 31 lines · writes:

Il 18/06/24 12:03, AngeloGioacchino Del Regno ha scritto:

Quoted 30 lines

Il 18/06/24 09:49, Julien Panis ha scritto:

Quoted 29 lines · Mark Brown
Quoted 12 lines

Hi all,

After merging the mediatek tree, today's linux-next build (arm64 defconfig) failed like this:

/tmp/next/build/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi:113.6-121.3: Warning (graph_port): /fragment@4/__overlay__: graph port node name should be 'port'
Error: /tmp/next/build/arch/arm64/boot/dts/mediatek/mt8186.dtsi:2399.29-30
syntax error
FATAL ERROR: Unable to parse input tree
make[4]: *** [/tmp/next/build/scripts/Makefile.lib:431:
arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dtb] Error 1

Quoted 5 lines

Caused by commit

   d7c1bde38bf37a5 ("arm64: dts: mediatek: mt8186: add default thermal zones")

I have used the last version of the mediatek tree from 20240613 instead.

Hello Mark,

Here is the explanation:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

For some reason, the 2 first commits of the series were not applied with the dts. These commits are needed because they contain some definitions used by the dts.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Julien

I'm not sure how should I proceed here.

Reiterating, I'm sure how should I proceed.

You applied the dts patches but not the bindings, resulting in something that doesn't build because of changes to #defines in the bindings.

Both of the bindings patches have already been acked by a DT maintainer (Connor), so you should just apply the bindings along with the DT patches.

Quoted 1 line

I'm removing those patches from mediatek for-next until further notice.

Rather than remove the DT patches, you should just apply the bindings patches.

Kevin

author maintainer
#5 lore raw
In reply to Julien Panis
Quoted 2 lines · Julien Panis

Just for my information: Should we just wait for another maintainer to pick the 2 missing patches ? Who is in charge of doing it ?

In general this is something the relevant maintainers should coordinate between themselves. Generally things tend to work better if everything goes through the same tree so you don't get bisection issues.

#6 lore raw
In reply to Julien Panis
Quoted 37 lines · Julien Panis
Quoted 36 lines · AngeloGioacchino Del Regno

Il 18/06/24 12:03, AngeloGioacchino Del Regno ha scritto:

Quoted 24 lines

Il 18/06/24 09:49, Julien Panis ha scritto:

Quoted 23 lines · Mark Brown
Quoted 10 lines

Hi all,

After merging the mediatek tree, today's linux-next build (arm64 defconfig) failed like this:

/tmp/next/build/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi:113.6-121.3: Warning (graph_port): /fragment@4/__overlay__: graph port node name should be 'port'
Error: /tmp/next/build/arch/arm64/boot/dts/mediatek/mt8186.dtsi:2399.29-30 syntax error
FATAL ERROR: Unable to parse input tree
make[4]: *** [/tmp/next/build/scripts/Makefile.lib:431: arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dtb] Error 1

Quoted 5 lines

Caused by commit

   d7c1bde38bf37a5 ("arm64: dts: mediatek: mt8186: add default thermal zones")

I have used the last version of the mediatek tree from 20240613 instead.

Hello Mark,

Here is the explanation:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

Quoted 8 lines
Quoted 5 lines

For some reason, the 2 first commits of the series were not applied with the dts. These commits are needed because they contain some definitions used by the dts.

Julien

I'm not sure how should I proceed here.

Reiterating, I'm sure how should I proceed.

Quoted 7 lines
Quoted 4 lines

I'm removing those patches from mediatek for-next until further notice.

Regards,
Angelo

Just for my information: Should we just wait for another maintainer to pick the 2 missing patches ? Who is in charge of doing it ?

I've picked the 2 first patches but they are going through the validation process through our CI. They will be available in a couple of days in linux-next.

If you want me to drop them and let them go through the Mediatek tree, just let me know.

Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#7 lore raw

Il 18/06/24 20:03, Daniel Lezcano ha scritto:

Quoted 43 lines · Julien Panis
Quoted 42 lines · AngeloGioacchino Del Regno
Quoted 40 lines

Il 18/06/24 12:03, AngeloGioacchino Del Regno ha scritto:

Quoted 24 lines

Il 18/06/24 09:49, Julien Panis ha scritto:

Quoted 23 lines · Mark Brown
Quoted 10 lines

Hi all,

After merging the mediatek tree, today's linux-next build (arm64 defconfig) failed like this:

/tmp/next/build/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi:113.6-121.3: Warning (graph_port): /fragment@4/__overlay__: graph port node name should be 'port'
Error: /tmp/next/build/arch/arm64/boot/dts/mediatek/mt8186.dtsi:2399.29-30 syntax error
FATAL ERROR: Unable to parse input tree
make[4]: *** [/tmp/next/build/scripts/Makefile.lib:431: arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dtb] Error 1

Quoted 5 lines

Caused by commit

   d7c1bde38bf37a5 ("arm64: dts: mediatek: mt8186: add default thermal zones")

I have used the last version of the mediatek tree from 20240613 instead.

Hello Mark,

Here is the explanation:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

Quoted 8 lines
Quoted 5 lines

For some reason, the 2 first commits of the series were not applied with the dts. These commits are needed because they contain some definitions used by the dts.

Julien

I'm not sure how should I proceed here.

Reiterating, I'm sure how should I proceed.

I'm removing those patches from mediatek for-next until further notice.

Regards,
Angelo

Quoted 7 lines
Quoted 2 lines

Just for my information: Should we just wait for another maintainer to pick the 2 missing patches ? Who is in charge of doing it ?

I've picked the 2 first patches but they are going through the validation process through our CI. They will be available in a couple of days in linux-next.

If you want me to drop them and let them go through the Mediatek tree, just let me know.

Thanks but no, thanks :-)

Please, keep them in the thermal trees where they belong. I will adjust accordingly.

Cheers,
Angelo

#8 lore raw
Quoted 52 lines · AngeloGioacchino Del Regno

Il 18/06/24 20:03, Daniel Lezcano ha scritto:

Quoted 43 lines · Julien Panis
Quoted 42 lines · AngeloGioacchino Del Regno
Quoted 40 lines

Il 18/06/24 12:03, AngeloGioacchino Del Regno ha scritto:

Quoted 24 lines

Il 18/06/24 09:49, Julien Panis ha scritto:

Quoted 23 lines · Mark Brown
Quoted 10 lines

Hi all,

After merging the mediatek tree, today's linux-next build (arm64 defconfig) failed like this:

/tmp/next/build/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-display.dtsi:113.6-121.3: Warning (graph_port): /fragment@4/__overlay__: graph port node name should be 'port'
Error: /tmp/next/build/arch/arm64/boot/dts/mediatek/mt8186.dtsi:2399.29-30 syntax error
FATAL ERROR: Unable to parse input tree
make[4]: *** [/tmp/next/build/scripts/Makefile.lib:431: arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393216.dtb] Error 1

Quoted 5 lines

Caused by commit

   d7c1bde38bf37a5 ("arm64: dts: mediatek: mt8186: add default thermal zones")

I have used the last version of the mediatek tree from 20240613 instead.

Hello Mark,

Here is the explanation:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/

Quoted 8 lines
Quoted 5 lines

For some reason, the 2 first commits of the series were not applied with the dts. These commits are needed because they contain some definitions used by the dts.

Julien

I'm not sure how should I proceed here.

Reiterating, I'm sure how should I proceed.

I'm removing those patches from mediatek for-next until further notice.

Regards,
Angelo

Quoted 7 lines
Quoted 2 lines

Just for my information: Should we just wait for another maintainer to pick the 2 missing patches ? Who is in charge of doing it ?

I've picked the 2 first patches but they are going through the validation process through our CI. They will be available in a couple of days in linux-next.

If you want me to drop them and let them go through the Mediatek tree, just let me know.

Quoted 7 lines

Thanks but no, thanks :-)

Please, keep them in the thermal trees where they belong. I will adjust accordingly.

Cheers,
Angelo

Hello Angelo,

AFAICS, the dt-bindings patches are now in v6.10. Would it be possible to re-apply the dts patches please ?

Julien