Hi Tony, > * Stefan Lengfeld <contact@xxxxxxxxxxxxxxx> [180813 21:19]: > > Making I2C transfers in atomic context is sometimes needed, e.g. for > > reboot handlers. > > Just a generic comment related to where this might be needed. > Let's try to avoid the slippery slope of making i2c work super > early.. That will just make the race to the bottom initcall > level and defferd probe situation worse :) > > It's best to initialize everything late instead of trying to > initialize something early except for what's needed for system > timers and interrupts. > > So from that point of view I don't have any issues limiting > atomic i2c to shutdown time only. I agree to that. A solution should only/mainly focus on reboot and shutdown handlers. Getting I2C transfers in atomic/disabled IRQ contexts is already hard enough there :-) Kind regards, Stefan