Skip to content

powerpc/8xx: Some cleanup

Christophe Leroy linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12powerpc/8xx: Simplify CONFIG_8xx checks in Makefilearch/powerpc/platforms/8xx/Makefile+1 -11 reply
2/12powerpc/8xx: Move 8xx machine check handlers into platforms/8xxarch/powerpc/kernel/traps.c arch/powerpc/platforms/8xx/Makefile arch/powerpc/platforms/8xx/machine_check.c+38 -260 replies
3/12powerpc/8xx: Remove SoftwareEmulation()arch/powerpc/kernel/head_8xx.S arch/powerpc/kernel/traps.c+1 -190 replies
4/12powerpc/cpm1: link to CONFIG_CPM1 instead of CONFIG_8xxarch/powerpc/sysdev/Makefile arch/powerpc/sysdev/fsl_soc.c arch/powerpc/sysdev/fsl_soc.h+4 -30 replies
5/12powerpc/8xx: Move mpc8xx_pic.c from sysdev to platform/8xxarch/powerpc/platforms/8xx/Makefile arch/powerpc/platforms/8xx/m8xx_setup.c arch/powerpc/platforms/8xx/pic.c +2 more+3 -40 replies
6/12powerpc/time: refactor MFTB() to limit number of ifdefsarch/powerpc/boot/ppc_asm.h arch/powerpc/boot/util.S arch/powerpc/include/asm/ppc_asm.h +2 more+25 -350 replies
7/12powerpc/kconfig: Simplify PCI_QSPAN selectionarch/powerpc/Kconfig+2 -20 replies
8/12powerpc/8xx: Getting rid of remaining use of CONFIG_8xxarch/powerpc/Kconfig arch/powerpc/Makefile arch/powerpc/boot/Makefile +17 more+32 -330 replies
9/12powerpc/8xx: remove CONFIG_8xxarch/powerpc/platforms/Kconfig.cputype+0 -50 replies
10/12powerpc/8xx: Use symbolic PVR valuearch/powerpc/include/asm/reg.h arch/powerpc/kernel/cputable.c+3 -50 replies
11/12powerpc/8xx: Use symbolic names for DSISR bits in DSIarch/powerpc/kernel/head_8xx.S arch/powerpc/mm/fault.c+2 -20 replies
12/12powerpc/8xx: Remove cpu dependent macro instructions from head_8xxarch/powerpc/kernel/head_8xx.S+1 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/12] powerpc/8xx: Some cleanup

This serie does some cleanup in the area of the 8xx.

In the same spirit as what Michael did for 4xx, move 8xx specific stuff into platforms/8xx

Then try to reduce the amount of #ifdefs specific to 8xx

Remove the CONFIG_8xx which is redundant with CONFIG_PPC_8xx

Plus some misc cleanups

Christophe Leroy (12):
powerpc/8xx: Simplify CONFIG_8xx checks in Makefile powerpc/8xx: Move 8xx machine check handlers into platforms/8xx powerpc/8xx: Remove SoftwareEmulation()
powerpc/cpm1: link to CONFIG_CPM1 instead of CONFIG_8xx powerpc/8xx: Move mpc8xx_pic.c from sysdev to platform/8xx powerpc/time: refactor MFTB() to limit number of ifdefs powerpc/kconfig: Simplify PCI_QSPAN selection powerpc/8xx: Getting rid of remaining use of CONFIG_8xx powerpc/8xx: remove CONFIG_8xx
powerpc/8xx: Use symbolic PVR value
powerpc/8xx: Use symbolic names for DSISR bits in DSI powerpc/8xx: Remove cpu dependent macro instructions from head_8xx

 arch/powerpc/Kconfig                               |  8 ++--
 arch/powerpc/Makefile                              |  2 +-
 arch/powerpc/boot/Makefile                         |  4 +-
 arch/powerpc/boot/ppc_asm.h                        |  8 ++++
 arch/powerpc/boot/util.S                           | 24 +++---------
 arch/powerpc/include/asm/cache.h                   |  2 +-
 arch/powerpc/include/asm/cputable.h                |  4 +-
 arch/powerpc/include/asm/fs_pd.h                   |  2 +-
 arch/powerpc/include/asm/nohash/32/pgtable.h       |  2 +-
 arch/powerpc/include/asm/ppc_asm.h                 | 14 +++++--
 arch/powerpc/include/asm/reg.h                     | 16 ++++----
 arch/powerpc/include/asm/timex.h                   |  6 +--
 arch/powerpc/kernel/Makefile                       |  2 +-
 arch/powerpc/kernel/cputable.c                     |  6 +--
 arch/powerpc/kernel/head_8xx.S                     |  9 ++---
 arch/powerpc/kernel/irq.c                          |  2 +-
 arch/powerpc/kernel/kgdb.c                         |  4 +-
 arch/powerpc/kernel/traps.c                        | 43 ----------------------
 arch/powerpc/kernel/vdso32/gettimeofday.S          | 12 ++----
 arch/powerpc/mm/fault.c                            |  4 +-
 arch/powerpc/mm/mem.c                              |  2 +-
 arch/powerpc/mm/mmu_decl.h                         | 10 ++---
 arch/powerpc/mm/tlb_nohash_low.S                   |  2 +-
 arch/powerpc/platforms/8xx/Kconfig                 |  1 -
 arch/powerpc/platforms/8xx/Makefile                |  2 +-
 arch/powerpc/platforms/8xx/m8xx_setup.c            |  2 +-
 arch/powerpc/platforms/8xx/machine_check.c         | 37 +++++++++++++++++++
 .../{sysdev/mpc8xx_pic.c => platforms/8xx/pic.c}   |  2 +-
 .../{sysdev/mpc8xx_pic.h => platforms/8xx/pic.h}   |  0
 arch/powerpc/platforms/Kconfig.cputype             |  7 +---
 arch/powerpc/sysdev/Makefile                       |  2 +-
 arch/powerpc/sysdev/fsl_soc.c                      |  2 +-
 arch/powerpc/sysdev/fsl_soc.h                      |  2 +-
 33 files changed, 109 insertions(+), 136 deletions(-)
 create mode 100644 arch/powerpc/platforms/8xx/machine_check.c
 rename arch/powerpc/{sysdev/mpc8xx_pic.c => platforms/8xx/pic.c} (99%)
 rename arch/powerpc/{sysdev/mpc8xx_pic.h => platforms/8xx/pic.h} (100%)
Signature · 1 line
2.13.3