Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 4 participants 5 messages Apr 3, 2023 – Apr 11, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

Error: arch/arm64/boot/dts/mediatek/mt6795.dtsi:647.21-22 syntax error FATAL ERROR: Unable to parse input tree

Maybe caused by commit

a7c7f1fe2fde ("arm64: dts: mediatek: mt6795: Add MMSYS node for multimedia clocks")

but I don't know how.

I have reverted that commit (and the following 2) for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Il 03/04/23 09:52, Stephen Rothwell ha scritto:

Quoted 8 lines

Hi all,

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

Error: arch/arm64/boot/dts/mediatek/mt6795.dtsi:647.21-22 syntax error FATAL ERROR: Unable to parse input tree

Quoted 8 lines

Maybe caused by commit

a7c7f1fe2fde ("arm64: dts: mediatek: mt6795: Add MMSYS node for multimedia clocks")

but I don't know how.

I have reverted that commit (and the following 2) for today.

Matthias, this issue happens because you didn't apply 07/17 [1] from the 6795/xperia-m5 series...

[1]: https://lore.kernel.org/all/[email protected]/

That contains the mediatek,mt6795-gce.h header that has the definitions used in a7c7f1fe2fde ("arm64: dts: mediatek: mt6795: Add MMSYS node for multimedia clocks") ....and this is the reason of the syntax error.

Does this commit have to go through devicetree trees? I'm adding Krzysztof and Rob to the loop for this.

Regards,
Angelo

#2 lore raw
Quoted 15 lines · AngeloGioacchino Del Regno

Il 03/04/23 09:52, Stephen Rothwell ha scritto:

Quoted 14 lines

Hi all,

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

Error: arch/arm64/boot/dts/mediatek/mt6795.dtsi:647.21-22 syntax error FATAL ERROR: Unable to parse input tree

Maybe caused by commit

a7c7f1fe2fde ("arm64: dts: mediatek: mt6795: Add MMSYS node for multimedia clocks")

but I don't know how.

Quoted 8 lines
Quoted 2 lines

I have reverted that commit (and the following 2) for today.

Matthias, this issue happens because you didn't apply 07/17 [1] from the 6795/xperia-m5 series...

[1]:
https://lore.kernel.org/all/[email protected]/

Bindings are supposed to go via subsystem (driver) tree and only via ARM SoC if the former is not interested in them.

I don't think the issue happens because Matthias did not apply binding patch. Nothing in the cover letter or the patch mentioned such dependency, so why he should pick up unrelated patch?

The submitter should clearly mark such dependencies or make patches independent. It's nothing new, for clock/reset drivers (driver + binding
+ DTS) uncoupling the dependency is pretty often a requirement or maintainers need to coordinate with cross-tree pulls (and DTS cannot get pulled into the driver tree/branch).

Quoted 6 lines

That contains the mediatek,mt6795-gce.h header that has the definitions used in a7c7f1fe2fde ("arm64: dts: mediatek: mt6795: Add MMSYS node for multimedia clocks") ....and this is the reason of the syntax error.

Does this commit have to go through devicetree trees?

Bindings go via subsystem maintainer, so here rather mailbox. Not DT tree.

Quoted 1 line

I'm adding Krzysztof and Rob to the loop for this.

I guess now, the easiest would be if Matthias takes the binding change with mailbox Ack. Assuming there are no conflicts there...

Best regards,
Krzysztof

#3 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 7 lines · On Mon, 3 Apr 2023 17:52:20 +1000 Stephen Rothwell <[email protected]> wrote:

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

Error: arch/arm64/boot/dts/mediatek/mt6795.dtsi:647.21-22 syntax error FATAL ERROR: Unable to parse input tree

Quoted 7 lines

Maybe caused by commit

a7c7f1fe2fde ("arm64: dts: mediatek: mt6795: Add MMSYS node for multimedia clocks")

but I don't know how.

I have reverted that commit (and the following 2) for today.

Ping?

Signature · 2 lines
Cheers,
Stephen Rothwell
#4 lore raw
Quoted 12 lines · Stephen Rothwell

Hi all,

Quoted 9 lines · On Mon, 3 Apr 2023 17:52:20 +1000 Stephen Rothwell <[email protected]> wrote:

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

Error: arch/arm64/boot/dts/mediatek/mt6795.dtsi:647.21-22 syntax error FATAL ERROR: Unable to parse input tree

Maybe caused by commit

Quoted 8 lines
Quoted 5 lines

a7c7f1fe2fde ("arm64: dts: mediatek: mt6795: Add MMSYS node for multimedia clocks")

but I don't know how.

I have reverted that commit (and the following 2) for today.

Ping?

I dropped the corresponding commits and resubmitted. Sorry for the delay, I was on holidays and without a computer...

Regards,
Matthias