KernelCI discussions
 help / color / mirror / Atom feed
From: "Guillaume Tucker" <guillaume.tucker@collabora.com>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: "kernelci-results@groups.io" <kernelci-results@groups.io>,
	"kernelci@groups.io" <kernelci@groups.io>
Subject: Re: ardb/for-kernelci bisection: baseline.dmesg.alert on da850-lcdk
Date: Tue, 25 Jan 2022 21:32:25 +0000	[thread overview]
Message-ID: <517aaa07-a0e9-aad4-0cf6-158460dbd9fc@collabora.com> (raw)
In-Reply-To: <61e3f952.1c69fb81.3e21a.0062@mx.google.com>

Hello Ard,

Please see the bisection report below.  I had a look around the
results and git history, this is about an "alert" message which
is present in mainline and linux-next but one day it disappeared
on your for-kernelci branch and then it was introduced again.
See the regression history here:

  https://linux.kernelci.org/test/case/id/61ef9d00e75a9ac935abbd26/

The revision when it last passed was last Friday, and your branch
has been force-pushed since then so I don't have access to the
git history for it any more.  The bisection found a revert commit
that apparently re-introduced the issue, but it's all a bit
confusing as this commit is not there any more but the alert
message still is.

The error can be found here in the log:

  https://storage.kernelci.org/ardb/for-kernelci/arm-irq-and-vmap-stacks-for-rmk-11-g12fa502217d5/arm/davinci_all_defconfig/gcc-10/lab-baylibre/baseline-da850-lcdk.html#L552

  BUG: Bad page state in process kworker/u2:0  pfn:c3000

So I'm not sure what happened, but it has highlighted this kernel
bug so I guess it might be worth taking a look in case there was
a commit somewhere in your tree that resolved it at some point
last week.  What do you think?

Thanks,
Guillaume


