Patches added to powerpc.git for-2.6.24 branch

8 messages, 4 authors, 2007-08-22 · open the first message on its own page

Patches added to powerpc.git for-2.6.24 branch

From: Paul Mackerras <hidden>
Date: 2007-08-22 09:47:35

Josh Boyer (10):
      [POWERPC] Rename 4xx paths to 40x
      [POWERPC] 4xx Kconfig cleanup
      [POWERPC] Rename 44x bootwrapper
      [POWERPC] 4xx bootwrapper reworks
      [POWERPC] 40x MMU
      [POWERPC] 40x decrementer fixes
      [POWERPC] Fix 40x build
      [POWERPC] Bamboo DTS
      [POWERPC] Bamboo board support
      [POWERPC] Bamboo zImage wrapper

Olaf Hering (1):
      [POWERPC] Advertise correct IDE mode on Pegasos2

Olof Johansson (1):
      [POWERPC] Rework SMP timebase handoff for pasemi

Scott Wood (15):
      [POWERPC] Whitespace cleanup in arch/powerpc
      [POWERPC] Add clrbits8 and setbits8
      [POWERPC] Use strcasecmp() rather than strncasecmp() when determining device node compatibility
      [POWERPC] bootwrapper: Update .gitignore
      [POWERPC] bootwrapper: Set timebase_period_ns from dt_fixup_cpu_clocks
      [POWERPC] bootwrapper: dt_xlate_range() bugfixes
      [POWERPC] bootwrapper: Add dt_is_compatible()
      [POWERPC] bootwrapper: Add 16-bit I/O, sync(), eieio(), and barrier()
      [POWERPC] bootwrapper: Add TARGET_HAS_ETHn tests to ppcboot.h
      [POWERPC] bootwrapper: serial_console_init() fixes
      [POWERPC] bootwrapper: Declare udelay() in ops.h
      [POWERPC] bootwrapper: Add CPM serial driver
      [POWERPC] bootwrapper: Move linker symbols into ops.h
      [POWERPC] bootwrapper: Add 8xx cuboot support
      [POWERPC] bootwrapper: Add PowerQUICC II (82xx with CPM) cuboot support

