Do not enable PTI when IA32_ARCH_CAP_RDCL_NO bit is set.
Intel document 336996-001 claims that this will be the way to inform about Meltdown correction. Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
cb57d1dd30
commit
3b5319325e
@ -1614,7 +1614,8 @@ pti_get_default(void)
|
||||
|
||||
if (strcmp(cpu_vendor, AMD_VENDOR_ID) == 0)
|
||||
return (0);
|
||||
|
||||
if ((cpu_ia32_arch_caps & IA32_ARCH_CAP_RDCL_NO) != 0)
|
||||
return (0);
|
||||
return (1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user