I have verified linux-image-4.13.0-21-generic on a 'good' Lenovo S20-30, BIOS still works fine after rebooted many times so this kernel can prevent the issue from happening.
As Thadeu and Marcin said above, this kernel is not meant to fix BIOS that already have the issue. From our investigation with ODMs, the problem is due to the SPI flash has become write protected. We are not sure if the BIOS can be unlocked from OS, if it can, we will share the solution here.
I have verified linux-image- 4.13.0- 21-generic on a 'good' Lenovo S20-30, BIOS still works fine after rebooted many times so this kernel can prevent the issue from happening.
As Thadeu and Marcin said above, this kernel is not meant to fix BIOS that already have the issue. From our investigation with ODMs, the problem is due to the SPI flash has become write protected. We are not sure if the BIOS can be unlocked from OS, if it can, we will share the solution here.