Stephen Rothwell (6):
      [POWERPC] iSeries: Clean up lparmap mess
      [POWERPC] Move iSeries startup code out of head_64.S
      [POWERPC] Move the exception macros into a header file
      [POWERPC] Move the iSeries exception vectors
      [POWERPC] Split out iSeries specific exception macros
      [POWERPC] Exception numbers are not relevant to iSeries

 arch/powerpc/Makefile                      |    2 
 arch/powerpc/boot/.gitignore               |    8 
 arch/powerpc/boot/44x.c                    |   85 ---
 arch/powerpc/boot/44x.h                    |    5 
 arch/powerpc/boot/4xx.c                    |  192 +++++++
 arch/powerpc/boot/4xx.h                    |   21 +
 arch/powerpc/boot/Makefile                 |   10 
 arch/powerpc/boot/bamboo.c                 |   45 ++
 arch/powerpc/boot/cpm-serial.c             |  249 +++++++++
 arch/powerpc/boot/cuboot-83xx.c            |    1 
 arch/powerpc/boot/cuboot-85xx.c            |    1 
 arch/powerpc/boot/cuboot-8xx.c             |   45 ++
 arch/powerpc/boot/cuboot-pq2.c             |  283 ++++++++++
 arch/powerpc/boot/cuboot.c                 |    3 
 arch/powerpc/boot/dcr.h                    |   13 
 arch/powerpc/boot/devtree.c                |   70 ++-
 arch/powerpc/boot/dts/bamboo.dts           |  244 +++++++++
 arch/powerpc/boot/dts/mpc8272ads.dts       |  376 +++++++-------
 arch/powerpc/boot/ebony.c                  |    6 
 arch/powerpc/boot/holly.c                  |    5 
 arch/powerpc/boot/io.h                     |   49 ++
 arch/powerpc/boot/main.c                   |   10 
 arch/powerpc/boot/mpsc.c                   |    1 
 arch/powerpc/boot/mv64x60_i2c.c            |    2 
 arch/powerpc/boot/of.c                     |    2 
 arch/powerpc/boot/ops.h                    |   24 +
 arch/powerpc/boot/ppcboot.h                |    7 
 arch/powerpc/boot/prpmc2800.c              |    6 
 arch/powerpc/boot/ps3.c                    |    4 
 arch/powerpc/boot/serial.c                 |   19 -
 arch/powerpc/boot/treeboot-bamboo.c        |   27 +
 arch/powerpc/boot/treeboot-ebony.c         |    2 
 arch/powerpc/configs/bamboo_defconfig      |  775 ++++++++++++++++++++++++++++
 arch/powerpc/kernel/Makefile               |    9 
 arch/powerpc/kernel/asm-offsets.c          |    8 
 arch/powerpc/kernel/head_40x.S             |    3 
 arch/powerpc/kernel/head_64.S              |  585 +--------------------
 arch/powerpc/kernel/irq.c                  |    4 
 arch/powerpc/kernel/lparmap.c              |   32 -
 arch/powerpc/kernel/ppc_ksyms.c            |    2 
 arch/powerpc/kernel/prom_init.c            |   11 
 arch/powerpc/kernel/time.c                 |    2 
 arch/powerpc/mm/40x_mmu.c                  |    4 
 arch/powerpc/mm/Makefile                   |    2 
 arch/powerpc/platforms/40x/Kconfig         |   77 ---
 arch/powerpc/platforms/40x/Makefile        |    0 
 arch/powerpc/platforms/44x/Kconfig         |   15 -
 arch/powerpc/platforms/44x/Makefile        |    1 
 arch/powerpc/platforms/44x/bamboo.c        |   66 ++
 arch/powerpc/platforms/8xx/m8xx_setup.c    |   72 +--
 arch/powerpc/platforms/Kconfig             |    1 
 arch/powerpc/platforms/Kconfig.cputype     |    2 
 arch/powerpc/platforms/chrp/pci.c          |   29 +
 arch/powerpc/platforms/iseries/Makefile    |    1 
 arch/powerpc/platforms/iseries/exception.S |  251 +++++++++
 arch/powerpc/platforms/iseries/exception.h |   58 ++
 arch/powerpc/platforms/pasemi/setup.c      |   24 +
 arch/powerpc/sysdev/commproc.c             |   20 -
 arch/powerpc/sysdev/cpm2_common.c          |    2 
 include/asm-powerpc/exception.h            |  309 +++++++++++
 include/asm-powerpc/io.h                   |    3 
 include/asm-powerpc/iseries/lpar_map.h     |    3 
 include/asm-powerpc/mmu-40x.h              |   65 ++
 include/asm-powerpc/mmu.h                  |    3 
 include/asm-powerpc/page_64.h              |    2 
 include/asm-powerpc/ppc_asm.h              |   14 +
 include/asm-powerpc/prom.h                 |    2 
 include/asm-powerpc/time.h                 |    2 
 68 files changed, 3158 insertions(+), 1118 deletions(-)
 delete mode 100644 arch/powerpc/boot/44x.c
 create mode 100644 arch/powerpc/boot/4xx.c
 create mode 100644 arch/powerpc/boot/4xx.h
 create mode 100644 arch/powerpc/boot/bamboo.c
 create mode 100644 arch/powerpc/boot/cpm-serial.c
 create mode 100644 arch/powerpc/boot/cuboot-8xx.c
 create mode 100644 arch/powerpc/boot/cuboot-pq2.c
 create mode 100644 arch/powerpc/boot/dts/bamboo.dts
 create mode 100644 arch/powerpc/boot/treeboot-bamboo.c
 create mode 100644 arch/powerpc/configs/bamboo_defconfig
 rename arch/powerpc/kernel/{head_4xx.S => head_40x.S} (99%)
 delete mode 100644 arch/powerpc/kernel/lparmap.c
 rename arch/powerpc/mm/{4xx_mmu.c => 40x_mmu.c} (96%)
 rename arch/powerpc/platforms/{4xx/Kconfig => 40x/Kconfig} (68%)
 rename arch/powerpc/platforms/{4xx/Makefile => 40x/Makefile} (100%)
 create mode 100644 arch/powerpc/platforms/44x/bamboo.c
 create mode 100644 arch/powerpc/platforms/iseries/exception.S
 create mode 100644 arch/powerpc/platforms/iseries/exception.h
 create mode 100644 include/asm-powerpc/exception.h
 create mode 100644 include/asm-powerpc/mmu-40x.h

Re: Patches added to powerpc.git for-2.6.24 branch

From: Timur Tabi <hidden>
Date: 2007-08-22 12:43:55

Paul Mackerras wrote:
Scott Wood (15):
      [POWERPC] Add clrbits8 and setbits8
No love for my similar patch that adds the clrsetbits macros? Or the one that changes immap_86xx.h?

Re: Patches added to powerpc.git for-2.6.24 branch

From: Kumar Gala <hidden>
Date: 2007-08-22 13:23:40

How do we want to handle the include cleanup I've got.

I know you'd like some way of showing it complete.  Any ideas?

- k

Re: Patches added to powerpc.git for-2.6.24 branch

From: Kumar Gala <hidden>
Date: 2007-08-22 14:01:22

