1. 14 Sep, 2007 11 commits
    • Kumar Gala's avatar
      [POWERPC] Fix modpost warnings from head*.S on ppc32 · 748a7683
      Kumar Gala authored
      We get warnings like the following from the various ppc32 head*.S files:
      
      WARNING: vmlinux.o(.text+0x358): Section mismatch: reference to .init.text:early_init (between 'skpinv' and 'interrupt_base')
      WARNING: vmlinux.o(.text+0x380): Section mismatch: reference to .init.text:machine_init (between 'skpinv' and 'interrupt_base')
      WARNING: vmlinux.o(.text+0x384): Section mismatch: reference to .init.text:MMU_init (between 'skpinv' and 'interrupt_base')
      WARNING: vmlinux.o(.text+0x3aa): Section mismatch: reference to .init.text:start_kernel (between 'skpinv' and 'interrupt_base')
      WARNING: vmlinux.o(.text+0x3ae): Section mismatch: reference to .init.text:start_kernel (between 'skpinv' and 'interrupt_base')
      
      Added a .text.head section simliar to what other architectures do since
      modpost already excludes this from its warnings.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      748a7683
    • Kumar Gala's avatar
      [POWERPC] Add cpu feature for SPE handling · 5e14d21e
      Kumar Gala authored
      Make it so that SPE support can be determined at runtime.  This is similiar
      to how we handle AltiVec.  This allows us to have SPE support built in and
      work on processors with and without SPE.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      5e14d21e
    • Kumar Gala's avatar
      [POWERPC] 83xx: Removed PCI exclude of PHB · d8f1324a
      Kumar Gala authored
      Now that the generic code doesn't assign resources for Freescale
      PHBs we dont have to explicitly exclude it.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      d8f1324a
    • Kumar Gala's avatar
      [POWERPC] Move PCI nodes to be sibilings with SOC nodes · 1b3c5cda
      Kumar Gala authored
      Updated the device trees to have the PCI nodes be at the same level as
      the SOC node.  This is to make it so that the SOC nodes children address
      space is just on chip registers and not other bus memory as well.
      
      Also, for PCIe nodes added a P2P bridge to handle the virtual P2P bridge
      that exists in the PHB.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      1b3c5cda
    • Kumar Gala's avatar
      [POWERPC] DTS cleanup · f0c8ac80
      Kumar Gala authored
      Removed the following cruft from .dts files:
      * 32-bit in cpu node -- doesn't exist in any spec and not used by kernel
      * removed built-in (chrp legacy)
      * Removed #interrupt-cells in places they don't need to be set
      * Fixed ranges on lite5200*
      * Removed clock-frequency from i8259 pic node, not sure where this came from
      * Removed big-endian from i8259 pic nodes, this was just bogus
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      f0c8ac80
    • Kumar Gala's avatar
      [POWERPC] 85xx: Add basic Uniprocessor MPC8572 DS port · 5d54ddcb
      Kumar Gala authored
      Added basic board port for MPC8572 DS reference platform that is
      similiar to the MPC8544/33 DS reference platform in uniprocessor mode.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      5d54ddcb
    • Kumar Gala's avatar
      [POWERPC] Handle alignment faults on SPE load/store instructions · 26caeb2e
      Kumar Gala authored
      This adds code to handle alignment traps generated by the following
      SPE (signal processing engine) load/store instructions, by emulating
      the instruction in the kernel (as is done for other instructions that
      generate alignment traps):
      
      evldd[x]         Vector Load Double Word into Double Word [Indexed]
      evldw[x]         Vector Load Double into Two Words [Indexed]
      evldh[x]         Vector Load Double into Four Half Words [Indexed]
      evlhhesplat[x]   Vector Load Half Word into Half Words Even and Splat [Indexed]
      evlhhousplat[x]  Vector Load Half Word into Half Word Odd Unsigned and Splat [Indexed]
      evlhhossplat[x]  Vector Load Half Word into Half Word Odd Signed and Splat [Indexed]
      evlwhe[x]        Vector Load Word into Two Half Words Even [Indexed]
      evlwhou[x]       Vector Load Word into Two Half Words Odd Unsigned (zero-extended) [Indexed]
      evlwhos[x]       Vector Load Word into Two Half Words Odd Signed (with sign extension) [Indexed]
      evlwwsplat[x]    Vector Load Word into Word and Splat [Indexed]
      evlwhsplat[x]    Vector Load Word into Two Half Words and Splat [Indexed]
      evstdd[x]        Vector Store Double of Double [Indexed]
      evstdw[x]        Vector Store Double of Two Words [Indexed]
      evstdh[x]        Vector Store Double of Four Half Words [Indexed]
      evstwhe[x]       Vector Store Word of Two Half Words from Even [Indexed]
      evstwho[x]       Vector Store Word of Two Half Words from Odd [Indexed]
      evstwwe[x]       Vector Store Word of Word from Even [Indexed]
      evstwwo[x]       Vector Store Word of Word from Odd [Indexed]
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      26caeb2e
    • Scott Wood's avatar
      [POWERPC] fsl_soc.c cleanup · f9234736
      Scott Wood authored
      1. Update the way get_brgfreq() finds things in the device tree.
      
      It now uses names that are less namespace polluting.  The old names
      are supported until all boards are converted.
      
      2. "size" is changed from unsigned int to int, to match what
      of_get_property() expects.
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      f9234736
    • Jon Loeliger's avatar
    • Jon Loeliger's avatar
    • Guennadi Liakhovetski's avatar
      [POWERPC] linkstation updates · 7f2862c3
      Guennadi Liakhovetski authored
      1. Fix RTC type - it is a rs5c372a, not rs5c372b
      2. Configure both UART interrupts edge-triggered
      3. Add a license header to ls_uart.c
      4. Check for running on linkstation in a late_initcall() function. Needed
         for multiplatform builds, even though linkstation doesn't support them
         yet
      5. Remove unneeded #include from linkstation.c
      Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      7f2862c3
  2. 13 Sep, 2007 29 commits