by cliffy · 7y ago · 0 comments
I'm genuinely curious is all. At the time I was pursing this I decided it was going to get too complicated and that I had to live with a reboot.
1. Most firmware is sufficiently broken that Linux drivers are already hardened against devices being brought up in arbitrary states.
2. kexec walks the device tree to shut down all devices before starting the new kernel. This usually gets devices closer to a startup state, or at least a smaller number of known shutdown states.