2021-03-16 21:20:38

by Guillaume Tucker

[permalink] [raw]
Subject: Re: next/master bisection: baseline.login on kontron-kbox-a-230-ls

Hi Sahil,

Please see the bisection report below about a boot failure on
kontron-kbox-a-230-ls on linux-next.

Reports aren't automatically sent to the public while we're
trialing new bisection features on kernelci.org but this one
looks valid.

The kernel is hitting this issue:

[ 5.326403] kernel BUG at arch/arm64/kernel/traps.c:406!

Full log:

https://storage.kernelci.org/next/master/next-20210316/arm64/defconfig/gcc-8/lab-kontron/baseline-kontron-kbox-a-230-ls.html

The issue can be reproduced with a plain arm64 defconfig, and
doesn't seem to be impacting other platforms on kernelci.org.
More details can be found here:

https://kernelci.org/test/case/id/605057a041fc669ff0addccc/

Please let us know if you need any help debugging the issue on
this platform or to try a fix.

Best wishes,
Guillaume


On 16/03/2021 14:23, KernelCI bot wrote:
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> * This automated bisection report was sent to you on the basis *
> * that you may be involved with the breaking commit it has *
> * found. No manual investigation has been done to verify it, *
> * and the root cause of the problem may be somewhere else. *
> * *
> * If you do send a fix, please include this trailer: *
> * Reported-by: "kernelci.org bot" <[email protected]> *
> * *
> * Hope this helps! *
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
> next/master bisection: baseline.login on kontron-kbox-a-230-ls
>
> Summary:
> Start: 0f4b0bb396f6 Add linux-next specific files for 20210316
> Plain log: https://storage.kernelci.org/next/master/next-20210316/arm64/defconfig+CONFIG_ARM64_64K_PAGES=y/clang-11/lab-kontron/baseline-kontron-kbox-a-230-ls.txt
> HTML log: https://storage.kernelci.org/next/master/next-20210316/arm64/defconfig+CONFIG_ARM64_64K_PAGES=y/clang-11/lab-kontron/baseline-kontron-kbox-a-230-ls.html
> Result: 48787485f8de arm64: dts: ls1028a: enable optee node
>
> Checks:
> revert: PASS
> verify: PASS
>
> Parameters:
> Tree: next
> URL: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> Branch: master
> Target: kontron-kbox-a-230-ls
> CPU arch: arm64
> Lab: lab-kontron
> Compiler: clang-11
> Config: defconfig+CONFIG_ARM64_64K_PAGES=y
> Test case: baseline.login
>
> Breaking commit found:
>
> -------------------------------------------------------------------------------
> commit 48787485f8de44915016d4583e898b62bb2d5753
> Author: Sahil Malhotra <[email protected]>
> Date: Fri Mar 5 14:03:51 2021 +0530
>
> arm64: dts: ls1028a: enable optee node
>
> optee node was disabled in ls1028a.dtsi, enabling it by default.
>
> Signed-off-by: Sahil Malhotra <[email protected]>
> Signed-off-by: Shawn Guo <[email protected]>
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> index c1f2f402ad53..3d96c6beb7e2 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> @@ -95,7 +95,6 @@
> optee {
> compatible = "linaro,optee-tz";
> method = "smc";
> - status = "disabled";
> };
> };
> -------------------------------------------------------------------------------
>
>
> Git bisection log:
>
> -------------------------------------------------------------------------------
> git bisect start
> # good: [1e28eed17697bcf343c6743f0028cc3b5dd88bf0] Linux 5.12-rc3
> git bisect good 1e28eed17697bcf343c6743f0028cc3b5dd88bf0
> # bad: [0f4b0bb396f6f424a7b074d00cb71f5966edcb8a] Add linux-next specific files for 20210316
> git bisect bad 0f4b0bb396f6f424a7b074d00cb71f5966edcb8a
> # bad: [edd84c42baeffe66740143a04f24588fded94241] Merge remote-tracking branch 'drm-misc/for-linux-next'
> git bisect bad edd84c42baeffe66740143a04f24588fded94241
> # bad: [a76f62d56da82bee1a4c35dd6375a8fdd57eca4e] Merge remote-tracking branch 'cel/for-next'
> git bisect bad a76f62d56da82bee1a4c35dd6375a8fdd57eca4e
> # bad: [38872831aa5ec902b861d14e641cfeea97ca913a] Merge remote-tracking branch 'qcom/for-next'
> git bisect bad 38872831aa5ec902b861d14e641cfeea97ca913a
> # good: [287bccb5b7f13f88cae2e14f49b0572a3bd43a1c] Merge remote-tracking branch 'dma-mapping/for-next'
> git bisect good 287bccb5b7f13f88cae2e14f49b0572a3bd43a1c
> # bad: [b56586a8bfe0fb60a81b804cba49deb0d93e6623] Merge remote-tracking branch 'imx-mxs/for-next'
> git bisect bad b56586a8bfe0fb60a81b804cba49deb0d93e6623
> # bad: [8b5531915cf217d205ca813a10fc79987fb528fb] Merge branch 'imx/defconfig' into for-next
> git bisect bad 8b5531915cf217d205ca813a10fc79987fb528fb
> # bad: [3a28e405ca096d692df2dd4b61f179b6fbed0da3] arm64: dts: imx8mm: Reorder flexspi clock-names entry
> git bisect bad 3a28e405ca096d692df2dd4b61f179b6fbed0da3
> # good: [21480ffda0da794c26a206203c28620ecd5765bb] arm64: dts: imx8mm: Add Engicam i.Core MX8M Mini C.TOUCH 2.0
> git bisect good 21480ffda0da794c26a206203c28620ecd5765bb
> # good: [9c5d3663dc1a0f8bb7c14b0b694d63dad2e9b964] arm64: dts: imx8: add adma lpcg clocks
> git bisect good 9c5d3663dc1a0f8bb7c14b0b694d63dad2e9b964
> # good: [7add607242d1178b11d8d9a1e9207b73d9058224] arm64: dts: imx8qm: add dma ss support
> git bisect good 7add607242d1178b11d8d9a1e9207b73d9058224
> # bad: [48787485f8de44915016d4583e898b62bb2d5753] arm64: dts: ls1028a: enable optee node
> git bisect bad 48787485f8de44915016d4583e898b62bb2d5753
> # good: [fb054e1356c0943f70b9b6db542175cd728bd3f6] arm64: dts: imx: add imx8qm mek support
> git bisect good fb054e1356c0943f70b9b6db542175cd728bd3f6
> # first bad commit: [48787485f8de44915016d4583e898b62bb2d5753] arm64: dts: ls1028a: enable optee node
> -------------------------------------------------------------------------------
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#8517): https://groups.io/g/kernelci-results/message/8517
> Mute This Topic: https://groups.io/mt/81377141/924702
> Group Owner: [email protected]
> Unsubscribe: https://groups.io/g/kernelci-results/unsub [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>


