All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/15] Initial MSA support
@ 2014-01-27 15:22 ` Paul Burton
  0 siblings, 0 replies; 52+ messages in thread
From: Paul Burton @ 2014-01-27 15:22 UTC (permalink / raw)
  To: linux-mips; +Cc: Paul Burton

This series introduces initial support for the MIPS SIMD Architecture
(MSA) ASE introduced with MIPSr5. This support allows for MSA being
detected & enabled for tasks which use it, and for vector registers
(which are aliased with FP registers) to be context switched. MSA
implementations with vector register partitioning are not handled since
none currently exist, and a mechanism for exposing the vector registers
via ptrace remains to be added later.

The series applies atop the current mips-for-linux-next branch. An
earlier version of the first patch has been sent to the list before, but
is now included in this series to make its intent clearer.

Paul Burton (15):
  mips: simplify FP context access
  mips: update outdated comment
  mips: move & rename fpu_emulator_{save,restore}_context
  mips: don't require FPU on sigcontext setup/restore
  mips: replace hardcoded 32 with NUM_FPU_REGS in ptrace
  mips: clear upper bits of FP registers on emulator writes
  mips: don't assume 64-bit FP registers for dump_{,task_}fpu
  mips: don't assume 64-bit FP registers for FP regset
  mips: don't assume 64-bit FP registers for context switch
  mips: add MSA register definitions & access
  mips: detect the MSA ASE
  mips: basic MSA context switching support
  mips: dumb MSA FP exception handler
  mips: panic if vector register partitioning is implemented
  mips: save/restore MSA context around signals

 arch/mips/Kconfig                       |  20 ++
 arch/mips/Makefile                      |   5 +
 arch/mips/include/asm/asmmacro-32.h     | 128 ++++++-------
 arch/mips/include/asm/asmmacro.h        | 319 +++++++++++++++++++++++++-------
 arch/mips/include/asm/cpu-features.h    |   6 +
 arch/mips/include/asm/cpu-info.h        |   1 +
 arch/mips/include/asm/cpu.h             |   1 +
 arch/mips/include/asm/fpu.h             |   2 +-
 arch/mips/include/asm/mipsregs.h        |   1 +
 arch/mips/include/asm/msa.h             | 199 ++++++++++++++++++++
 arch/mips/include/asm/processor.h       |  45 ++++-
 arch/mips/include/asm/sigcontext.h      |   2 +
 arch/mips/include/asm/switch_to.h       |  22 ++-
 arch/mips/include/asm/thread_info.h     |   4 +
 arch/mips/include/uapi/asm/sigcontext.h |   8 +
 arch/mips/kernel/asm-offsets.c          |  69 +++++++
 arch/mips/kernel/cpu-probe.c            |  26 +++
 arch/mips/kernel/genex.S                |   2 +
 arch/mips/kernel/proc.c                 |   1 +
 arch/mips/kernel/process.c              |  23 ++-
 arch/mips/kernel/ptrace.c               |  85 ++++++---
 arch/mips/kernel/ptrace32.c             |  25 +--
 arch/mips/kernel/r4k_fpu.S              | 213 +++++++++++++++++++++
 arch/mips/kernel/r4k_switch.S           |  58 ++++--
 arch/mips/kernel/signal.c               | 136 +++++++++++---
 arch/mips/kernel/signal32.c             | 134 ++++++++++++--
 arch/mips/kernel/traps.c                | 113 ++++++++++-
 arch/mips/math-emu/cp1emu.c             |  51 +++--
 arch/mips/math-emu/kernel_linkage.c     |  76 +-------
 29 files changed, 1433 insertions(+), 342 deletions(-)
 create mode 100644 arch/mips/include/asm/msa.h

-- 
1.8.5.3

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

end of thread, other threads:[~2014-02-13 11:28 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-27 15:22 [PATCH 00/15] Initial MSA support Paul Burton
2014-01-27 15:22 ` Paul Burton
2014-01-27 15:23 ` [PATCH v2 01/15] mips: simplify FP context access Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-02-13 11:26   ` [PATCH v3 " Paul Burton
2014-02-13 11:26     ` Paul Burton
2014-01-27 15:23 ` [PATCH 02/15] mips: update outdated comment Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 15:23 ` [PATCH 03/15] mips: move & rename fpu_emulator_{save,restore}_context Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 15:23 ` [PATCH 04/15] mips: don't require FPU on sigcontext setup/restore Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 15:23 ` [PATCH 05/15] mips: replace hardcoded 32 with NUM_FPU_REGS in ptrace Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 15:23 ` [PATCH 06/15] mips: clear upper bits of FP registers on emulator writes Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 18:06   ` Sergei Shtylyov
2014-01-27 17:11     ` Paul Burton
2014-01-27 17:11       ` Paul Burton
2014-01-27 17:14     ` [PATCH v2 " Paul Burton
2014-01-27 17:14       ` Paul Burton
2014-01-27 15:23 ` [PATCH 07/15] mips: don't assume 64-bit FP registers for dump_{,task_}fpu Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 15:23 ` [PATCH 08/15] mips: don't assume 64-bit FP registers for FP regset Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 15:23 ` [PATCH 09/15] mips: don't assume 64-bit FP registers for context switch Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 15:23 ` [PATCH 10/15] mips: add MSA register definitions & access Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 15:23 ` [PATCH 11/15] mips: detect the MSA ASE Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 15:23 ` [PATCH 12/15] mips: basic MSA context switching support Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 15:23 ` [PATCH 13/15] mips: dumb MSA FP exception handler Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 15:23 ` [PATCH 14/15] mips: panic if vector register partitioning is implemented Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 18:38   ` David Daney
2014-01-27 19:39     ` Paul Burton
2014-01-27 19:39       ` Paul Burton
2014-01-27 19:56       ` David Daney
2014-01-28 14:20         ` Paul Burton
2014-01-28 14:20           ` Paul Burton
2014-01-28 14:28           ` [PATCH v2 14/15] mips: warn " Paul Burton
2014-01-28 14:28             ` Paul Burton
2014-01-27 15:23 ` [PATCH 15/15] mips: save/restore MSA context around signals Paul Burton
2014-01-27 15:23   ` Paul Burton
2014-01-27 19:50   ` David Daney
2014-01-27 20:06     ` Paul Burton
2014-01-27 20:06       ` Paul Burton
2014-02-13 11:27   ` [PATCH v2 " Paul Burton
2014-02-13 11:27     ` Paul Burton

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.