Regression for duplicate (?) console parameters on next-20220630

From: Michael Walle
Date: Thu Jun 30 2022 - 09:12:13 EST


Hi,

I'm not sure it these are the correct recipients, feel free to CC others.

Since next-20220630 (or maybe also since next-20220629) I'm getting the

[ 3.707900] WARNING: CPU: 0 PID: 38 at fs/kernfs/dir.c:531 kernfs_put.part.0+0x1a0/0x1d4
[ 3.716313] kernfs_put: console/active: released with incorrect active_ref 0

on both arm and arm64 boards. See for example:
https://linux.kernelci.org/test/case/id/62bd840b330c4851eaa39c16/

I have the console set in the device tree as well as on the commandline.
Up until recently that wasn't a problem and I guess that should be a valid
configuration. That being said, the warn() will go away if I remove the
console= parameter on the commandline.

I haven't had time to do a bisect yet. That will probably my next step;
or maybe kernelci will already do that for me, Guillaume? Unless someone
has some more insights/ideas.

-michael