On 15:21-20230615, Francesco Dolcini wrote:
-- 2.34.1
Tested-by: Nishanth Menon nm@ti.com
This in addition to a deeper bug in our driver seems to have helped resolve a report we had been looking at. Tested on beagleplay platform
https://lore.kernel.org/all/ZGeHMjlnob2GFyHF@francesco-nb.int.toradex.com/
Is this patch going to fix the RCU warning I reported on that email or it is just part of a more complex solution?
From what I see, It is part of the solution. Problem happens as follows for us: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/driv...
When i2c is not that frequently used, runtime pm disables the power domain on our platform. As part of reset or power-off, when i2c is invoked, it ends up calling into the firmware handler which (no surprise), attempts to do the wrong thing (and rightly flagged by RCU).
We are in the middle of trying various combinations out to ensure we are'nt messing things up.