Re: [PATCH 5.4 55/86] x86/mmx: Use KFPU_387 for MMX string operations

2021-01-26 Thread Krzysztof Olędzki
On 2021-01-25 at 10:39, Greg Kroah-Hartman wrote: From: Andy Lutomirski commit 67de8dca50c027ca0fa3b62a488ee5035036a0da upstream. The default kernel_fpu_begin() doesn't work on systems that support XMM but haven't yet enabled CR4.OSFXSR. This causes crashes when _mmx_memcpy() is called too ea

Re: [PATCH 5.10 119/199] x86/mmx: Use KFPU_387 for MMX string operations

2021-01-26 Thread Krzysztof Olędzki
Hi, I think for both 5.4-stable and 5.10-stable we also need https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e45122893a9870813f9bd7b4add4f613e6f29008 - "x86/fpu: Add kernel_fpu_begin_mask() to selectively initialize state" Without this, there is no kernel_fpu_beg

Re: [PATCH v3 0/4] x86/fpu: Reduce unnecessary FNINIT and MXCSR usage

2021-01-21 Thread Krzysztof Olędzki
On 2021-01-20 at 21:09, Andy Lutomirski wrote: This series fixes two regressions: a boot failure on AMD K7 and a performance regression on everything. I did a double-take here -- the regressions were reported by different people, both named Krzysztof :) Changes from v2: - Tidy up the if state

Re: [PATCH v2 0/4] x86/fpu: Reduce unnecessary FNINIT and MXCSR usage

2021-01-19 Thread Krzysztof Olędzki
On 2021-01-19 at 09:38, Andy Lutomirski wrote: This series fixes two regressions: a boot failure on AMD K7 and a performance regression on everything. I did a double-take here -- the regressions were reported by different people, both named Krzysztof :) Changes from v1: - Fix MMX better -- MM

Re: [PATCH 0/4] x86/fpu: Reduce unnecessary FNINIT and MXCSR usage

2021-01-18 Thread Krzysztof Olędzki
5.4 is not due to wrong backporting, and on different CPUs. However, this may have to wait until Tuesday / Wednesday due to family duties, as Monday is a holiday here. Best regards, Krzysztof Olędzki