[PATCH v3 30/43] x86: Allow logging to be used in SPL reliably