1. 24 4月, 2007 10 次提交
  2. 13 4月, 2007 12 次提交
  3. 30 3月, 2007 1 次提交
  4. 27 3月, 2007 1 次提交
  5. 22 3月, 2007 4 次提交
  6. 21 3月, 2007 1 次提交
  7. 16 3月, 2007 3 次提交
    • D
      [POWERPC] Update documentation for flat device tree format v17 · 0e0293c8
      David Gibson 提交于
      This patch updates booting-without-of.txt to describe version 17 of
      the flattened device tree format.  Version 17 is a small, backwards
      compatible change from version 16, adding an extra field giving the
      size of the device tree's structure block.  At this time, the kernel
      has no use for the extra information, however its presence can make
      life easier for bootloaders or other software manipulating the tree.
      
      In addition this patch adds information on the size_dt_strings field
      of the device tree header, present since version 3 of the flattened
      tree format, but omitted from the documentation.  It also makes
      changes to consistently refer to versions 16 and 17 as versions 16 and
      17 in decimal, rather than version 0x10 which was occasionally used
      for version 16 previously.
      
      Finally, we also add the new field to the definition of the device
      tree header structure in prom.h
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Acked-by: NJon Loeliger <jdl@freescale.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0e0293c8
    • J
      [POWERPC] ibmebus: dynamic addition/removal of adapters, some code cleanup · 6bccf755
      Joachim Fenkes 提交于
      This adds two sysfs attributes to /sys/bus/ibmebus which can be used to
      notify the ebus driver of added / removed ebus devices in the OF device
      tree.
      
      Echoing the device's location code (as found in the OFDT "ibm,loc-code"
      property) into the "probe" attribute will notify ebus of addition of the
      device and cause the appropriate device driver's probe function to be called
      on the device.
      
      Likewise, echoing the location code into the "remove" attribute will cause
      the device to be removed from the system.
      
      The writes will block until the respective operation has finished and return
      an error code if the operation failed.
      
      In addition, two minor tidbits are fixed:
      
      - The fake root device used to provide a common parent for all ebus devices
        is now based on device instead of of_device - it had no associated devtree
        node. This saves several checks throughout the ebus driver.
      
      - The sysfs attributes are now generated automagically by device_register()
        instead of by the ibmebus code, which saves a few compiler warnings about
        unused return codes.
      Signed-off-by: NJoachim Fenkes <fenkes@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      6bccf755
    • J
      [POWERPC] ibmebus: whitespace fixes · a8308800
      Joachim Fenkes 提交于
      This fixes a lot of whitespace in ibmebus.[ch]
      Signed-off-by: NJoachim Fenkes <fenkes@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      a8308800
  8. 15 3月, 2007 1 次提交
  9. 12 3月, 2007 3 次提交
  10. 10 3月, 2007 1 次提交
    • B
      [POWERPC] Fix spu SLB invalidations · 94b2a439
      Benjamin Herrenschmidt 提交于
      The SPU code doesn't properly invalidate SPUs SLBs when necessary,
      for example when changing a segment size from the hugetlbfs code. In
      addition, it saves and restores the SLB content on context switches
      which makes it harder to properly handle those invalidations.
      
      This patch removes the saving & restoring for now, something more
      efficient might be found later on. It also adds a spu_flush_all_slbs(mm)
      that can be used by the core mm code to flush the SLBs of all SPEs that
      are running a given mm at the time of the flush.
      
      In order to do that, it adds a spinlock to the list of all SPEs and move
      some bits & pieces from spufs to spu_base.c
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      94b2a439
  11. 09 3月, 2007 3 次提交