1. 13 Oct, 2008 1 commit
  2. 24 Sep, 2008 1 commit
    • Becky Bruce's avatar
      powerpc: Merge 32 and 64-bit dma code · 4fc665b8
      Becky Bruce authored
      
      We essentially adopt the 64-bit dma code, with some changes to support
      32-bit systems, including HIGHMEM.  dma functions on 32-bit are now
      invoked via accessor functions which call the correct op for a device based
      on archdata dma_ops.  If there is no archdata dma_ops, this defaults
      to dma_direct_ops.
      
      In addition, the dma_map/unmap_page functions are added to dma_ops
      because we can't just fall back on map/unmap_single when HIGHMEM is
      enabled. In the case of dma_direct_*, we stop using map/unmap_single
      and just use the page version - this saves a lot of ugly
      ifdeffing.  We leave map/unmap_single in the dma_ops definition,
      though, because they are needed by the iommu code, which does not
      implement map/unmap_page.  Ideally, going forward, we will completely
      eliminate map/unmap_single and just have map/unmap_page, if it's
      workable for 64-bit.
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      4fc665b8
  3. 24 Jan, 2008 1 commit
  4. 17 Jan, 2008 2 commits
  5. 21 Dec, 2007 1 commit
  6. 20 Dec, 2007 10 commits
  7. 11 Dec, 2007 5 commits
  8. 17 Aug, 2007 1 commit
  9. 03 Aug, 2007 1 commit
  10. 26 Jul, 2007 2 commits
    • Kumar Gala's avatar
      [POWREPC] Fixup a number of modpost warnings on ppc32 · 282045b4
      Kumar Gala authored
      
      Fixed the following warnings:
      
      WARNING: vmlinux.o(.text+0x2934): Section mismatch: reference to .init.text:__alloc_bootmem (between 'irq_alloc_host' and 'irq_set_default_host')
      WARNING: vmlinux.o(.text+0xb2aa): Section mismatch: reference to .init.data:boot_command_line (between 'register_early_udbg_console' and 'udbg_printf')
      WARNING: vmlinux.o(.text+0xb2b2): Section mismatch: reference to .init.data:boot_command_line (between 'register_early_udbg_console' and 'udbg_printf')
      WARNING: vmlinux.o(.text+0xe354): Section mismatch: reference to .init.text:__alloc_bootmem (between 'pcibios_alloc_controller' and 'pci_domain_nr')
      WARNING: vmlinux.o(.text+0x12768): Section mismatch: reference to .init.text:update_bridge_resource (between 'quirk_fsl_pcie_transparent' and 'indirect_read_config')
      WARNING: vmlinux.o(.text+0x127a8): Section mismatch: reference to .init.text:update_bridge_resource (between 'quirk_fsl_pcie_transparent' and 'indirect_read_config')
      WARNING: vmlinux.o(.text+0x17566c): Section mismatch: reference to .init.text:pcibios_fixup_bus (between 'pci_scan_child_bus' and 'pci_scan_bus_parented')
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      282045b4
    • Kumar Gala's avatar
      [POWERPC] Don't try to allocate resources for a Freescale POWERPC PHB · 2052d6d2
      Kumar Gala authored
      
      The Freescale PCI PHBs actual report back values in the BAR registers
      this causes issues in that we try to allocate resources for them
      and will get error messages like the following on MPC8544 DS:
      
      PCI: Failed to allocate mem resource #1:80000000@0 for 0000:00:00.0
      
      To address this if we are class PCI_CLASS_PROCESSOR_POWERPC, a normal
      header type, and the PHB we clear out all the resources.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      2052d6d2
  11. 24 Jul, 2007 1 commit
  12. 23 Jul, 2007 1 commit
  13. 11 Jul, 2007 1 commit
    • Michael Ellerman's avatar
      PCI: Make pcibios_add_platform_entries() return errors · a2cd52ca
      Michael Ellerman authored
      
      Currently pcibios_add_platform_entries() returns void, but could fail,
      so instead have it return an int and propagate errors up to
      pci_create_sysfs_dev_files().
      
      Fixes:
      arch/powerpc/kernel/pci_64.c: In function 'pcibios_add_platform_entries':
      arch/powerpc/kernel/pci_64.c:878: warning: ignoring return value of
      	'device_create_file', declared with attribute warn_unused_result
      arch/powerpc/kernel/pci_32.c: In function 'pcibios_add_platform_entries':
        arch/powerpc/kernel/pci_32.c:1043: warning: ignoring return value of
      	'device_create_file', declared with attribute warn_unused_result
      Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      
      a2cd52ca
  14. 03 Jul, 2007 1 commit
  15. 29 Jun, 2007 7 commits
  16. 02 May, 2007 1 commit
    • David Gibson's avatar
      [POWERPC] Fix STRICT_MM_TYPECHECKS · 69d48b40
      David Gibson authored
      
      Since we don't have it active by default, the STRICT_MM_TYPECHECKS
      option has bitrotted again.  This patch fixes a couple of simple build
      fixes if the option is selected.  First, pud_t mustn't be defined in
      page.h on 32-bit systems, because it conflicts with the version in the
      generic pud-folding code.  Second, pci_32.c is missing a __pgprot()
      wrapper call.  Third, a couple of PS3 files use constants of type
      pgprot_t when they need the raw values, we add pgprot_val() calls to
      fix this.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      69d48b40
  17. 24 Apr, 2007 2 commits
  18. 12 Apr, 2007 1 commit