2021-03-16 21:22:52

by Michael Walle

[permalink] [raw]
Subject: Re: next/master bisection: baseline.login on kontron-kbox-a-230-ls

Am 2021-03-16 19:33, schrieb Guillaume Tucker:
> Hi Sahil,
>
> Please see the bisection report below about a boot failure on
> kontron-kbox-a-230-ls on linux-next.
>
> Reports aren't automatically sent to the public while we're
> trialing new bisection features on kernelci.org but this one
> looks valid.

nice! Thanks.

[..]

>> commit 48787485f8de44915016d4583e898b62bb2d5753
>> Author: Sahil Malhotra <[email protected]>
>> Date: Fri Mar 5 14:03:51 2021 +0530
>>
>> arm64: dts: ls1028a: enable optee node
>>
>> optee node was disabled in ls1028a.dtsi, enabling it by default.

Please enable this per board. As it is also indicated by my original
commit f90931aeefe3 ("arm64: dts: ls1028a: add optee node") message:

Add the optee node which can either be enabled by a specific board or
by
the bootloader.

-michael

2021-03-30 14:44:40

by Sahil Malhotra

[permalink] [raw]
Subject: RE: Re: next/master bisection: baseline.login on kontron-kbox-a-230-ls

Hi Guillaume,

I tried the same on LS1028A-RDB board with 5.11 kernel and my submitted patch applied.
Board booted up successfully: https://pastebin.com/15D91K5k

I used OP-TEE from OP-TEE github repo: https://github.com/OP-TEE/optee_os with commit https://github.com/OP-TEE/optee_os/commit/d1447353d3f80ae49053b54f525a0a4cf5e4cde7
Which OP-TEE version you used for CI ?

Regards,
Sahil Malhotra

-----Original Message-----
From: Guillaume Tucker <[email protected]>
Sent: Wednesday, March 17, 2021 12:03 AM
To: Shawn Guo <[email protected]>; Sahil Malhotra <[email protected]>
Cc: [email protected]; Michael Walle <[email protected]>; [email protected]; Leo Li <[email protected]>; Rob Herring <[email protected]>; [email protected]; [email protected]
Subject: [EXT] Re: next/master bisection: baseline.login on kontron-kbox-a-230-ls

Caution: EXT Email

Hi Sahil,

Please see the bisection report below about a boot failure on kontron-kbox-a-230-ls on linux-next.

Reports aren't automatically sent to the public while we're trialing new bisection features on kernelci.org but this one looks valid.

The kernel is hitting this issue:

[ 5.326403] kernel BUG at arch/arm64/kernel/traps.c:406!

Full log:
https://storage.kernelci.org/next/master/next-20210316/arm64/defconfig/gcc-8/lab-kontron/baseline-kontron-kbox-a-230-ls.html

The issue can be reproduced with a plain arm64 defconfig, and doesn't seem to be impacting other platforms on kernelci.org.
More details can be found here:
https://kernelci.org/test/case/id/605057a041fc669ff0addccc/

Please let us know if you need any help debugging the issue on this platform or to try a fix.

Best wishes,
Guillaume


2021-03-30 16:26:36

by Michael Walle

[permalink] [raw]
Subject: Re: next/master bisection: baseline.login on kontron-kbox-a-230-ls

Hi Sahil,

Am 2021-03-30 16:42, schrieb Sahil Malhotra:
> I tried the same on LS1028A-RDB board with 5.11 kernel and my
> submitted patch applied.
> Board booted up successfully: https://pastebin.com/15D91K5k
>
> I used OP-TEE from OP-TEE github repo:
> https://github.com/OP-TEE/optee_os with commit
> https://github.com/OP-TEE/optee_os/commit/d1447353d3f80ae49053b54f525a0a4cf5e4cde7
> Which OP-TEE version you used for CI ?

| Re: next/master bisection: baseline.login on kontron-kbox-a-230-ls

That would be my board, which isn't a LS1028A-RDB and doesn't use optee
at all.
Hope this helps, to understand why this board crashed ;)

-michael