Skip to content

Disable compat cruft on ppc64le v12

Michal Suchanek linux-fsdevel linuxppc-dev lkml oe-kbuild-all 12 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v12 Latest8 patches 12 repliesIn review
  2. v11 posting 2/28 patches 20 repliesSuperseded
  3. v11 posting 1/28 patches 5 repliesSuperseded
Earlier versions · 9
VersionPostedPatchesRepliesStatus
v98 patches0 repliesSuperseded
v87 patches4 repliesSuperseded
v76 patches17 repliesSuperseded
v66 patches8 repliesSuperseded
v55 patches7 repliesSuperseded
v44 patches9 repliesSuperseded
v34 patches5 repliesSuperseded
v24 patches6 repliesSuperseded
v14 patches7 repliesSuperseded

Changes in v12 from the cover letter

- simplify valid_user_sp and change to invalid_user_sp
- remove superfluous perf patterns in MAINTAINERS

Patches in v12 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8powerpc: Add back __ARCH_WANT_SYS_LLSEEK macroarch/powerpc/include/asm/unistd.h fs/read_write.c+3 -11 reply
2/8powerpc: move common register copy functions from signal_32.c to signal.carch/powerpc/kernel/signal.c arch/powerpc/kernel/signal_32.c+141 -1400 replies
3/8powerpc/perf: consolidate read_user_stack_32arch/powerpc/perf/callchain.c+24 -240 replies
4/8powerpc/perf: consolidate valid_user_sp -> invalid_user_sparch/powerpc/perf/callchain.c+10 -160 replies
5/8powerpc/64: make buildable without CONFIG_COMPATarch/powerpc/include/asm/thread_info.h arch/powerpc/kernel/Makefile arch/powerpc/kernel/entry_64.S +4 more+19 -132 replies
6/8powerpc/64: Make COMPAT user-selectable disabled on littleendian by default.arch/powerpc/Kconfig+3 -20 replies
7/8powerpc/perf: split callchain.c by bitnessarch/powerpc/perf/Makefile arch/powerpc/perf/callchain.c arch/powerpc/perf/callchain.h +2 more+394 -3560 replies
8/8MAINTAINERS: perf: Add pattern that matches ppc perf to the perf entry.MAINTAINERS+3 -39 replies

Reviews trailers per patch

4 of 8 patches have a Reviewed-by or Acked-by.

PatchArnd BergmannChristophe Leroy
1/8R-b
2/8R-b
3/8R-b
4/8
5/8
6/8R-b
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v12 thread

Cover letter [PATCH v12 0/8] Disable compat cruft on ppc64le v12

Less code means less bugs so add a knob to skip the compat stuff.

Changes in v2: saner CONFIG_COMPAT ifdefs
Changes in v3:
- change llseek to 32bit instead of builing it unconditionally in fs
- clanup the makefile conditionals
- remove some ifdefs or convert to IS_DEFINED where possible
Changes in v4:
- cleanup is_32bit_task and current_is_64bit
- more makefile cleanup
Changes in v5:
- more current_is_64bit cleanup
- split off callchain.c 32bit and 64bit parts
Changes in v6:
- cleanup makefile after split
- consolidate read_user_stack_32
- fix some checkpatch warnings
Changes in v7:
- add back __ARCH_WANT_SYS_LLSEEK to fix build with llseek
- remove leftover hunk
- add review tags
Changes in v8:
- consolidate valid_user_sp to fix it in the split callchain.c
- fix build errors/warnings with PPC64 !COMPAT and PPC32
Changes in v9:
- remove current_is_64bit()
Chanegs in v10:
- rebase, sent together with the syscall cleanup
Changes in v11:
- rebase
- add MAINTAINERS pattern for ppc perf
Changes in v12:
- simplify valid_user_sp and change to invalid_user_sp
- remove superfluous perf patterns in MAINTAINERS

Michal Suchanek (8):
powerpc: Add back __ARCH_WANT_SYS_LLSEEK macro
powerpc: move common register copy functions from signal_32.c to
signal.c
powerpc/perf: consolidate read_user_stack_32 powerpc/perf: consolidate valid_user_sp -> invalid_user_sp powerpc/64: make buildable without CONFIG_COMPAT powerpc/64: Make COMPAT user-selectable disabled on littleendian by
default.
powerpc/perf: split callchain.c by bitness
MAINTAINERS: perf: Add pattern that matches ppc perf to the perf
entry.

 MAINTAINERS                            |   6 +-
 arch/powerpc/Kconfig                   |   5 +-
 arch/powerpc/include/asm/thread_info.h |   4 +-
 arch/powerpc/include/asm/unistd.h      |   1 +
 arch/powerpc/kernel/Makefile           |   6 +-
 arch/powerpc/kernel/entry_64.S         |   2 +
 arch/powerpc/kernel/signal.c           | 144 +++++++++-
 arch/powerpc/kernel/signal_32.c        | 140 ----------
 arch/powerpc/kernel/syscall_64.c       |   6 +-
 arch/powerpc/kernel/vdso.c             |   3 +-
 arch/powerpc/perf/Makefile             |   5 +-
 arch/powerpc/perf/callchain.c          | 356 +------------------------
 arch/powerpc/perf/callchain.h          |  19 ++
 arch/powerpc/perf/callchain_32.c       | 196 ++++++++++++++
 arch/powerpc/perf/callchain_64.c       | 174 ++++++++++++
 fs/read_write.c                        |   3 +-
 16 files changed, 556 insertions(+), 514 deletions(-)
 create mode 100644 arch/powerpc/perf/callchain.h
 create mode 100644 arch/powerpc/perf/callchain_32.c
 create mode 100644 arch/powerpc/perf/callchain_64.c
Signature · 1 line
2.23.0