linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/16] MSA vector context signal handling & HWCAPs
@ 2015-07-10 15:00 Paul Burton
  2015-07-10 15:00 ` [PATCH 01/16] MIPS: remove outdated comments in sigcontext.h Paul Burton
                   ` (15 more replies)
  0 siblings, 16 replies; 23+ messages in thread
From: Paul Burton @ 2015-07-10 15:00 UTC (permalink / raw)
  To: linux-mips
  Cc: Matthew Fortune, Paul Burton, Leonid Yegoshin,
	Zubair Lutfullah Kakakhel, James Hogan, Daniel Borkmann,
	Huacai Chen, Maciej W. Rozycki, Alex Smith, Michal Nazarewicz,
	Maciej W. Rozycki, Markos Chandras, Frederic Weisbecker,
	Ralf Baechle, Andrew Morton, Peter Zijlstra, Andy Lutomirski,
	Manuel Lauss, Kees Cook, Michael Ellerman, linux-kernel,
	Richard Weinberger, David Daney

This series provides the final bits of support for MSA as far as
userland that isn't a debugger goes. In order to preserve backwards
compatibility it saves the extended vector context after the end of the
sigframe or ucontext, at a fixed offset. A bit set in sigcontext's
sc_used_math field indicates to userland (and to the kernel on
sigreturn) that the extended context is present.

With these final bits in, the presence of MSA support is indicated via a
HWCAP bit that userland may check for.

Paul Burton (16):
  MIPS: remove outdated comments in sigcontext.h
  MIPS: simplify EVA FP context handling code
  MIPS: add offsets to sigcontext FP fields to struct mips_abi
  MIPS: use struct mips_abi offsets to save FP context
  MIPS: move FP usage checks into protected_{save,restore}_fp_context
  MIPS: skip odd double FP registers when copying FP32 sigcontext
  MIPS: use common FP sigcontext code for O32 compat
  MIPS: remove unused {get,put}_sigset functions
  MIPS: indicate FP mode in sigcontext sc_used_math
  MIPS: add definitions for extended context
  MIPS: save MSA extended context around signals
  MIPS: AT_HWCAP aux vector infrastructure
  MIPS: advertise MIPSr6 via HWCAP when appropriate
  MIPS: advertise MSA support via HWCAP when present
  MIPS: require O32 FP64 support for MIPS64 with O32 compat
  MIPS: drop EXPERIMENTAL tag from O32+FP64 & MSA

 arch/mips/Kconfig                       |   5 +-
 arch/mips/include/asm/Kbuild            |   1 -
 arch/mips/include/asm/abi.h             |   4 +
 arch/mips/include/asm/elf.h             |   4 +-
 arch/mips/include/asm/signal.h          |   3 +
 arch/mips/include/uapi/asm/hwcap.h      |   8 +
 arch/mips/include/uapi/asm/sigcontext.h |  19 +-
 arch/mips/include/uapi/asm/ucontext.h   |  65 +++++
 arch/mips/kernel/asm-offsets.c          |  11 -
 arch/mips/kernel/cpu-probe.c            |   7 +
 arch/mips/kernel/r4k_fpu.S              | 372 +++++++++++++-------------
 arch/mips/kernel/signal-common.h        |   9 +
 arch/mips/kernel/signal.c               | 446 ++++++++++++++++++++++++--------
 arch/mips/kernel/signal32.c             | 207 +--------------
 arch/mips/kernel/signal_n32.c           |   6 +-
 15 files changed, 666 insertions(+), 501 deletions(-)
 create mode 100644 arch/mips/include/uapi/asm/hwcap.h
 create mode 100644 arch/mips/include/uapi/asm/ucontext.h

-- 
2.4.4


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

end of thread, other threads:[~2015-10-25 22:18 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-10 15:00 [PATCH 00/16] MSA vector context signal handling & HWCAPs Paul Burton
2015-07-10 15:00 ` [PATCH 01/16] MIPS: remove outdated comments in sigcontext.h Paul Burton
2015-07-14 13:56   ` Ralf Baechle
2015-07-10 15:00 ` [PATCH 02/16] MIPS: simplify EVA FP context handling code Paul Burton
2015-07-10 15:00 ` [PATCH 03/16] MIPS: add offsets to sigcontext FP fields to struct mips_abi Paul Burton
2015-07-10 15:00 ` [PATCH 04/16] MIPS: use struct mips_abi offsets to save FP context Paul Burton
2015-07-19  0:21   ` Paul Gortmaker
2015-07-19  0:25     ` Ralf Baechle
2015-07-10 15:00 ` [PATCH 05/16] MIPS: move FP usage checks into protected_{save,restore}_fp_context Paul Burton
2015-07-10 15:00 ` [PATCH 06/16] MIPS: skip odd double FP registers when copying FP32 sigcontext Paul Burton
2015-07-10 15:00 ` [PATCH 07/16] MIPS: use common FP sigcontext code for O32 compat Paul Burton
2015-07-10 15:00 ` [PATCH 08/16] MIPS: remove unused {get,put}_sigset functions Paul Burton
2015-07-10 15:00 ` [PATCH 09/16] MIPS: indicate FP mode in sigcontext sc_used_math Paul Burton
2015-07-10 15:00 ` [PATCH 10/16] MIPS: add definitions for extended context Paul Burton
2015-10-25 21:10   ` [PATCH 10/16] compile error: " Hauke Mehrtens
2015-10-25 21:47     ` Florian Fainelli
2015-10-25 22:18       ` Hauke Mehrtens
2015-07-10 15:00 ` [PATCH 11/16] MIPS: save MSA extended context around signals Paul Burton
2015-07-10 15:00 ` [PATCH 12/16] MIPS: AT_HWCAP aux vector infrastructure Paul Burton
2015-07-10 15:00 ` [PATCH 13/16] MIPS: advertise MIPSr6 via HWCAP when appropriate Paul Burton
2015-07-10 15:00 ` [PATCH 14/16] MIPS: advertise MSA support via HWCAP when present Paul Burton
2015-07-10 15:00 ` [PATCH 15/16] MIPS: require O32 FP64 support for MIPS64 with O32 compat Paul Burton
2015-07-10 15:00 ` [PATCH 16/16] MIPS: drop EXPERIMENTAL tag from O32+FP64 & MSA Paul Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).