Skip to content

MIPS: Unify register numbering macros for uasm

Jiaxun Yang linux-mips lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20240209-regname-4c14f1147e25

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8MIPS: Unify define of CP0 registers for uasm codearch/mips/include/asm/mipsregs.h arch/mips/kvm/entry.c arch/mips/mm/tlbex.c+200 -940 replies
2/8MIPS: regdefs.h: Guard all defines with __ASSEMBLY__arch/mips/include/asm/regdef.h+2 -00 replies
3/8MIPS: regdefs.h: Define a set of register numbersarch/mips/include/asm/regdef.h+89 -00 replies
4/8MIPS: traps: Use GPR number macrosarch/mips/kernel/traps.c+3 -30 replies
5/8MIPS: page: Use GPR number macrosarch/mips/mm/page.c+95 -1070 replies
6/8MIPS: tlbex: Use GPR number macrosarch/mips/mm/tlbex.c+97 -990 replies
7/8MIPS: kvm/entry: Use GPR number macrosarch/mips/kvm/entry.c+187 -2170 replies
8/8MIPS: pm-cps: Use GPR number macrosarch/mips/kernel/pm-cps.c+64 -700 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] MIPS: Unify register numbering macros for uasm

Hi all,

This is a attempt to unify register numbering macros for uasm, in response to review comment [1].

This is a rather large cosmetic change so I decided to send it as a sepreate set.

Please review.
Thanks

---
Jiaxun Yang (8):
MIPS: Unify define of CP0 registers for uasm code
MIPS: regdefs.h: Guard all defines with __ASSEMBLY__
MIPS: regdefs.h: Define a set of register numbers
MIPS: traps: Use GPR number macros
MIPS: page: Use GPR number macros
MIPS: tlbex: Use GPR number macros
MIPS: kvm/entry: Use GPR number macros
MIPS: pm-cps: Use GPR number macros

 arch/mips/include/asm/mipsregs.h | 249 +++++++++++++++++-----
 arch/mips/include/asm/regdef.h   |  91 +++++++++
 arch/mips/kernel/pm-cps.c        | 134 ++++++------
 arch/mips/kernel/traps.c         |   6 +-
 arch/mips/kvm/entry.c            | 431 +++++++++++++++++----------------------
 arch/mips/mm/page.c              | 202 +++++++++---------
 arch/mips/mm/tlbex.c             | 214 +++++++++----------
 7 files changed, 737 insertions(+), 590 deletions(-)

---
base-commit: 445a555e0623387fa9b94e68e61681717e70200a
change-id: 20240209-regname-4c14f1147e25

Best regards,

Signature · 1 line
Jiaxun Yang <[email protected]>