[Bug 241988] hw.mds_disable sysctl has wrong sense

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 15 19:50:54 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241988

            Bug ID: 241988
           Summary: hw.mds_disable sysctl has wrong sense
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: emaste at freebsd.org

sysctls should have positive sense.

hw.mds_disable is really something like hw.mds_mitigation_enable:

% sysctl -d hw.mds_disable
hw.mds_disable: Microarchitectural Data Sampling Mitigation (0 - off, 1 - on
VERW, 2 - on SW, 3 - on AUTO

it's even more confusing in light of the corresponding status sysctl:

% sysctl hw.mds_disable_state
hw.mds_disable_state: inactive

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list