x86 FPU cleanups (v2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 27 repliesIn review
v2 from the cover letter
- Don't write to %cr4 unless some bits are set
- Reworked the fpu_save_init() merge
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | x86: Use correct type for %cr4arch/ | +2 | 2 replies | |
| 2/12 | x86: Merge fpu_init()arch/ arch/ arch/ | +14 | 2 replies | |
| 3/12 | x86: Merge tolerant_fwait()arch/ | +4 | 2 replies | |
| 4/12 | x86: Merge __save_init_fpu()arch/ | +2 | 2 replies | |
| 5/12 | x86-64: Disable preemption when using TS_USEDFPUarch/ arch/ | +1 | 2 replies | |
| 6/12 | x86-64: Fix %cs value in convert_from_fxsr()arch/ | +8 | 2 replies | |
| 7/12 | x86-64: Simplify constraints for fxsave/fxtstorarch/ | +17 | 4 replies | |
| 8/12 | x86-32: Remove math_emulate stubarch/ | +6 | 2 replies | |
| 9/12 | x86: Remove unnecessary ifdefs from i387 code.arch/ arch/ | +6 | 2 replies | |
| 10/12 | x86: Remove PSHUFB_XMM5_* macrosarch/ | +0 | 2 replies | |
| 11/12 | x86-32: Rewrite fpu_save_init()arch/ | +22 | 2 replies | |
| 12/12 | x86: Merge fpu_save_init()arch/ | +4 | 2 replies |
Reviews trailers per patch
All 12 patches have a Reviewed-by or Acked-by.
| Patch | Pekka Enberg |
|---|---|
| 1/12 | A-b A-b |
| 2/12 | A-b A-b |
| 3/12 | A-b A-b |
| 4/12 | A-b A-b |
| 5/12 | A-b A-b |
| 6/12 | A-b A-b |
| 7/12 | A-b A-b |
| 8/12 | A-b A-b |
| 9/12 | A-b A-b |
| 10/12 | A-b A-b |
| 11/12 | A-b A-b |
| 12/12 | A-b A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/12] x86 FPU cleanups (v2)
This patch set cleans up and merges the 32-bit and 64-bit FPU code.
v2:
- Don't write to %cr4 unless some bits are set
- Reworked the fpu_save_init() merge
[PATCH 01/12] x86: Use correct type for %cr4
[PATCH 02/12] x86: Merge fpu_init()
[PATCH 03/12] x86: Merge tolerant_fwait()
[PATCH 04/12] x86: Merge __save_init_fpu()
[PATCH 05/12] x86-64: Disable preemption when using TS_USEDFPU [PATCH 06/12] x86-64: Fix %cs value in convert_from_fxsr() [PATCH 07/12] x86-64: Simplify constraints for fxsave/fxtstor [PATCH 08/12] x86-32: Remove math_emulate stub [PATCH 09/12] x86: Remove unnecessary ifdefs from i387 code. [PATCH 10/12] x86: Remove PSHUFB_XMM5_* macros [PATCH 11/12] x86-32: Rewrite fpu_save_init()
[PATCH 12/12] x86: Merge fpu_save_init()
arch/x86/include/asm/i387.h | 195 ++++++++++--------------------------- arch/x86/include/asm/processor.h | 4 +- arch/x86/kernel/cpu/common.c | 7 -- arch/x86/kernel/i387.c | 52 +++++------ arch/x86/kernel/process_64.c | 2 +- arch/x86/kernel/traps.c | 35 +------ 6 files changed, 84 insertions(+), 211 deletions(-)