Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 00/10] MIPS: Cleanup EXPORT_SYMBOL usage
@ 2016-11-07 11:14 Paul Burton
  2016-11-07 11:14 ` Paul Burton
                   ` (10 more replies)
  0 siblings, 11 replies; 33+ messages in thread
From: Paul Burton @ 2016-11-07 11:14 UTC (permalink / raw)
  To: linux-mips; +Cc: Ralf Baechle, Paul Burton

This series takes advantage of the recent support for using
EXPORT_SYMBOL from assembly source to move symbols exports for functions
written in assembly to be performed close to the definition of the
function itself. The result is that mips_ksyms.c can be removed
entirely.

Along the way we make the handling of functions written (or at least
stubbed) in assembly a little more consistent for microMIPS kernels.

Applies atop v4.9-rc4.


Paul Burton (10):
  MIPS: Use generic asm/export.h
  MIPS: tlbex: Clear ISA bit when writing to handle_tlb{l,m,s}
  MIPS: End asm function prologue macros with .insn
  MIPS: Export _save_fp & _save_msa alongside their definitions
  MIPS: Export _mcount alongside its definition
  MIPS: Export invalid_pte_table alongside its definition
  MIPS: Export csum functions alongside their definitions
  MIPS: Export string functions alongside their definitions
  MIPS: Export memcpy & memset functions alongside their definitions
  MIPS: Export {copy,clear}_page functions alongside their definitions

 arch/mips/cavium-octeon/octeon-memcpy.S |  5 ++
 arch/mips/include/asm/Kbuild            |  1 +
 arch/mips/include/asm/asm.h             | 10 ++--
 arch/mips/kernel/Makefile               |  2 +-
 arch/mips/kernel/mcount.S               |  2 +
 arch/mips/kernel/mips_ksyms.c           | 94 ---------------------------------
 arch/mips/kernel/r2300_switch.S         |  2 +
 arch/mips/kernel/r4k_switch.S           |  3 ++
 arch/mips/lib/csum_partial.S            |  6 +++
 arch/mips/lib/memcpy.S                  |  9 ++++
 arch/mips/lib/memset.S                  |  5 ++
 arch/mips/lib/strlen_user.S             |  2 +
 arch/mips/lib/strncpy_user.S            |  5 ++
 arch/mips/lib/strnlen_user.S            |  3 ++
 arch/mips/mm/init.c                     |  2 +
 arch/mips/mm/page-funcs.S               |  3 ++
 arch/mips/mm/page.c                     |  2 +
 arch/mips/mm/tlbex.c                    |  6 +--
 18 files changed, 60 insertions(+), 102 deletions(-)
 delete mode 100644 arch/mips/kernel/mips_ksyms.c

-- 
2.10.2

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

end of thread, other threads:[~2016-12-21 21:48 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-07 11:14 [PATCH 00/10] MIPS: Cleanup EXPORT_SYMBOL usage Paul Burton
2016-11-07 11:14 ` Paul Burton
2016-11-07 11:14 ` [PATCH 01/10] MIPS: Use generic asm/export.h Paul Burton
2016-11-07 11:14   ` Paul Burton
2016-11-07 11:14 ` [PATCH 02/10] MIPS: tlbex: Clear ISA bit when writing to handle_tlb{l,m,s} Paul Burton
2016-11-07 11:14   ` Paul Burton
2016-11-07 12:04   ` Maciej W. Rozycki
2016-11-07 12:04     ` Maciej W. Rozycki
2016-11-07 11:14 ` [PATCH 03/10] MIPS: End asm function prologue macros with .insn Paul Burton
2016-11-07 11:14   ` Paul Burton
2016-11-07 14:33   ` Maciej W. Rozycki
2016-11-07 14:33     ` Maciej W. Rozycki
2016-11-07 15:18     ` Paul Burton
2016-11-07 15:18       ` Paul Burton
2016-11-08 11:20       ` Maciej W. Rozycki
2016-11-08 11:20         ` Maciej W. Rozycki
2016-11-07 11:14 ` [PATCH 04/10] MIPS: Export _save_fp & _save_msa alongside their definitions Paul Burton
2016-11-07 11:14   ` Paul Burton
2016-11-07 11:14 ` [PATCH 05/10] MIPS: Export _mcount alongside its definition Paul Burton
2016-11-07 11:14   ` Paul Burton
2016-11-07 11:48   ` [PATCH v2 " Paul Burton
2016-11-07 11:48     ` Paul Burton
2016-11-07 11:14 ` [PATCH 06/10] MIPS: Export invalid_pte_table " Paul Burton
2016-11-07 11:14   ` Paul Burton
2016-12-21 21:47   ` Ralf Baechle
2016-11-07 11:14 ` [PATCH 07/10] MIPS: Export csum functions alongside their definitions Paul Burton
2016-11-07 11:14   ` Paul Burton
2016-11-07 11:14 ` [PATCH 08/10] MIPS: Export string " Paul Burton
2016-11-07 11:14   ` Paul Burton
2016-11-07 11:14 ` [PATCH 09/10] MIPS: Export memcpy & memset " Paul Burton
2016-11-07 11:14   ` Paul Burton
2016-11-07 11:14 ` [PATCH 10/10] MIPS: Export {copy,clear}_page " Paul Burton
2016-11-07 11:14   ` Paul Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox