1. 13 4月, 2007 8 次提交
    • O
      [POWERPC] Remove unused inclusion of linux/ide.h · 8545cd20
      Olaf Hering 提交于
      Remove unneeded inclusion of linux/ide.h
      It does not compile with CONFIG_BLOCK=n.
      
      Remove asm/ide.h from ksyms file, it gets included earlier via
      linux/ide.h.
      
      Compile tested with all defconfig files.
      Signed-off-by: NOlaf Hering <olaf@aepfle.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      8545cd20
    • O
      [POWERPC] Fix link errors when EEH is disabled · c3b9d9ab
      Olaf Hering 提交于
      Fix link errors with CONFIG_EEH=n:
      
      arch/powerpc/platforms/built-in.o: In function `.pcibios_fixup_new_pci_devices':
      (.text+0x41c8): undefined reference to `.eeh_add_device_tree_late'
      arch/powerpc/platforms/built-in.o: In function `.init_phb_dynamic':
      (.text+0x4280): undefined reference to `.eeh_add_device_tree_early'
      arch/powerpc/platforms/built-in.o: In function `.pcibios_remove_pci_devices':
      (.text+0x42fc): undefined reference to `.eeh_remove_bus_device'
      arch/powerpc/platforms/built-in.o: In function `.pcibios_add_pci_devices':
      (.text+0x43c0): undefined reference to `.eeh_add_device_tree_early'
      arch/powerpc/platforms/built-in.o: In function `.pSeries_final_fixup':
      (.init.text+0xb4): undefined reference to `.pci_addr_cache_build'
      make[1]: *** [.tmp_vmlinux1] Error 1
      Signed-off-by: NOlaf Hering <olaf@aepfle.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      c3b9d9ab
    • D
      [POWERPC] Clean up zImage handling of the command line · 3af82a8b
      David Gibson 提交于
      This cleans up how the zImage code manipulates the kernel
      command line.  Notable improvements from the old handling:
      	- Command line manipulation is consolidated into a new
      prep_cmdline() function, rather than being scattered across start()
      and some helper functions
      	- Less stack space use: we use just a single global command
      line buffer, which can be initialized by an external tool as before,
      we no longer need another command line sized buffer on the stack.
      	- Easier to support platforms whose firmware passes a
      commandline, but not a device tree.  Platform code can now point new
      loader_info fields to the firmware's command line, rather than having
      to do early manipulation of the /chosen bootargs property which may
      then be rewritten again by the core.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      3af82a8b
    • D
      [POWERPC] Add device tree utility functions to zImage · 27fbaa97
      David Gibson 提交于
      This patch adds a library of useful device tree manipulation functions
      to the zImage library, for use by platform code.  These functions are
      based on the hooks already in dt_ops, so they're not dependent on a
      particular device tree implementation.  This patch also slightly
      streamlines the code in main.c using these new functions.
      
      This is a consolidation of my work in this area with Scott Wood's
      patches to a very similar end.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      27fbaa97
    • O
      [POWERPC] Use mtocrf instruction in asm when CONFIG_POWER4_ONLY=y · 3467bfd3
      Olof Johansson 提交于
      mtocrf is a faster single-field mtcrf (move to condition register
      fields) instruction available in POWER4 and later processors.  It can
      make quite a difference in performance on some implementations, so use
      it for CONFIG_POWER4_ONLY builds.
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      3467bfd3
    • J
      [POWERPC] DMA 4GB boundary protection · 56997559
      Jake Moilanen 提交于
      There are many adapters which cannot handle DMAing across any 4 GB
      boundary.  For instance, the latest Emulex adapters.
      
      This normally is not an issue as firmware gives dma-windows under
      4gigs.  However, some of the new System-P boxes have dma-windows above
      4gigs, and this present a problem.
      
      During initialization of the IOMMU tables, the last entry at each 4GB
      boundary is marked as used.  Thus no mappings can cross the boundary.
      If a table ends at a 4GB boundary, the entry is not marked as used.
      
      A boot option to remove this 4GB protection is given w/ protect4gb=off.
      This exposes the potential issue for driver and hardware development
      purposes.
      Signed-off-by: NJake Moilanen <moilanen@austin.ibm.com>
      Acked-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      56997559
    • S
      [POWERPC] Add uevent handler for of_platform_bus · 1f9209cf
      Sylvain Munaut 提交于
      Adding this handler allow userspace to properly handle the module
      autoloading. The generation of the uevent itself is now common to
      all bus using of_device, so not much code here.
      Signed-off-by: NSylvain Munaut <tnt@246tNt.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      1f9209cf
    • S
      [POWERPC] Add a unified uevent handler for bus based on of_device · eb0cb8a0
      Sylvain Munaut 提交于
      This common uevent handler allow the several bus types based on
      of_device to generate the uevent properly and avoiding
      code duplication.
      
      This handlers take a struct device as argument and can therefore
      be used as the uevent call directly if no special treatment is
      needed for the bus.
      Signed-off-by: NSylvain Munaut <tnt@246tNt.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      eb0cb8a0
  2. 12 4月, 2007 1 次提交
  3. 09 4月, 2007 3 次提交
  4. 07 4月, 2007 4 次提交
  5. 03 4月, 2007 3 次提交
  6. 02 4月, 2007 4 次提交
  7. 01 4月, 2007 1 次提交
  8. 30 3月, 2007 16 次提交