1. 08 4月, 2008 1 次提交
  2. 24 2月, 2008 1 次提交
    • R
      PM: Introduce PM_EVENT_HIBERNATE callback state · 3a2d5b70
      Rafael J. Wysocki 提交于
      During the last step of hibernation in the "platform" mode (with the
      help of ACPI) we use the suspend code, including the devices'
      ->suspend() methods, to prepare the system for entering the ACPI S4
      system sleep state.
      
      But at least for some devices the operations performed by the
      ->suspend() callback in that case must be different from its operations
      during regular suspend.
      
      For this reason, introduce the new PM event type PM_EVENT_HIBERNATE and
      pass it to the device drivers' ->suspend() methods during the last phase
      of hibernation, so that they can distinguish this case and handle it as
      appropriate.  Modify the drivers that handle PM_EVENT_SUSPEND in a
      special way and need to handle PM_EVENT_HIBERNATE in the same way.
      
      These changes are necessary to fix a hibernation regression related
      to the i915 driver (ref. http://lkml.org/lkml/2008/2/22/488).
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NPavel Machek <pavel@ucw.cz>
      Tested-by: NJeff Chua <jeff.chua.linux@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3a2d5b70
  3. 18 2月, 2008 1 次提交
  4. 09 2月, 2008 1 次提交
  5. 04 2月, 2008 1 次提交
    • S
      scsi: fix dependency bug in aic7 Makefile · 8891fec6
      Sam Ravnborg 提交于
      Building the aic7xxx driver includes the copy
      of an .h file from a _shipped file.
      
      In a highly parallel build Ingo saw that the
      build sometimes failed (included distcc usage).
      It was tracked down to a missing dependency from the .c
      source file to the generated .h file.
      We started to build the .c file before the
      copy (cat) operation of the .h file completed
      and we then only got half of the definitions
      from the copied .h file.
      
      Add an explicit dependency from the .c files to the
      generated .h files so make knows all dependencies and
      finsih the build of the .h files before it starts
      building the .o files.
      
      Ingo tested this fix and reported:
      good news: hundreds of successful kernel builds and no failures
      overnight.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Acked-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      8891fec6
  6. 03 2月, 2008 1 次提交
  7. 31 1月, 2008 5 次提交
  8. 25 1月, 2008 1 次提交
  9. 24 1月, 2008 1 次提交
  10. 22 10月, 2007 3 次提交
  11. 20 10月, 2007 1 次提交
  12. 16 10月, 2007 1 次提交
  13. 31 7月, 2007 1 次提交
  14. 27 7月, 2007 1 次提交
  15. 01 6月, 2007 1 次提交
  16. 27 5月, 2007 2 次提交
  17. 23 5月, 2007 1 次提交
    • J
      [SCSI] aic7xxx: fix aicasm build failure with gcc-3.4.6 · f45ffaec
      James Bottomley 提交于
      On Tue, 2007-05-22 at 06:51 -0500, Bob Tracy wrote:
      > Second try: originally reported this back on April 17th.  2.6.X
      > kernel builds started failing after I upgraded my compiler from
      > gcc-3.3.X to gcc-3.4.6:
      >
      > make -C drivers/scsi/aic7xxx/aicasm
      > (...)
      > gcc -I/usr/include -I. aicasm.c aicasm_symbol.c aicasm_gram.c aicasm_macro_gram.c aicasm_scan.c aicasm_macro_scan.c -o aicasm -ldb
      > aicasm_gram.y:1948: error: conflicting types for 'yyerror'
      > aicasm_gram.tab.c:3004: error: previous implicit declaration of 'yyerror' was here
      > aicasm_macro_gram.y:162: error: conflicting types for 'mmerror'
      > aicasm_macro_gram.tab.c:1196: error: previous implicit declaration of 'mmerror' was here
      
      Fix is to add a prototype for yyerror and mmerror to the relevant files.
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      f45ffaec
  18. 09 5月, 2007 2 次提交
  19. 01 4月, 2007 2 次提交
  20. 17 2月, 2007 1 次提交
  21. 11 2月, 2007 1 次提交
    • H
      [SCSI] aic79xx: use dma_get_required_mask() · 19966769
      Hannes Reinecke 提交于
      As originally noted by Frederic Temporelli, the aic79xx supports 64
      bit addressing, but the initialization code of the driver is wrong: it
      tests the available memory size instead of testing the maximum
      available memory address.
      
      This patch uses the correct dma_get_required_mask() macros to
      determine the correct addressing method.
      Signed-off-by: NHannes Reinecke <hare@suse.de>
      Cc: Xavier Bru <xavier.bru@bull.net>
      CC: Frederic Temporelli <frederic.temporelli@bull.net>
      
      cosmetic fixes
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      19966769
  22. 08 2月, 2007 2 次提交
  23. 06 12月, 2006 1 次提交
  24. 26 10月, 2006 7 次提交