On 16/01/2022 10:54, 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" <bot@kernelci.org>          *
> *                                                               *
> * Hope this helps!                                              *
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> ardb/for-kernelci bisection: baseline.dmesg.alert on da850-lcdk
> 
> Summary:
>   Start:      ac634ca2f750 ARM: switch_to: clean up Thumb2 code path
>   Plain log:  https://storage.kernelci.org/ardb/for-kernelci/v5.16-9704-gac634ca2f750/arm/davinci_all_defconfig/gcc-10/lab-baylibre/baseline-da850-lcdk.txt
>   HTML log:   https://storage.kernelci.org/ardb/for-kernelci/v5.16-9704-gac634ca2f750/arm/davinci_all_defconfig/gcc-10/lab-baylibre/baseline-da850-lcdk.html
>   Result:     7395d7a5fec5 Revert "usb: musb: Set the DT node on the child device"
> 
> Checks:
>   revert:     PASS
>   verify:     PASS
> 
> Parameters:
>   Tree:       ardb
>   URL:        https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
>   Branch:     for-kernelci
>   Target:     da850-lcdk
>   CPU arch:   arm
>   Lab:        lab-baylibre
>   Compiler:   gcc-10
>   Config:     davinci_all_defconfig
>   Test case:  baseline.dmesg.alert
> 
> Breaking commit found:
> 
> -------------------------------------------------------------------------------
> commit 7395d7a5fec55b99263d476e733c167dbcaf0525
> Author: Ard Biesheuvel <ardb@kernel.org>
> Date:   Sat Jan 15 17:57:52 2022 +0100
> 
>     Revert "usb: musb: Set the DT node on the child device"
>     
>     This reverts commit cf081d009c447647c6b36aced535ca427dbebe72.
> 
> diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c
> index bf2c0fa6cb32..660641ab1545 100644
> --- a/drivers/usb/musb/am35x.c
> +++ b/drivers/usb/musb/am35x.c
> @@ -500,8 +500,6 @@ static int am35x_probe(struct platform_device *pdev)
>  	pinfo.num_res = pdev->num_resources;
>  	pinfo.data = pdata;
>  	pinfo.size_data = sizeof(*pdata);
> -	pinfo.fwnode = of_fwnode_handle(pdev->dev.of_node);
> -	pinfo.of_node_reused = true;
>  
>  	glue->musb = musb = platform_device_register_full(&pinfo);
>  	if (IS_ERR(musb)) {
> diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c
> index fd4ae2dd24e5..e4e0195131da 100644
> --- a/drivers/usb/musb/da8xx.c
> +++ b/drivers/usb/musb/da8xx.c
> @@ -563,8 +563,6 @@ static int da8xx_probe(struct platform_device *pdev)
>  	pinfo.num_res = pdev->num_resources;
>  	pinfo.data = pdata;
>  	pinfo.size_data = sizeof(*pdata);
> -	pinfo.fwnode = of_fwnode_handle(np);
> -	pinfo.of_node_reused = true;
>  
>  	glue->musb = platform_device_register_full(&pinfo);
>  	ret = PTR_ERR_OR_ZERO(glue->musb);
> diff --git a/drivers/usb/musb/jz4740.c b/drivers/usb/musb/jz4740.c
> index 417c30bff9ca..5b7d576bf6ee 100644
> --- a/drivers/usb/musb/jz4740.c
> +++ b/drivers/usb/musb/jz4740.c
> @@ -231,7 +231,6 @@ static int jz4740_probe(struct platform_device *pdev)
>  	musb->dev.parent		= dev;
>  	musb->dev.dma_mask		= &musb->dev.coherent_dma_mask;
>  	musb->dev.coherent_dma_mask	= DMA_BIT_MASK(32);
> -	device_set_of_node_from_dev(&musb->dev, dev);
>  
>  	glue->pdev			= musb;
>  	glue->clk			= clk;
> diff --git a/drivers/usb/musb/mediatek.c b/drivers/usb/musb/mediatek.c
> index 1aeb34dbe24f..f5d97eb84cb5 100644
> --- a/drivers/usb/musb/mediatek.c
> +++ b/drivers/usb/musb/mediatek.c
> @@ -538,8 +538,6 @@ static int mtk_musb_probe(struct platform_device *pdev)
>  	pinfo.num_res = pdev->num_resources;
>  	pinfo.data = pdata;
>  	pinfo.size_data = sizeof(*pdata);
> -	pinfo.fwnode = of_fwnode_handle(np);
> -	pinfo.of_node_reused = true;
>  
>  	glue->musb_pdev = platform_device_register_full(&pinfo);
>  	if (IS_ERR(glue->musb_pdev)) {
> diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
> index 7d4d0713f4f0..d2b7e613eb34 100644
> --- a/drivers/usb/musb/omap2430.c
> +++ b/drivers/usb/musb/omap2430.c
> @@ -327,7 +327,6 @@ static int omap2430_probe(struct platform_device *pdev)
>  	musb->dev.parent		= &pdev->dev;
>  	musb->dev.dma_mask		= &omap2430_dmamask;
>  	musb->dev.coherent_dma_mask	= omap2430_dmamask;
> -	device_set_of_node_from_dev(&musb->dev, &pdev->dev);
>  
>  	glue->dev			= &pdev->dev;
>  	glue->musb			= musb;
> diff --git a/drivers/usb/musb/ux500.c b/drivers/usb/musb/ux500.c
> index 8ea62c344328..9bce19b5ffd7 100644
> --- a/drivers/usb/musb/ux500.c
> +++ b/drivers/usb/musb/ux500.c
> @@ -262,7 +262,6 @@ static int ux500_probe(struct platform_device *pdev)
>  	musb->dev.parent		= &pdev->dev;
>  	musb->dev.dma_mask		= &pdev->dev.coherent_dma_mask;
>  	musb->dev.coherent_dma_mask	= pdev->dev.coherent_dma_mask;
> -	device_set_of_node_from_dev(&musb->dev, &pdev->dev);
>  
>  	glue->dev			= &pdev->dev;
>  	glue->musb			= musb;
> -------------------------------------------------------------------------------
> 
> 
> Git bisection log:
> 
> -------------------------------------------------------------------------------
> git bisect start
> # good: [1df6e064cf9e15ed39703b2fd087f4a7aaa30180] mm: make 'highmem' symbol ro_after_init
> git bisect good 1df6e064cf9e15ed39703b2fd087f4a7aaa30180
> # bad: [ac634ca2f750618d79257c126f4e00ef24de2565] ARM: switch_to: clean up Thumb2 code path
> git bisect bad ac634ca2f750618d79257c126f4e00ef24de2565
> # bad: [7395d7a5fec55b99263d476e733c167dbcaf0525] Revert "usb: musb: Set the DT node on the child device"
> git bisect bad 7395d7a5fec55b99263d476e733c167dbcaf0525
> # first bad commit: [7395d7a5fec55b99263d476e733c167dbcaf0525] Revert "usb: musb: Set the DT node on the child device"
> -------------------------------------------------------------------------------
> 
> 
> 
> 
> 


       reply	other threads:[~2022-01-25 21:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <61e3f952.1c69fb81.3e21a.0062@mx.google.com>
2022-01-25 21:32 ` Guillaume Tucker [this message]
2022-01-25 22:21   ` ardb/for-kernelci bisection: baseline.dmesg.alert on da850-lcdk Ard Biesheuvel
2022-01-25 22:27     ` Rob Herring
2022-01-26 11:28       ` Guillaume Tucker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=517aaa07-a0e9-aad4-0cf6-158460dbd9fc@collabora.com \
    --to=guillaume.tucker@collabora.com \
    --cc=ardb@kernel.org \
    --cc=kernelci-results@groups.io \
    --cc=kernelci@groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox