pub fn init() -> Result<(), KernelError>Expand description
Detect and enable Spectre mitigations.
Called during early boot from security::init(). Detects CPU features
and enables available hardware mitigations. If IBRS is available, it is
enabled. IBPB flushes are performed on context switches via flush_btb.