On Wed, Apr 30, 2025 at 10:01:14AM +0200, Francesco Dolcini wrote:I'll try out implementing and testing the solution, but will get to it early next week. Will email with any updates!
On Tue, Apr 29, 2025 at 06:52:40PM +0200, Andreas Kemnade wrote:so, the bug is clear, however the fix is not an obvious one liner as I was
Am Tue, 29 Apr 2025 15:21:19 +0200your wild guess seems correct, I'll send a proper patch with your
schrieb Francesco Dolcini <francesco@xxxxxxxxxx>:
Hello all,[...]
while working on adding support in mainline for a new board based on TI
AM62P SoC I noticed the following Kernel Oops.
This oops was reproduced running current Linux
master, 6.15.0-rc4+, ca91b9500108d4cf083a635c2e11c884d5dd20ea, but I was able
to reproduce the same with 6.14.4.
[ +0.000022] Call trace:wild guessing: maybe because irqdata->rdev is not initalized in
[ +0.000011] regulator_notifier_call_chain+0x20/0xa4 (P)
[ +0.000018] tps65219_regulator_irq_handler+0x34/0x80
_probe()? At least I do not see where it would be initialized.
suggested-by after doing a couple of more tests, thanks.
wishing.
we would need to add a link from each of the interrupts to the specific
regulator. as of now such a connection is not existing in the code.
I would not have the time to fix the code in the next few days, if someone is
able to pick this up before, just let me know ...
Francesco