1. 18 8月, 2008 1 次提交
    • R
      powerpc: Fix TLB invalidation on boot on 32-bit · 9acd57ca
      Rocky Craig 提交于
      The intent of "flush_tlbs" is to invalidate all TLB entries by doing a
      TLB invalidate instruction for all pages in the address range 0 to
      0x00400000.  A loop counter is set up at the high value and
      decremented by page size.  However, the loop is only done once as the
      sense of the conditional branch at the loop end does not match the
      setup/decrement.  This fixes it to do the whole range by correcting
      the branch condition.
      Signed-off-by: NRocky Craig <rocky.craig@hp.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      9acd57ca
  2. 01 7月, 2008 1 次提交
  3. 18 4月, 2008 1 次提交
  4. 26 2月, 2008 1 次提交
  5. 07 12月, 2007 1 次提交
  6. 12 10月, 2007 1 次提交
  7. 04 10月, 2007 1 次提交
  8. 19 9月, 2007 1 次提交
  9. 14 9月, 2007 1 次提交
    • K
      [POWERPC] Fix modpost warnings from head*.S on ppc32 · 748a7683
      Kumar Gala 提交于
      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: NKumar Gala <galak@kernel.crashing.org>
      748a7683
  10. 13 9月, 2007 1 次提交
  11. 14 6月, 2007 1 次提交
  12. 24 1月, 2007 1 次提交
  13. 08 12月, 2006 1 次提交
    • K
      [POWERPC] Add support for FP emulation for the e300c2 core · aa42c69c
      Kim Phillips 提交于
      The e300c2 has no FPU.  Its MSR[FP] is grounded to zero.  If an attempt
      is made to execute a floating point instruction (including floating-point
      load, store, or move instructions), the e300c2 takes a floating-point
      unavailable interrupt.
      
      This patch adds support for FP emulation on the e300c2 by declaring a
      new CPU_FTR_FP_TAKES_FPUNAVAIL, where FP unavail interrupts are
      intercepted and redirected to the ProgramCheck exception path for
      correct emulation handling.
      
      (If we run out of CPU_FTR bits we could look to reclaim this bit by adding
      support to test the cpu_user_features for PPC_FEATURE_HAS_FPU instead)
      
      It adds a nop to the exception path for 32-bit processors with a FPU.
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      aa42c69c
  14. 01 7月, 2006 1 次提交
  15. 21 6月, 2006 1 次提交
  16. 24 2月, 2006 1 次提交
  17. 09 1月, 2006 4 次提交
    • P
      powerpc: set CONFIG_PPC_OF=y always for ARCH=powerpc · 0a498d96
      Paul Mackerras 提交于
      The CONFIG_PPC_OF symbol is used to mean that the firmware device tree
      access functions are available.  Since we always have a device tree
      with ARCH=powerpc, make CONFIG_PPC_OF always Y for ARCH=powerpc.
      
      This fixes some compile errors reported by Kumar Gala, but in a
      different way to his patch.  This also makes prom_parse.o be compiled
      only if CONFIG_PPC_OF so that non-OF ARCH=ppc platforms will compile.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0a498d96
    • A
      [PATCH] powerpc: G4+ oprofile support · 555d97ac
      Andy Fleming 提交于
      This patch adds oprofile support for the 7450 and all its multitudinous
      derivatives.
      
      * Added 7450 (and derivatives) support for oprofile
      * Changed e500 cputable to have oprofile model and cpu_type fields
      * Added support for classic 32-bit performance monitor interrupt
      * Cleaned up common powerpc oprofile code to be as common as possible
      * Cleaned up oprofile_impl.h to reflect 32 bit classic code
      * Added 32-bit MMCRx bitfield definitions and SPR numbers
      Signed-off-by: NAndy Fleming <afleming@freescale.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      555d97ac
    • B
      [PATCH] powerpc: Add back support for booting from BootX (#2) · d7f39454
      Benjamin Herrenschmidt 提交于
      ARCH=powerpc couldn't boot from BootX as it uses a "different" way of
      getting in the kernel. This patch adds the necessary trampolines,
      creating a flattened device-tree from the tree passed from MacOS, and
      initializing the btext engine early for really-early debugging.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d7f39454
    • B
      [PATCH] powerpc: Unify udbg (#2) · 51d3082f
      Benjamin Herrenschmidt 提交于
      This patch unifies udbg for both ppc32 and ppc64 when building the
      merged achitecture. xmon now has a single "back end". The powermac udbg
      stuff gets enriched with some ADB capabilities and btext output. In
      addition, the early_init callback is now called on ppc32 as well,
      approx. in the same order as ppc64 regarding device-tree manipulations.
      The init sequences of ppc32 and ppc64 are getting closer, I'll unify
      them in a later patch.
      
      For now, you can force udbg to the scc using "sccdbg" or to btext using
      "btextdbg" on powermacs. I'll implement a cleaner way of forcing udbg
      output to something else than the autodetected OF output device in a
      later patch.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      51d3082f
  18. 11 11月, 2005 1 次提交
  19. 28 10月, 2005 2 次提交
  20. 26 10月, 2005 1 次提交
  21. 18 10月, 2005 1 次提交
  22. 17 10月, 2005 2 次提交
  23. 10 10月, 2005 2 次提交
  24. 06 10月, 2005 3 次提交
  25. 01 10月, 2005 1 次提交
  26. 28 9月, 2005 1 次提交
  27. 26 9月, 2005 1 次提交
    • P
      powerpc: Merge enough to start building in arch/powerpc. · 14cf11af
      Paul Mackerras 提交于
      This creates the directory structure under arch/powerpc and a bunch
      of Kconfig files.  It does a first-cut merge of arch/powerpc/mm,
      arch/powerpc/lib and arch/powerpc/platforms/powermac.  This is enough
      to build a 32-bit powermac kernel with ARCH=powerpc.
      
      For now we are getting some unmerged files from arch/ppc/kernel and
      arch/ppc/syslib, or arch/ppc64/kernel.  This makes some minor changes
      to files in those directories and files outside arch/powerpc.
      
      The boot directory is still not merged.  That's going to be interesting.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      14cf11af
  28. 19 9月, 2005 1 次提交
  29. 11 9月, 2005 1 次提交
    • P
      [PATCH] ppc32: support hotplug cpu on powermacs · 31139971
      Paul Mackerras 提交于
      This allows cpus to be off-lined on 32-bit SMP powermacs.  When a cpu
      is off-lined, it is put into sleep mode with interrupts disabled.  It
      can be on-lined again by asserting its soft-reset pin, which is
      connected to a GPIO pin.
      
      With this I can off-line the second cpu in my dual G4 powermac, which
      means that I can then suspend the machine (the suspend/resume code
      refuses to suspend if more than one cpu is online, and making it cope
      with multiple cpus is surprisingly messy).
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      31139971
  30. 10 9月, 2005 1 次提交
  31. 01 5月, 2005 1 次提交
  32. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4