Skip to content

microblaze: use generic headers

Arnd Bergmann lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ipc: use __ARCH_WANT_IPC_PARSE_VERSION in ipc/util.hipc/util.h+1 -14 replies
2/11microblaze: remove init_mmarch/microblaze/kernel/init_task.c+0 -20 replies
3/11microblaze: fall back on generic header files for the ABIarch/microblaze/include/asm/ioctls.h arch/microblaze/include/asm/ipcbuf.h arch/microblaze/include/asm/mman.h +14 more+36 -8958 replies
4/11microblaze: use generic unistd.h syscall listarch/microblaze/include/asm/unistd.h arch/microblaze/kernel/Makefile arch/microblaze/kernel/entry-nommu.S +5 more+44 -8310 replies
5/11microblaze: clean up signal handlingarch/microblaze/include/asm/signal.h arch/microblaze/include/asm/syscalls.h arch/microblaze/include/asm/unistd.h +1 more+39 -3120 replies
6/11microblaze: use generic syscalls.harch/microblaze/include/asm/syscalls.h arch/microblaze/kernel/sys_microblaze.c+14 -470 replies
7/11microblaze: make syscall_table implementation genericarch/microblaze/Kconfig arch/microblaze/kernel/Makefile kernel/Makefile +1 more+5 -10 replies
8/11microblaze: use the generic lib/checksum.carch/microblaze/Kconfig arch/microblaze/include/asm/checksum.h arch/microblaze/lib/Makefile +1 more+38 -2731 reply
9/11microblaze: convert all simple headers to use asm-genericarch/microblaze/include/asm/atomic.h arch/microblaze/include/asm/bitops.h arch/microblaze/include/asm/bug.h +16 more+45 -2901 reply
10/11microblaze: use generic system.harch/microblaze/include/asm/cmpxchg-local.h arch/microblaze/include/asm/irqflags.h arch/microblaze/include/asm/system.h+32 -953 replies
11/11microblaze: remove sys_ipcarch/microblaze/kernel/sys_microblaze.c+0 -990 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchSerge HallynArnd Bergmann
1/11A-b A-b A-b
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

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

Read the v1 thread

Cover letter [PATCH 00/11] microblaze: use generic headers

This series changes the microblaze architecture to just fall back on generic headers. This is especially important for those header files that define the user space ABI.

While there has already been a release (2.6.30) with a different ABI, I hope that changing it now will still simplify life in the future.
The unistd.h file still defines a lof of the legacy system calls by setting __ARCH_WANT_SYSCALL_* macros. These should be removed once the C libraries have been adapted to work without them. Unfortunately, doing that will change the ABI one more time in a forward-compatible
way: new C libraries and applications will still work on older kernels, but old applications may not run on new kernels after that change.

Michal, please apply for 2.6.31 or pull from
git://git.kernel.org:/pub/scm/linux/kernel/git/arnd/asm-generic.git microblaze

	Arnd <><

Arnd Bergmann (8):
ipc: use __ARCH_WANT_IPC_PARSE_VERSION in ipc/util.h
microblaze: remove init_mm
microblaze: fall back on generic header files for the ABI
microblaze: use generic unistd.h syscall list
microblaze: clean up signal handling
microblaze: use generic syscalls.h
microblaze: make syscall_table implementation generic
microblaze: remove sys_ipc

