To match the sysctl MIBs and security(7).
Fixes: 2dec2b4a34b4 amd64: flush L1 data cache on syscall return with an error
Fixes: 17edf152e556 Control for Special Register Buffer Data Sampling mitigation
MFC after: 1 day
Differential D42249
amd64: Fix two typos of loader tunables zlei on Oct 17 2023, 8:42 AM. Authored by Tags None Referenced Files
Subscribers
Details To match the sysctl MIBs and security(7). Fixes: 2dec2b4a34b4 amd64: flush L1 data cache on syscall return with an error MFC after: 1 day
Diff Detail
Event TimelineComment Actions I guess this one is also typo, but not quite sure. static int pmap_allow_2m_x_ept; SYSCTL_INT(_vm_pmap, OID_AUTO, allow_2m_x_ept, CTLFLAG_RWTUN | CTLFLAG_NOFETCH, &pmap_allow_2m_x_ept, 0, "Allow executable superpage mappings in EPT"); ... ---TUNABLE_INT_FETCH("hw.allow_2m_x_ept", &pmap_allow_2m_x_ept); +++TUNABLE_INT_FETCH("vm.pmap.allow_2m_x_ept", &pmap_allow_2m_x_ept); Comment Actions This one is certainly inconsistency, I have no opinion which one (hw or vm.pmap) the tunable should be. The sysctl knob must be under vm.pmap of course. |