All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] MIPS: FP cleanup & no-FP support
@ 2017-06-05 18:21 ` Paul Burton
  0 siblings, 0 replies; 23+ messages in thread
From: Paul Burton @ 2017-06-05 18:21 UTC (permalink / raw)
  To: linux-mips; +Cc: Ralf Baechle, Paul Burton

This series tidies up support for floating point a little, then
introduces support for disabling it via Kconfig. The end result is that
it becomes possible to compile a kernel which does not include any
support for userland which makes use of floating point instructions -
meaning that it never enables an FPU & does not include the FPU
emulator. The benefit of this is that if you know your userland code
will not use FP instructions then you can shrink the kernel by around
65KiB.

Applies atop v4.12-rc4.

Paul Burton (5):
  MIPS: Remove unused R6000 support
  MIPS: Move r4k FP code from r4k_switch.S to r4k_fpu.S
  MIPS: Move r2300 FP code from r2300_switch.S to r2300_fpu.S
  MIPS: Remove unused ST_OFF from r2300_switch.S
  MIPS: Allow floating point support to be disabled

 arch/mips/Kconfig                    |  41 ++++---
 arch/mips/Makefile                   |   3 +-
 arch/mips/include/asm/cpu-features.h |  11 +-
 arch/mips/include/asm/cpu-type.h     |   5 -
 arch/mips/include/asm/cpu.h          |   5 -
 arch/mips/include/asm/dsemul.h       |  34 ++++++
 arch/mips/include/asm/fpu.h          |   3 +
 arch/mips/include/asm/fpu_emulator.h |  16 +++
 arch/mips/include/asm/module.h       |   2 -
 arch/mips/kernel/Makefile            |  13 ++-
 arch/mips/kernel/cpu-probe.c         |  18 ----
 arch/mips/kernel/octeon_switch.S     |   5 -
 arch/mips/kernel/process.c           |   8 ++
 arch/mips/kernel/r2300_fpu.S         |  78 +++++++++++++-
 arch/mips/kernel/r2300_switch.S      |  81 --------------
 arch/mips/kernel/r4k_fpu.S           | 196 +++++++++++++++++++++++++++++++++
 arch/mips/kernel/r4k_switch.S        | 203 -----------------------------------
 arch/mips/kernel/r6000_fpu.S         |  99 -----------------
 arch/mips/kernel/traps.c             |  15 ---
 arch/mips/mm/tlbex.c                 |   5 -
 20 files changed, 376 insertions(+), 465 deletions(-)
 delete mode 100644 arch/mips/kernel/r6000_fpu.S

-- 
2.13.0

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2017-08-10  8:47 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-05 18:21 [PATCH 0/5] MIPS: FP cleanup & no-FP support Paul Burton
2017-06-05 18:21 ` Paul Burton
2017-06-05 18:21 ` [PATCH 1/5] MIPS: Remove unused R6000 support Paul Burton
2017-06-05 18:21   ` Paul Burton
2017-06-05 18:21 ` [PATCH 2/5] MIPS: Move r4k FP code from r4k_switch.S to r4k_fpu.S Paul Burton
2017-06-05 18:21   ` Paul Burton
2017-06-05 18:21 ` [PATCH 3/5] MIPS: Move r2300 FP code from r2300_switch.S to r2300_fpu.S Paul Burton
2017-06-05 18:21   ` Paul Burton
2017-06-05 18:21 ` [PATCH 4/5] MIPS: Remove unused ST_OFF from r2300_switch.S Paul Burton
2017-06-05 18:21   ` Paul Burton
2017-06-05 18:21 ` [PATCH 5/5] MIPS: Allow floating point support to be disabled Paul Burton
2017-06-05 18:21   ` Paul Burton
2017-06-16  2:55 ` [PATCH 0/5] MIPS: FP cleanup & no-FP support Maciej W. Rozycki
2017-06-16  2:55   ` Maciej W. Rozycki
2017-06-16 16:49   ` Paul Burton
2017-06-16 16:49     ` Paul Burton
2017-06-16 19:50     ` Maciej W. Rozycki
2017-06-16 19:50       ` Maciej W. Rozycki
2017-06-16 20:21       ` [PATCH v2 5/5] MIPS: Allow floating point support to be disabled Paul Burton
2017-06-16 20:21         ` Paul Burton
2017-08-07  9:41         ` Ralf Baechle
2017-08-10  8:46           ` Maciej W. Rozycki
2017-08-10  8:46             ` Maciej W. Rozycki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.