Remis Lima Baima (3):
microblaze: use the generic lib/checksum.c
microblaze: convert all simple headers to use asm-generic
microblaze: use generic system.h

 arch/microblaze/Kconfig                      |    6 +
 arch/microblaze/include/asm/atomic.h         |  124 +--------
 arch/microblaze/include/asm/bitops.h         |   28 +--
 arch/microblaze/include/asm/bug.h            |   14 -
 arch/microblaze/include/asm/bugs.h           |   18 +-
 arch/microblaze/include/asm/checksum.h       |  134 ++------
 arch/microblaze/include/asm/cmpxchg-local.h  |    1 +
 arch/microblaze/include/asm/fb.h             |    1 +
 arch/microblaze/include/asm/hardirq.h        |   14 +-
 arch/microblaze/include/asm/ioctls.h         |   92 +------
 arch/microblaze/include/asm/ipcbuf.h         |   37 +---
 arch/microblaze/include/asm/irq.h            |    6 +-
 arch/microblaze/include/asm/irqflags.h       |    2 +-
 arch/microblaze/include/asm/mman.h           |   26 +--
 arch/microblaze/include/asm/mmu.h            |    7 +-
 arch/microblaze/include/asm/mmu_context.h    |    2 +-
 arch/microblaze/include/asm/mmu_context_no.h |   23 --
 arch/microblaze/include/asm/module.h         |   10 +-
 arch/microblaze/include/asm/msgbuf.h         |   32 +--
 arch/microblaze/include/asm/param.h          |   31 +--
 arch/microblaze/include/asm/parport.h        |    1 +
 arch/microblaze/include/asm/pci.h            |    2 +-
 arch/microblaze/include/asm/posix_types.h    |   94 ++-----
 arch/microblaze/include/asm/scatterlist.h    |   29 +--
 arch/microblaze/include/asm/sembuf.h         |   35 +--
 arch/microblaze/include/asm/serial.h         |   15 +-
 arch/microblaze/include/asm/shmbuf.h         |   43 +---
 arch/microblaze/include/asm/shmparam.h       |    7 +-
 arch/microblaze/include/asm/siginfo.h        |   14 -
 arch/microblaze/include/asm/signal.h         |  166 +----------
 arch/microblaze/include/asm/socket.h         |   70 +----
 arch/microblaze/include/asm/sockios.h        |   24 +--
 arch/microblaze/include/asm/stat.h           |   69 +----
 arch/microblaze/include/asm/swab.h           |    9 +-
 arch/microblaze/include/asm/syscalls.h       |   56 +---
 arch/microblaze/include/asm/system.h         |  121 ++------
 arch/microblaze/include/asm/termbits.h       |  204 +------------
 arch/microblaze/include/asm/termios.h        |   89 +------
 arch/microblaze/include/asm/timex.h          |    6 +-
 arch/microblaze/include/asm/types.h          |   39 +---
 arch/microblaze/include/asm/ucontext.h       |   23 +--
 arch/microblaze/include/asm/unistd.h         |  435 +-------------------------
 arch/microblaze/include/asm/vga.h            |    2 +-
 arch/microblaze/kernel/entry-nommu.S         |   35 +--
 arch/microblaze/kernel/init_task.c           |    2 -
 arch/microblaze/kernel/signal.c              |  178 +++--------
 arch/microblaze/kernel/sys_microblaze.c      |  109 +------
 arch/microblaze/kernel/syscall_table.S       |  371 ----------------------
 arch/microblaze/lib/Makefile                 |    2 +-
 arch/microblaze/lib/checksum.c               |  172 ----------
 ipc/util.h                                   |    2 +-
 kernel/Makefile                              |    1 +
 kernel/syscall_table.c                       |   12 +
 53 files changed, 218 insertions(+), 2827 deletions(-)
 rewrite arch/microblaze/include/asm/atomic.h (100%)
 rewrite arch/microblaze/include/asm/bitops.h (95%)
 rewrite arch/microblaze/include/asm/checksum.h (69%)
 create mode 100644 arch/microblaze/include/asm/cmpxchg-local.h
 create mode 100644 arch/microblaze/include/asm/fb.h
 rewrite arch/microblaze/include/asm/ioctls.h (100%)
 rewrite arch/microblaze/include/asm/ipcbuf.h (100%)
 rewrite arch/microblaze/include/asm/mman.h (96%)
 delete mode 100644 arch/microblaze/include/asm/mmu_context_no.h
 rewrite arch/microblaze/include/asm/msgbuf.h (100%)
 rewrite arch/microblaze/include/asm/param.h (100%)
 create mode 100644 arch/microblaze/include/asm/parport.h
 rewrite arch/microblaze/include/asm/posix_types.h (96%)
 rewrite arch/microblaze/include/asm/scatterlist.h (100%)
 rewrite arch/microblaze/include/asm/sembuf.h (100%)
 rewrite arch/microblaze/include/asm/shmbuf.h (100%)
 rewrite arch/microblaze/include/asm/signal.h (100%)
 rewrite arch/microblaze/include/asm/socket.h (100%)
 rewrite arch/microblaze/include/asm/sockios.h (100%)
 rewrite arch/microblaze/include/asm/stat.h (100%)
 rewrite arch/microblaze/include/asm/syscalls.h (95%)
 rewrite arch/microblaze/include/asm/system.h (66%)
 rewrite arch/microblaze/include/asm/termbits.h (100%)
 rewrite arch/microblaze/include/asm/termios.h (100%)
 rewrite arch/microblaze/include/asm/types.h (100%)
 rewrite arch/microblaze/include/asm/ucontext.h (100%)
 rewrite arch/microblaze/include/asm/unistd.h (99%)
 delete mode 100644 arch/microblaze/kernel/syscall_table.S
 delete mode 100644 arch/microblaze/lib/checksum.c
 create mode 100644 kernel/syscall_table.c