1. 18 4月, 2008 8 次提交
  2. 17 4月, 2008 4 次提交
  3. 08 4月, 2008 1 次提交
    • S
      siimage: fix kernel oops on PPC 44x · c976816b
      Sergei Shtylyov 提交于
      Fix kernel oops due to machine check occuring in init_chipset_siimage() on PPC
      44x platforms.  These 32-bit CPUs have 36-bit physical address and PCI I/O and
      memory spaces are mapped beyond 4 GB; arch/ppc/ code has a fixup in ioremap()
      that creates an illusion of the PCI I/O and memory resources being mapped below
      4 GB, while arch/powerpc/ code got rid of this fixup with PPC 44x having instead
      CONFIG_RESOURCES_64BIT=y -- this causes the resources to be truncated to 32-bit
      'unsigned long' type in this driver, and so non-existant memory being ioremap'ed
      and then accessed...
      
      Thanks to Valentine Barshak for providing an initial patch and explanations.
      Signed-off-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      c976816b
  4. 03 4月, 2008 14 次提交
  5. 30 3月, 2008 1 次提交
  6. 22 3月, 2008 5 次提交
  7. 19 3月, 2008 1 次提交
    • L
      IDE: Make taskfile interface more robust wrt unexpected end-of-command · 6c3c3158
      Linus Torvalds 提交于
      Now that we handle all the special commands using REQ_TYPE_ATA_TASKFILE
      rather than using the old REQ_TYPE_ATA_CMD model, we need to also
      emulate the lack of full taskfile data that comes with the old command
      model (ie when commands are generated with the HDIO_DRIVE_CMD ioctl
      rather than using the HDIO_DRIVE_TASK[FILE] ioctls).
      
      In particular, this means that we should handle command completion the
      more relaxed way that the old drive_cmd_intr() code did.  It allows
      commands to finish early even if they don't use up all the data that we
      thought we had for them.
      
      This fixes a regression seen by Anders Eriksson where some SMART
      commands sent by smartd would cause a boot-time system hang on his
      machine because the IDE command handling code didn't realize that the
      command had completed.
      Tested-by: NAnders Eriksson <aeriksson@fastmail.fm>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Acked-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6c3c3158
  8. 08 3月, 2008 4 次提交
  9. 27 2月, 2008 2 次提交