1. 03 May, 2007 2 commits
  2. 19 Apr, 2007 13 commits
  3. 17 Apr, 2007 6 commits
  4. 16 Apr, 2007 1 commit
    • Michael S. Tsirkin's avatar
      IB/mthca: Fix data corruption after FMR unmap on Sinai · 608d8268
      Michael S. Tsirkin authored
      In mthca_arbel_fmr_unmap(), the high bits of the key are masked off.
      This gets rid of the effect of adjust_key(), which makes sure that
      bits 3 and 23 of the key are equal when the Sinai throughput
      optimization is enabled, and so it may happen that an FMR will end up
      with bits 3 and 23 in the key being different.  This causes data
      corruption, because when enabling the throughput optimization, the
      driver promises the HCA firmware that bits 3 and 23 of all memory keys
      will always be equal.
      Fix by re-applying adjust_key() after masking the key.
      Thanks to Or Gerlitz for reproducing the problem, and Ariel Shahar for
      help in debug.
      Signed-off-by: default avatarMichael S. Tsirkin <mst@dev.mellanox.co.il>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
  5. 14 Apr, 2007 2 commits
  6. 13 Apr, 2007 1 commit
  7. 12 Apr, 2007 3 commits
    • Neil Brown's avatar
      [PATCH] md: fix calculation for size of filemap_attr array in md/bitmap · 505fa2c4
      Neil Brown authored
      If 'num_pages' were ever 1 more than a multiple of 8 (32bit platforms)
      or of 16 (64 bit platforms).  filemap_attr would be allocated one
      'unsigned long' shorter than required.  We need a round-up in there.
      Signed-off-by: default avatarNeil Brown <neilb@suse.de>
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    • Bjorn Helgaas's avatar
      [PATCH] cciss: unregister from SCSI before tearing down device resources · b6550777
      Bjorn Helgaas authored
      We must unregister from SCSI before we unmap device resources and unhook
      the IRQ handler.  Otherwise, SCSI may send us more requests, and we won't
      be able to handle them.
      I see the following oops during every reboot of my HP DL360:
          Unmounting local filesystems...done.
          Rebooting... Completed flushing cache on controller 0
          BUG: unable to handle kernel paging request at virtual address f8808040
           printing eip:
          *pde = 02120067
          *pte = 00000000
          Oops: 0002 [#1]
          Modules linked in:
          CPU:    1
          EIP:    0060:[<c02dc72b>]    Not tainted VLI
          EFLAGS: 00010046   (2.6.21-rc6 #1)
          EIP is at SA5_submit_command+0xb/0x20
          eax: f8808000   ebx: f7a00000   ecx: f79f0000   edx: 37a00000
          esi: f79f0000   edi: 00000000   ebp: 00000000   esp: dd717a44
          ds: 007b   es: 007b   fs: 00d8  gs: 0000  ss: 0068
          Process khelper (pid: 1427, ti=dd716000 task=c2260a70 task.ti=dd716000)
          Stack: c02df2c0 f7a00000 f7a00000 00d41008 c02df691 00000000 00000010 00000002
      	   00000001 f79f0000 f7fff844 c1398420 00000000 00000000 00001000 230a3020
      	   69666564 5420656e 50434f49 465f544b 4853554c 44414552 0a312009 66656423
          Call Trace:
           [<c02df2c0>] start_io+0x80/0x120
           [<c02df691>] do_cciss_request+0x331/0x350
           [<c014242a>] mempool_alloc+0x2a/0xe0
           [<c020ad71>] blk_alloc_request+0x61/0x80
           [<c020b02e>] get_request+0x15e/0x1e0
           [<c01595e0>] cache_alloc_refill+0xb0/0x1e0
           [<c021049d>] as_update_rq+0x2d/0x80
           [<c0210d28>] as_add_request+0x68/0x90
           [<c0207f99>] elv_insert+0x119/0x160
           [<c020bd0b>] __make_request+0xcb/0x320
           [<c0122ee0>] lock_timer_base+0x20/0x50
           [<c0123096>] del_timer+0x56/0x60
           [<c020a7b8>] blk_remove_plug+0x38/0x70
           [<c020a815>] __generic_unplug_device+0x25/0x30
           [<c020a835>] generic_unplug_device+0x15/0x30
      Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
      Acked-by: default avatarMike Miller <mike.miller@hp.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    • Steve Wise's avatar
      RDMA/cxgb3: Add set_tcb_rpl_handler · 1ca19770
      Steve Wise authored
      As of commit 6cdbd77e ("cxgb3 - missing CPL hanler and register
      setting."), the cxgb3 ethernet NIC driver no longer handles SET_TCB
      replies, so we need to do it in the iWARP driver.
      Signed-off-by: default avatarSteve Wise <swise@opengridcomputing.com>
      Acked-by: default avatarDivy Le Ray <divy@chelsio.com>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
  8. 11 Apr, 2007 12 commits