1. 27 4月, 2011 5 次提交
  2. 20 4月, 2011 13 次提交
  3. 18 4月, 2011 3 次提交
  4. 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
  5. 05 4月, 2011 2 次提交
  6. 01 4月, 2011 11 次提交
  7. 31 3月, 2011 1 次提交
  8. 30 3月, 2011 2 次提交
    • B
      powerpc/mm: Move the STAB0 location to 0x8000 to make room in low memory · 84493804
      Benjamin Herrenschmidt 提交于
      Recent upstream builds with allmodconfig fail due to lack of space
      between 0x3000 and 0x6000. We have a hard block at 0x7000 but we can
      spare a page by moving the STAB0 from 0x6000 to 0x8000.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      84493804
    • A
      powerpc: Fix accounting of softirq time when idle · ad5d1c88
      Anton Blanchard 提交于
      commit cf9efce0 (powerpc: Account time using timebase rather
      than PURR) used in_irq() to detect if the time was spent in
      interrupt processing. This only catches hardirq context so if we
      are in softirq context and in the idle loop we end up accounting it
      as idle time. If we instead use in_interrupt() we catch both softirq
      and hardirq time.
      
      The issue was found when running a network intensive workload. top
      showed the following:
      
      0.0%us,  1.1%sy,  0.0%ni, 85.7%id,  0.0%wa,  9.9%hi,  3.3%si,  0.0%st
      
      85.7% idle. But this was wildly different to the perf events data.
      To confirm the suspicion I ran something to keep the core busy:
      
      # yes > /dev/null &
      
      8.2%us,  0.0%sy,  0.0%ni,  0.0%id,  0.0%wa, 10.3%hi, 81.4%si,  0.0%st
      
      We only got 8.2% of the CPU for the userspace task and softirq has
      shot up to 81.4%.
      
      With the patch below top shows the correct stats:
      
      0.0%us,  0.0%sy,  0.0%ni,  5.3%id,  0.0%wa, 13.3%hi, 81.3%si,  0.0%st
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      Cc: stable@kernel.org
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      ad5d1c88