Skip to content

Commit 84bcc05

Browse files
committed
issue: 1557652 BF is supported for upstream on VMs
This reverts commit cf04c89.
1 parent 90ba94a commit 84bcc05

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/utils/asm-x86.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,7 @@ VMA_ATTRIBUTE_OPTIMIZE_NONE
203203
#define __vma_memory_copy64(_dst, _src) \
204204
{ \
205205
static int is_wc_simd = cpuid_flags() & \
206-
(CPU_FLAG_SSE3 | CPU_FLAG_SSSE3 | \
207-
CPU_FLAG_SSE41 | CPU_FLAG_SSE42 | \
208-
CPU_FLAG_AVX | CPU_FLAG_AVX2); \
206+
(CPU_FLAG_SSE41 | CPU_FLAG_SSE42); \
209207
\
210208
if (is_wc_simd) { \
211209
__asm__ __volatile__ ( \

src/vma/dev/qp_mgr_eth_mlx5.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,6 @@ static bool is_bf(struct ibv_context *ib_ctx)
9090
static off_t offset = VMA_MLX5_MMAP_GET_WC_PAGES_CMD << VMA_MLX5_IB_MMAP_CMD_SHIFT;
9191
char *env;
9292

93-
#if defined(DEFINED_VERBS_VERSION) && (DEFINED_VERBS_VERSION == 3)
94-
/* This limitation is done for RM: 1557652 */
95-
if (safe_mce_sys().hypervisor != mce_sys_var::HYPER_NONE) {
96-
return false;
97-
}
98-
#endif
99-
10093
env = getenv("MLX5_SHUT_UP_BF");
10194
if (!env || !strcmp(env, "0")) {
10295
/*

0 commit comments

Comments
 (0)