From 7e4f7c6a39b9a6e6384b094707261e796b186f0d Mon Sep 17 00:00:00 2001 From: Packit Service Date: Mar 30 2021 04:36:09 +0000 Subject: Apply patch glibc-rh1641982.patch patch_name: glibc-rh1641982.patch present_in_specfile: true location_in_specfile: 47 --- diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c index ea0b64f..4695ac8 100644 --- a/sysdeps/x86/cpu-features.c +++ b/sysdeps/x86/cpu-features.c @@ -316,7 +316,13 @@ init_cpu_features (struct cpu_features *cpu_features) | bit_arch_Fast_Unaligned_Copy | bit_arch_Prefer_PMINUB_for_stringop); break; + } + /* Disable TSX on some Haswell processors to avoid TSX on kernels that + weren't updated with the latest microcode package (which disables + broken feature by default). */ + switch (model) + { case 0x3f: /* Xeon E7 v3 with stepping >= 4 has working TSX. */ if (stepping >= 4)