1. 10 7月, 2012 1 次提交
    • B
      powerpc: More fixes for lazy IRQ vs. idle · be2cf20a
      Benjamin Herrenschmidt 提交于
      Looks like we still have issues with pSeries and Cell idle code
      vs. the lazy irq state. In fact, the reset fixes that went upstream
      are exposing the problem more by causing BUG_ON() to trigger (which
      this patch turns into a WARN_ON instead).
      
      We need to be careful when using a variant of low power state that
      has the side effect of turning interrupts back on, to properly set
      all the SW & lazy state to look as if everything is enabled before
      we enter the low power state with MSR:EE off as we will return with
      MSR:EE on. If not, we have a discrepancy of state which can cause
      things to go very wrong later on.
      
      This patch moves the logic into a helper and uses it from the
      pseries and cell idle code. The power4/970 idle code already got
      things right (in assembly even !) so I'm not touching it. The power7
      "bare metal" idle code is subtly different and correct. Remains PA6T
      and some hypervisor based Cell platforms which have questionable
      code in there, but they are mostly dead platforms so I'll fix them
      when I manage to get final answers from the respective maintainers
      about how the low power state actually works on them.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      CC: stable@vger.kernel.org [v3.4]
      be2cf20a
  2. 22 7月, 2008 1 次提交
  3. 01 4月, 2008 1 次提交
  4. 09 10月, 2007 1 次提交
  5. 25 8月, 2007 1 次提交
    • A
      [POWERPC] cell: Support pinhole-reset on IBM cell blades · 3addf55c
      Arnd Bergmann 提交于
      The Cell Broadband Engine has a method of injecting a
      system-reset-exception from an external source into the
      operating system, which should trigger the regular behaviour
      of entering xmon or kdump.
      
      Unfortunately, the exception handler cannot distinguish it from
      other interrupt causes by the SRR1 register, which gets used
      for this on Power 6 and others.
      
      IBM Blade servers that want to support triggering the
      system reset exception using a pinhole button in the front
      panel therefore use an extra register to determine the
      reset cause.
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      
      --
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      3addf55c
  6. 11 5月, 2007 1 次提交
  7. 04 12月, 2006 1 次提交
  8. 25 10月, 2006 2 次提交
  9. 01 7月, 2006 1 次提交
  10. 21 6月, 2006 1 次提交
    • B
      [POWERPC] cell: add RAS support · acf7d768
      Benjamin Herrenschmidt 提交于
      This is a first version of support for the Cell BE "Reliability,
      Availability and Serviceability" features.
      
      It doesn't yet handle some of the RAS interrupts (the ones described in
      iic_is/iic_irr), I'm still working on a proper way to expose these. They
      are essentially a cascaded controller by themselves (sic !) though I may
      just handle them locally to the iic driver. I need also to sync with
      David Erb on the way he hooked in the performance monitor interrupt.
      
      So that's all for 2.6.17 and I'll do more work on that with my rework of
      the powerpc interrupt layer that I'm hacking on at the moment.
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      acf7d768
  11. 29 3月, 2006 1 次提交
  12. 27 3月, 2006 1 次提交
  13. 12 1月, 2006 1 次提交
  14. 09 1月, 2006 1 次提交