Re: [PATCH v2 1/5] x86/speculation: Provide a debugfs file to dump SPEC_CTRL MSRs

From: Peter Zijlstra
Date: Wed Jun 21 2023 - 03:42:10 EST


On Tue, Jun 20, 2023 at 10:06:21AM -0400, Waiman Long wrote:
> Sometimes it is useful to know the states the SPEC_CTRL MSRs to see what
> mitigations are enabled at run time. Provide a new x86/spec_ctrl_msrs
> debugfs file to dump the cached versions of the current SPEC_CTRL MSRs.
>

Pff, clearly I can't even read email anymore..

We don't do this for any of the other MSRs, so why start now?