x86/cpufeatures: Force disable X86_FEATURE_ENQCMD and remove update_pasid()
[sfrench/cifs-2.6.git] / arch / x86 / include / asm / fpu / internal.h
index 8d33ad80704f264ba4db632dde22a7e5f6caa816..ceeba9f6317222ba114bcd213fc6f55e7fb4e504 100644 (file)
@@ -584,13 +584,6 @@ static inline void switch_fpu_finish(struct fpu *new_fpu)
                        pkru_val = pk->pkru;
        }
        __write_pkru(pkru_val);
-
-       /*
-        * Expensive PASID MSR write will be avoided in update_pasid() because
-        * TIF_NEED_FPU_LOAD was set. And the PASID state won't be updated
-        * unless it's different from mm->pasid to reduce overhead.
-        */
-       update_pasid();
 }
 
 #endif /* _ASM_X86_FPU_INTERNAL_H */