* Re: [next] WARNING: CPU: 2 PID: 66 at kernel/locking/rwsem.c:1298 __up_read [not found] <CA+G9fYuupqqemLbgoVL2kYL4d2AtZLBo1xcshWWae7gX5Ln-iA@mail.gmail.com> @ 2021-12-02 12:28 ` Anders Roxell 2021-12-02 13:19 ` Boris Brezillon 0 siblings, 1 reply; 3+ messages in thread From: Anders Roxell @ 2021-12-02 12:28 UTC (permalink / raw) To: Christoph Hellwig, Jens Axboe, sean, Miquel Raynal, Geert Uytterhoeven Cc: Linux-Next Mailing List, linux-mtd, open list, Linux ARM, Arnd Bergmann, Stephen Rothwell, Richard Weinberger, Vignesh Raghavendra, Boris Brezillon, Boris Brezillon, Daniel Díaz, Naresh Kamboju, linux-block On Tue, 30 Nov 2021 at 18:01, Naresh Kamboju <naresh.kamboju@linaro.org> wrote: > > [Please ignore this email if it is already reported] > > Regression found on qemu_arm64. > Following kernel warnings reported on Linux next-20211130 while booting. I bisected down to 1ebe2e5f9d68 ("block: remove GENHD_FL_EXT_DEVT") and when I reverted 1ebe2e5f9d68 ("block: remove GENHD_FL_EXT_DEVT") and the 3 releated patches so patch 1ebe2e5f9d68 was reverted cleanly I managed to boot without a warning. Related patches from next-20211130: 9f18db572c97 ("block: don't set GENHD_FL_NO_PART for hidden gendisks") 430cc5d3ab4d ("block: cleanup the GENHD_FL_* definitions") a4561f9fccc5 ("sr: set GENHD_FL_REMOVABLE earlier") With this said, if I revert 9d6abd489e70 ("mtd: core: protect access to MTD devices while in suspend") I didn't see the warning either. Any idea what can be wrong here or what a fix could be? Only apply this patch from Geert https://lore.kernel.org/lkml/c26dfdf9ce56e92d23530a09db386b283e62845d.1638289204.git.geert+renesas@glider.be/ makes the warning go away too. Cheers, Anders ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [next] WARNING: CPU: 2 PID: 66 at kernel/locking/rwsem.c:1298 __up_read 2021-12-02 12:28 ` [next] WARNING: CPU: 2 PID: 66 at kernel/locking/rwsem.c:1298 __up_read Anders Roxell @ 2021-12-02 13:19 ` Boris Brezillon 2021-12-03 13:41 ` Miquel Raynal 0 siblings, 1 reply; 3+ messages in thread From: Boris Brezillon @ 2021-12-02 13:19 UTC (permalink / raw) To: Anders Roxell Cc: Christoph Hellwig, Jens Axboe, sean, Miquel Raynal, Geert Uytterhoeven, Linux-Next Mailing List, linux-mtd, open list, Linux ARM, Arnd Bergmann, Stephen Rothwell, Richard Weinberger, Vignesh Raghavendra, Boris Brezillon, Daniel Díaz, Naresh Kamboju, linux-block On Thu, 2 Dec 2021 13:28:46 +0100 Anders Roxell <anders.roxell@linaro.org> wrote: > On Tue, 30 Nov 2021 at 18:01, Naresh Kamboju <naresh.kamboju@linaro.org> wrote: > > > > [Please ignore this email if it is already reported] > > > > Regression found on qemu_arm64. > > Following kernel warnings reported on Linux next-20211130 while booting. > > I bisected down to 1ebe2e5f9d68 ("block: remove GENHD_FL_EXT_DEVT") > > and when I reverted 1ebe2e5f9d68 ("block: remove GENHD_FL_EXT_DEVT") and the > 3 releated patches so patch 1ebe2e5f9d68 was reverted cleanly I > managed to boot without > a warning. > > Related patches from next-20211130: > 9f18db572c97 ("block: don't set GENHD_FL_NO_PART for hidden gendisks") > 430cc5d3ab4d ("block: cleanup the GENHD_FL_* definitions") > a4561f9fccc5 ("sr: set GENHD_FL_REMOVABLE earlier") > > With this said, if I revert 9d6abd489e70 ("mtd: core: protect access > to MTD devices while in suspend") > I didn't see the warning either. I think 9d6abd489e70 ("mtd: core: protect access to MTD devices while in suspend") is at fault here. Miquel, would you mind reverting/dropping the "mtd: core: protect access to mtd devices while in suspend" series? > > Any idea what can be wrong here or what a fix could be? > > Only apply this patch from Geert > https://lore.kernel.org/lkml/c26dfdf9ce56e92d23530a09db386b283e62845d.1638289204.git.geert+renesas@glider.be/ > makes the warning go away too. > > Cheers, > Anders ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [next] WARNING: CPU: 2 PID: 66 at kernel/locking/rwsem.c:1298 __up_read 2021-12-02 13:19 ` Boris Brezillon @ 2021-12-03 13:41 ` Miquel Raynal 0 siblings, 0 replies; 3+ messages in thread From: Miquel Raynal @ 2021-12-03 13:41 UTC (permalink / raw) To: Boris Brezillon Cc: Anders Roxell, Christoph Hellwig, Jens Axboe, sean, Geert Uytterhoeven, Linux-Next Mailing List, linux-mtd, open list, Linux ARM, Arnd Bergmann, Stephen Rothwell, Richard Weinberger, Vignesh Raghavendra, Boris Brezillon, Daniel Díaz, Naresh Kamboju, linux-block Hello, boris.brezillon@collabora.com wrote on Thu, 2 Dec 2021 14:19:58 +0100: > On Thu, 2 Dec 2021 13:28:46 +0100 > Anders Roxell <anders.roxell@linaro.org> wrote: > > > On Tue, 30 Nov 2021 at 18:01, Naresh Kamboju <naresh.kamboju@linaro.org> wrote: > > > > > > [Please ignore this email if it is already reported] > > > > > > Regression found on qemu_arm64. > > > Following kernel warnings reported on Linux next-20211130 while booting. > > > > I bisected down to 1ebe2e5f9d68 ("block: remove GENHD_FL_EXT_DEVT") > > > > and when I reverted 1ebe2e5f9d68 ("block: remove GENHD_FL_EXT_DEVT") and the > > 3 releated patches so patch 1ebe2e5f9d68 was reverted cleanly I > > managed to boot without > > a warning. > > > > Related patches from next-20211130: > > 9f18db572c97 ("block: don't set GENHD_FL_NO_PART for hidden gendisks") > > 430cc5d3ab4d ("block: cleanup the GENHD_FL_* definitions") > > a4561f9fccc5 ("sr: set GENHD_FL_REMOVABLE earlier") > > > > With this said, if I revert 9d6abd489e70 ("mtd: core: protect access > > to MTD devices while in suspend") > > I didn't see the warning either. > > I think 9d6abd489e70 ("mtd: core: protect access to MTD devices while > in suspend") is at fault here. Miquel, would you mind > reverting/dropping the "mtd: core: protect access to mtd devices while > in suspend" series? FYI I've just dropped the entire series. The change will probably be effective in linux-next starting from next Monday. > > > > > Any idea what can be wrong here or what a fix could be? > > > > Only apply this patch from Geert > > https://lore.kernel.org/lkml/c26dfdf9ce56e92d23530a09db386b283e62845d.1638289204.git.geert+renesas@glider.be/ > > makes the warning go away too. > > > > Cheers, > > Anders > Thanks, Miquèl ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-03 13:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CA+G9fYuupqqemLbgoVL2kYL4d2AtZLBo1xcshWWae7gX5Ln-iA@mail.gmail.com>
2021-12-02 12:28 ` [next] WARNING: CPU: 2 PID: 66 at kernel/locking/rwsem.c:1298 __up_read Anders Roxell
2021-12-02 13:19 ` Boris Brezillon
2021-12-03 13:41 ` Miquel Raynal
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox