Patch "x86/microcode: Do not upload microcode if CPUs are offline" has been added to the 4.15-stable tree