Page MenuHomeFreeBSD

Turn off ibrs on suspend.
ClosedPublic

Authored by kib on Apr 30 2018, 10:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 4:19 AM
Unknown Object (File)
Sat, Oct 11, 6:17 PM
Unknown Object (File)
Sat, Oct 11, 6:17 PM
Unknown Object (File)
Sat, Oct 11, 6:17 PM
Unknown Object (File)
Sat, Oct 11, 6:17 PM
Unknown Object (File)
Sat, Oct 11, 9:31 AM
Unknown Object (File)
Fri, Oct 3, 10:41 PM
Unknown Object (File)
Tue, Sep 30, 6:40 PM
Subscribers

Details

Reviewers
None
Commits
rS333125: Turn off IBRS on suspend.
Summary

Resume starts CPU from the init state, which clears any loaded microcode updates. As result, ibrs MSRs are no longer available, until the microcode is reloaded.

PR: 227866

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Also clear exit controls.

Also deactivate the ibrs, NMI depends on it.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 30 2018, 8:18 PM
Closed by commit rS333125: Turn off IBRS on suspend. (authored by kib). · Explain Why
This revision was automatically updated to reflect the committed changes.