On Aug 22, 2007, at 7:44 AM, Timur Tabi wrote:
Paul Mackerras wrote:
quoted
Scott Wood (15):
      [POWERPC] Add clrbits8 and setbits8
No love for my similar patch that adds the clrsetbits macros? Or  
the one that changes immap_86xx.h?
I think the clrsetbits macros needs some further cleanup.  I think  
Stephen mentioned doing something like we do for DEF_MMIO_OUT_BE() to  
only have one 'actual' macro.

The immap_86xx.h will go through me since its FSL code.

- k

Re: Patches added to powerpc.git for-2.6.24 branch

From: Timur Tabi <hidden>
Date: 2007-08-22 14:22:20

Kumar Gala wrote:
I think the clrsetbits macros needs some further cleanup.  I think 
Stephen mentioned doing something like we do for DEF_MMIO_OUT_BE() to 
only have one 'actual' macro.
Yeah I saw that one, but on IRC a few people said they don't like ##, so I 
decided against it.  Are you saying I should change it anyway?
The immap_86xx.h will go through me since its FSL code.
I was thinking some more about that file this morning.  If you want, I can 
rename it to guts.h since it only has one structure in it, and then also 
update a few other files that use the global utilities registers to use that 
structure instead of using macros.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

Re: Patches added to powerpc.git for-2.6.24 branch

From: Kumar Gala <hidden>
Date: 2007-08-22 14:57:57

On Aug 22, 2007, at 8:25 AM, Kumar Gala wrote:
How do we want to handle the include cleanup I've got.

I know you'd like some way of showing it complete.  Any ideas?
So I did the following:

1. generate a file listing of asm-powerpc vs asm-ppc and diff them to  
find all files in asm-ppc not in asm-powerpc (after my patches)
2. count the number of references using the following grep:

	grep -r asm/ppcboot.h . | grep -v arch/ppc | grep -v include/asm-ppc  
| grep -v arch/[a-o,q-z] | grep -v include/asm-[a-o,q-z] | wc -l

I get the following results:

0: asm/amigappc.h
0: asm/gg2.h
0: asm/gt64260_defs.h
0: asm/gt64260.h
0: asm/harrier.h
0: asm/hawk_defs.h
0: asm/hawk.h
0: asm/ibm403.h
0: asm/ibm405.h
0: asm/ibm_ocp.h
0: asm/ibm_ocp_pci.h
0: asm/immap_85xx.h
0: asm/m8260_pci.h
0: asm/md.h
0: asm/mk48t59.h
0: asm/mpc10x.h
0: asm/mpc8260_pci9.h
0: asm/mv64x60_defs.h
0: asm/mv64x60.h
0: asm/ocp_ids.h
0: asm/open_pic.h
0: asm/pc_serial.h
0: asm/pnp.h
0: asm/ppc4xx_dma.h
0: asm/ppc4xx_pic.h
0: asm/ppc_sys.h
0: asm/prep_nvram.h
0: asm/raven.h
0: asm/rio.h
0: asm/todc.h
1: asm/amipcmcia.h
1: asm/mpc83xx.h
1: asm/residual.h
1: asm/zorro.h
2: asm/amigayle.h
2: asm/ppcboot.h
3: asm/ibm4xx.h
4: asm/ibm44x.h
4: asm/traps.h
8: asm/ocp.h
12: asm/bootinfo.h
29: asm/amigaints.h
32: asm/amigahw.h

I think we can all agree that the amiga*.h, zorro.h and traps.h can  
be ignored since they have to do with amiga/apus support.

I'll take a look at the following and see what's going on:

1: asm/mpc83xx.h
1: asm/residual.h
2: asm/ppcboot.h
3: asm/ibm4xx.h
4: asm/ibm44x.h
8: asm/ocp.h
12: asm/bootinfo.h

- k

Re: Patches added to powerpc.git for-2.6.24 branch

From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-08-22 22:54:13

On Wednesday 22 August 2007, Kumar Gala wrote:
I think we can all agree that the amiga*.h, zorro.h and traps.h can =A0
be ignored since they have to do with amiga/apus support.
arch/powerpc/kernel/setup_32.c unconditionally #includes <asm/amigappc.h>,
the rest looks unused indeed.

	Arnd <><

Re: Patches added to powerpc.git for-2.6.24 branch

From: Kumar Gala <hidden>
Date: 2007-08-22 23:26:26

On Aug 22, 2007, at 5:39 PM, Arnd Bergmann wrote:
On Wednesday 22 August 2007, Kumar Gala wrote:
quoted
I think we can all agree that the amiga*.h, zorro.h and traps.h can
be ignored since they have to do with amiga/apus support.
arch/powerpc/kernel/setup_32.c unconditionally #includes <asm/ 
amigappc.h>,
the rest looks unused indeed.
Yeah, that's fixed up in my patches.

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help