1. 28 Jan, 2008 4 commits
  2. 21 Jan, 2008 1 commit
  3. 23 Dec, 2007 2 commits
    • Stefan Roese's avatar
      [POWERPC] 4xx: Fix TLB 0 problem with CONFIG_SERIAL_TEXT_DEBUG · f4151b9b
      Stefan Roese authored
      
      Right now TLB entry 0 ist used as UART0 mapping for the early debug
      output (via CONFIG_SERIAL_TEXT_DEBUG). This causes problems when many
      TLB's get used upon Linux bootup (e.g. while PCIe scanning behind
      bridges and/or switches on 440SPe platforms). This will overwrite the
      TLB 0 entry and further debug output's may crash/hang the system.
      
      This patch moves the early debug UART0 TLB entry from 0 to 62 as done
      in arch/powerpc. This way it is in the "pinned" area and will not get
      overwritten. Also the arch/ppc/mm/44x_mmu.c code is now synced with the
      newer code from arch/powerpc.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Signed-off-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
      f4151b9b
    • Benjamin Herrenschmidt's avatar
      [POWERPC] Reworking machine check handling and Fix 440/440A · 47c0bd1a
      Benjamin Herrenschmidt authored
      
      This adds a cputable function pointer for the CPU-side machine
      check handling. The semantic is still the same as the old one,
      the one in ppc_md. overrides the one in cputable, though
      ultimately we'll want to change that so the CPU gets first.
      
      This removes CONFIG_440A which was a problem for multiplatform
      kernels and instead fixes up the IVOR at runtime from a setup_cpu
      function. The "A" version of the machine check also tweaks the
      regs->trap value to differenciate the 2 versions at the C level.
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
      47c0bd1a
  4. 20 Dec, 2007 1 commit
  5. 23 Oct, 2007 1 commit
    • Grant Likely's avatar
      ppc: fix AT_VECTOR_SIZE on arch/ppc · 3650b0a3
      Grant Likely authored
      Commit 4f9a58d7
      
       ("increase
      AT_VECTOR_SIZE to terminate saved_auxv properly") changes the size of
      AT_VECTOR_SIZE from hard coded '44' to a calculation based on the value
      of AT_VECTOR_SIZE_ARCH and AT_VECTOR_SIZE_BASE.
      
      The change works for arch/powerpc, but it breaks arch/ppc because the
      needed AT_VECTOR_SIZE_ARCH is not present in include/asm-ppc/system.h
      and a default value of 0 is used instead.  This results in
      AT_VECTOR_SIZE being too small and it causes a kernel crash on loading
      init.
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3650b0a3
  6. 19 Oct, 2007 1 commit
  7. 18 Oct, 2007 1 commit
  8. 17 Oct, 2007 3 commits
  9. 16 Oct, 2007 1 commit
  10. 22 Sep, 2007 1 commit
  11. 17 Sep, 2007 1 commit
  12. 14 Sep, 2007 1 commit
  13. 23 Aug, 2007 1 commit
  14. 17 Aug, 2007 1 commit
  15. 24 Jul, 2007 2 commits
  16. 22 Jul, 2007 1 commit
  17. 19 Jul, 2007 1 commit
  18. 17 Jul, 2007 1 commit
  19. 16 Jul, 2007 1 commit
  20. 11 Jul, 2007 2 commits
  21. 29 Jun, 2007 5 commits
  22. 16 Jun, 2007 1 commit
  23. 10 May, 2007 2 commits
    • Kumar Gala's avatar
      [POWERPC] User rheap from arch/powerpc/lib · b99ab6a8
      Kumar Gala authored
      
      Removed rheap in arch/ppc/lib and changed build system to use the
      one in arch/powerpc/lib.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      b99ab6a8
    • Timur Tabi's avatar
      [POWERPC] Change rheap functions to use ulongs instead of pointers · 4c35630c
      Timur Tabi authored
      
      The rheap allocation functions return a pointer, but the actual value is based
      on how the heap was initialized, and so it can be anything, e.g. an offset
      into a buffer.  A ulong is a better representation of the value returned by
      the allocation functions.
      
      This patch changes all of the relevant rheap functions to use a unsigned long
      integers instead of a pointer.  In case of an error, the value returned is
      a negative error code that has been cast to an unsigned long.  The caller can
      use the IS_ERR_VALUE() macro to check for this.
      
      All code which calls the rheap functions is updated accordingly.  Macros
      IS_MURAM_ERR() and IS_DPERR(), have been deleted in favor of IS_ERR_VALUE().
      
      Also added error checking to rh_attach_region().
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      4c35630c
  24. 09 May, 2007 1 commit
  25. 08 May, 2007 3 commits