1. 14 5月, 2011 1 次提交
  2. 06 5月, 2011 1 次提交
  3. 25 4月, 2011 1 次提交
  4. 18 4月, 2011 3 次提交
  5. 14 4月, 2011 1 次提交
  6. 12 4月, 2011 3 次提交
    • K
      powerpc/book3e: Fix CPU feature handling on 64-bit e5500 · 11ed0db9
      Kumar Gala 提交于
      The CPU_FTRS_POSSIBLE and CPU_FTRS_ALWAYS defines did not encompass
      e5500 CPU features when built for 64-bit.  This causes issues with
      cpu_has_feature() as it utilizes the POSSIBLE & ALWAYS defines as part
      of its check.
      
      Create a unique CPU_FTRS_E5500 (as its different from CPU_FTRS_E500MC),
      created a new group for 64-bit Book3e based CPUs and add CPU_FTRS_E5500
      to that group.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      11ed0db9
    • P
      powerpc: Check device status before adding serial device · 07d9fce2
      Prabhakar Kushwaha 提交于
      serial port nodes with the property status="disabled" are not usable and so
      avoid adding "disabled" port with the system.
      Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      07d9fce2
    • R
      PM / Hibernate: Introduce CONFIG_HIBERNATE_CALLBACKS · 1f112cee
      Rafael J. Wysocki 提交于
      Xen save/restore is going to use hibernate device callbacks for
      quiescing devices and putting them back to normal operations and it
      would need to select CONFIG_HIBERNATION for this purpose.  However,
      that also would cause the hibernate interfaces for user space to be
      enabled, which might confuse user space, because the Xen kernels
      don't support hibernation.  Moreover, it would be wasteful, as it
      would make the Xen kernels include a substantial amount of code that
      they would never use.
      
      To address this issue introduce new power management Kconfig option
      CONFIG_HIBERNATE_CALLBACKS, such that it will only select the code
      that is necessary for the hibernate device callbacks to work and make
      CONFIG_HIBERNATION select it.  Then, Xen save/restore will be able to
      select CONFIG_HIBERNATE_CALLBACKS without dragging the entire
      hibernate code along with it.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Tested-by: NShriram Rajagopalan <rshriram@cs.ubc.ca>
      1f112cee
  7. 05 4月, 2011 2 次提交
  8. 01 4月, 2011 11 次提交
  9. 31 3月, 2011 1 次提交
  10. 30 3月, 2011 3 次提交
  11. 29 3月, 2011 4 次提交
  12. 24 3月, 2011 5 次提交
  13. 23 3月, 2011 1 次提交
  14. 21 3月, 2011 2 次提交
    • M
      powerpc/ptrace: Remove BUG_ON when full register set not available · a71f5d5d
      Mike Wolf 提交于
      In some cases during a threaded core dump not all the threads will have
      a full register set. This happens when the signal causing the core dump
      races with a thread exiting.  The race happens when the exiting thread
      has entered the kernel for the last time before the signal arrives, but
      doesn't get far enough through the exit code to avoid being included
      in the core dump.
      
      So we get a thread included in the core dump which is never going to go
      out to userspace again and only has a partial register set recorded
      
      Normally we would catch each thread as it is about to go into userspace
      and capture the full register set then.
      
      However, this exiting thread is never going to go out to userspace
      again, so we have no way to capture its full register set.  It doesn't
      really matter, though, as this is a thread which is effectively
      already dead.
      
      So instead of hitting a BUG() in this case (a really bad choice of
      action in the first place), we use a poison value for the register
      values.
      
      [BenH]: Some cosmetic/stylistic changes and fix build on ppc32
      Signed-off-by: NMike Wolf <mjw@linux.vnet.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      a71f5d5d
    • B
      powerpc/pci: Fix crash in PCI code on ppc64 when matching device nodes · 90407c99
      Benjamin Herrenschmidt 提交于
      Commit b5d937de has a bug which causes
      basically a NULL dereference in the PCI code during boot on ppc64
      machines.
      
      fetch_dev_dn() is called when dev->dev.of_node is NULL, so using that
      as the starting point for the search makes no sense. It should instead
      start from the device node of the PHB.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      90407c99
  15. 16 3月, 2011 1 次提交