1. 19 5月, 2006 4 次提交
  2. 03 5月, 2006 1 次提交
    • P
      [PATCH] powerpc: Use the ibm,pa-features property if available · d205819e
      Paul Mackerras 提交于
      Forthcoming IBM machines will have a "ibm,pa-features" property on CPU
      nodes, that contains bits indicating which optional architecture
      features are implemented by the CPU.  This adds code to use the
      property, if present, to update our CPU feature bitmaps.  Note that
      this means we can both set and clear feature bits based on what
      the firmware tells us.
      
      This is based on a patch by Will Schmidt <willschm@us.ibm.com>.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d205819e
  3. 21 4月, 2006 1 次提交
    • O
      [PATCH] powerpc: Lower threshold for DART enablement to 1GB · 28897731
      Olof Johansson 提交于
      Turn on the DART already at 1GB. This is needed because of crippled
      devices in some systems, i.e. Airport Extreme cards, only supporting
      30-bit DMA addresses.
      
      Otherwise, users with between 1 and 2GB of memory will need to manually
      enable it with iommu=force, and that's no good.
      
      Some simple performance tests show that there's a slight impact of
      enabling DART, but it's in the 1-3% range (kernel build with disk I/O
      as well as over NFS).
      
      iommu=off can still be used for those who don't want to deal with the
      overhead (and don't need it for any devices).
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      28897731
  4. 28 3月, 2006 3 次提交
  5. 27 3月, 2006 1 次提交
    • A
      [PATCH] powerpc: Allow non zero boot cpuids · 4df20460
      Anton Blanchard 提交于
      We currently have a hack to flip the boot cpu and its secondary thread
      to logical cpuid 0 and 1. This means the logical - physical mapping will
      differ depending on which cpu is boot cpu. This is most apparent on
      kexec, where we might kexec on any cpu and therefore change the mapping
      from boot to boot.
      
      The patch below does a first pass early on to work out the logical cpuid
      of the boot thread. We then fix up some paca structures to match.
      
      Ive also removed the boot_cpuid_phys variable for ppc64, to be
      consistent we use get_hard_smp_processor_id(boot_cpuid) everywhere.
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      4df20460
  6. 25 2月, 2006 1 次提交
  7. 07 2月, 2006 4 次提交
  8. 13 1月, 2006 2 次提交
  9. 12 1月, 2006 1 次提交
  10. 10 1月, 2006 1 次提交
  11. 09 1月, 2006 5 次提交
  12. 14 11月, 2005 1 次提交
  13. 10 11月, 2005 4 次提交
  14. 08 11月, 2005 1 次提交
  15. 07 11月, 2005 1 次提交
    • B
      [PATCH] ppc64: support 64k pages · 3c726f8d
      Benjamin Herrenschmidt 提交于
      Adds a new CONFIG_PPC_64K_PAGES which, when enabled, changes the kernel
      base page size to 64K.  The resulting kernel still boots on any
      hardware.  On current machines with 4K pages support only, the kernel
      will maintain 16 "subpages" for each 64K page transparently.
      
      Note that while real 64K capable HW has been tested, the current patch
      will not enable it yet as such hardware is not released yet, and I'm
      still verifying with the firmware architects the proper to get the
      information from the newer hypervisors.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3c726f8d
  16. 03 11月, 2005 1 次提交
  17. 31 10月, 2005 1 次提交
  18. 27 10月, 2005 1 次提交
  19. 26 10月, 2005 3 次提交
    • P
      powerpc: Fix interrupt-tree parsing · 6d0124fc
      Paul Mackerras 提交于
      The interrupt-tree parsing code wasn't offsetting interrupt numbers
      by 16 on 32-bit platforms with an i8259 interrupt controller, and
      it was confused about the encoding of interrupt sense and level
      (which is different for i8259 and openpic interrupt controllers,
      just to make things interesting).
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      6d0124fc
    • P
      powerpc: Merge rtas.c into arch/powerpc/kernel · 033ef338
      Paul Mackerras 提交于
      This splits arch/ppc64/kernel/rtas.c into arch/powerpc/kernel/rtas.c,
      which contains generic RTAS functions useful on any CHRP platform,
      and arch/powerpc/platforms/pseries/rtas-fw.[ch], which contain
      some pSeries-specific firmware flashing bits.  The parts of rtas.c
      that are to do with pSeries-specific error logging are protected
      by a new CONFIG_RTAS_ERROR_LOGGING symbol.  The inclusion of rtas.o
      is controlled by the CONFIG_PPC_RTAS symbol, and the relevant
      platforms select that.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      033ef338
    • K
      [PATCH] powerpc: some prom.c cleanups · 60dda256
      Kumar Gala 提交于
      On !CONFIG_PPC_MULTIPLATFORM _machine is defined as 0.  This is ok, but
      we can't assign a value to _machine then.
      
      We may not have CONFIG_PCI available, so only build in support for
      find_parent_pci_resource(), request_OF_resource(), release_OF_resource()
      if PCI is enabled.  This is probably not the long term fix but works out
      for now.
      
      Make reg_property64 contain 64-bit elements on a 32-bit machine.
      
      Mark the deprecated prom.c functions as __deprecated.
      Signed-off-by: NKumar K. Gala <kumar.gala@freescale.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      60dda256
  20. 23 10月, 2005 1 次提交
    • P
      powerpc: Run on old powermacs. · a575b807
      Paul Mackerras 提交于
      Old powermacs have a number of differences from current machines:
      - there is no interrupt tree in the device tree, just interrupt
        or AAPL,interrupt properties
      - the chosen node in the device tree is called /chosen@0
      - the OF claim method doesn't map the memory, so we have to do
        an explicit map call as well
      - there is no /chosen/cpu property on SMP machines
      - the NVRAM isn't structured as a set of partitions.
      
      This adapts the merged powermac support code to cope with these
      issues.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      a575b807
  21. 12 10月, 2005 1 次提交
  22. 10 10月, 2005 1 次提交