On Wed, Jun 21, 2023 at 10:46:33PM -0700, Josh Poimboeuf wrote:
On Wed, Jun 21, 2023 at 08:36:02PM -0400, Waiman Long wrote:No actual bug, he did this for his debugfs file -- which is no longer
When intel_idle_ibrs() is called, it modifies the SPEC_CTRL MSR toIs this fixing an actual bug or is there some other reason for doing
0 in order disable IBRS. However, the new MSR value isn't reflected
in x86_spec_ctrl_current which is at odd with the other code that
keep track of its state in that percpu variable. Fix that by updating
x86_spec_ctrl_current percpu value to always match the content of the
SPEC_CTRL MSR.
this?
part of the series. With that on, you can observe the
x86_spec_ctrl_current value while idle.