All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] MIPS: convert to generic entry
@ 2021-10-14  8:32 Feiyang Chen
  2021-10-14  8:32 ` [PATCH v3 1/2] MIPS: convert syscall " Feiyang Chen
  2021-10-14  8:32 ` [PATCH v3 2/2] MIPS: convert irq " Feiyang Chen
  0 siblings, 2 replies; 6+ messages in thread
From: Feiyang Chen @ 2021-10-14  8:32 UTC (permalink / raw)
  To: tsbogend, tglx, peterz, luto, arnd
  Cc: Feiyang Chen, linux-mips, linux-arch, chenhuacai, jiaxun.yang,
	zhouyu, hns, chris.chenfeiyang

Convert MIPS to use the generic entry infrastructure from
kernel/entry/*.

v2: Use regs->regs[27] to mark whether to restore all registers in
handle_sys and enable IRQ stack.
v3: Do not do syscall restart in *_sigreturn().
Fix missing "goto out" in do_ade().

Feiyang Chen (2):
  MIPS: convert syscall to generic entry
  MIPS: convert irq to generic entry

 arch/mips/Kconfig                         |   1 +
 arch/mips/include/asm/entry-common.h      |  13 ++
 arch/mips/include/asm/irqflags.h          |  42 ----
 arch/mips/include/asm/ptrace.h            |   8 +-
 arch/mips/include/asm/sim.h               |  70 -------
 arch/mips/include/asm/stackframe.h        |   8 +
 arch/mips/include/asm/syscall.h           |   5 +
 arch/mips/include/asm/thread_info.h       |  17 +-
 arch/mips/include/uapi/asm/ptrace.h       |   7 +-
 arch/mips/kernel/Makefile                 |  14 +-
 arch/mips/kernel/entry.S                  | 143 +-------------
 arch/mips/kernel/genex.S                  | 150 +++------------
 arch/mips/kernel/head.S                   |   1 -
 arch/mips/kernel/linux32.c                |   1 -
 arch/mips/kernel/ptrace.c                 |  78 --------
 arch/mips/kernel/r4k-bugs64.c             |  14 +-
 arch/mips/kernel/scall.S                  | 136 +++++++++++++
 arch/mips/kernel/scall32-o32.S            | 223 ---------------------
 arch/mips/kernel/scall64-n32.S            | 107 ----------
 arch/mips/kernel/scall64-n64.S            | 116 -----------
 arch/mips/kernel/scall64-o32.S            | 221 ---------------------
 arch/mips/kernel/signal.c                 |  59 ++----
 arch/mips/kernel/signal_n32.c             |  16 +-
 arch/mips/kernel/signal_o32.c             |  31 +--
 arch/mips/kernel/syscall.c                | 148 +++++++++++---
 arch/mips/kernel/syscalls/syscall_n32.tbl |   8 +-
 arch/mips/kernel/syscalls/syscall_n64.tbl |   8 +-
 arch/mips/kernel/syscalls/syscall_o32.tbl |   8 +-
 arch/mips/kernel/traps.c                  | 225 ++++++++++++++++------
 arch/mips/kernel/unaligned.c              |  21 +-
 arch/mips/mm/c-octeon.c                   |  15 ++
 arch/mips/mm/cex-oct.S                    |   8 +-
 arch/mips/mm/fault.c                      |  12 +-
 arch/mips/mm/tlbex-fault.S                |   7 +-
 34 files changed, 602 insertions(+), 1339 deletions(-)
 create mode 100644 arch/mips/include/asm/entry-common.h
 delete mode 100644 arch/mips/include/asm/sim.h
 create mode 100644 arch/mips/kernel/scall.S
 delete mode 100644 arch/mips/kernel/scall32-o32.S
 delete mode 100644 arch/mips/kernel/scall64-n32.S
 delete mode 100644 arch/mips/kernel/scall64-n64.S
 delete mode 100644 arch/mips/kernel/scall64-o32.S

-- 
2.27.0


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

end of thread, other threads:[~2021-10-14  8:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-14  8:32 [PATCH v3 0/2] MIPS: convert to generic entry Feiyang Chen
2021-10-14  8:32 ` [PATCH v3 1/2] MIPS: convert syscall " Feiyang Chen
2021-10-14  8:36   ` WANG Xuerui
2021-10-14  8:56     ` Feiyang Chen
2021-10-14  8:38   ` YunQiang Su
2021-10-14  8:32 ` [PATCH v3 2/2] MIPS: convert irq " Feiyang Chen

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.