You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x86/bhi: Do not enable unnecessary BHI mitigation in OCI and Exadata VMs
The BHI mitigation logic can enable unnecessary extra BHI mitigation
in virtual machines when the host server is using an Intel CPU
without eIBRS. Enabling this extra mitigation has a performance
impact on every syscall and impact VMs running on OCI and Exadata
servers based on Intel Haswell, Broadwell and Skylake CPUs.
To avoid the impact on OCI and Exadata servers, make sure no extra
BHI mitigation is enabled on Haswell, Broadwell and Skylake servers.
Note that this change is not present in upstream kernel as no consensus
has been reached on how to handle this issue. It should eventually be
replaced by the upstream fix if one is ever integrated. In the meantime,
this fix is used to provide a quick and simple relief for OCI and
Exadata VMs.
Signed-off-by: Alexandre Chartre <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
(cherry picked from LUCI commit 092a3a1db1273baf2f453d6da49d11bac6e09f27)
Changes:
- arch/x86/kernel/cpu/common.c: straight backport is not working because
commit b24e466 ("x86/bugs: Switch to new Intel CPU model defines")
is not present and it changes macros for matching Intel CPU model.
Orabug: 36672479
Signed-off-by: Alexandre Chartre <[email protected]>
Reviewed-by: William Roche <[email protected]>
Signed-off-by: Brian Maly <[email protected]>
0 commit comments