18 Jul, 2007

5 commits

  • Fix output of i2o debug messages, extra KERN_ are removed.

    Signed-off-by: Vasily Averin
    Acked-by: Alan Cox
    Cc: Markus Lidel
    Acked-by: Kirill Korotaev
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vasily Averin
     
  • Fix oops on reading from some i2o proc files (i2o_seq_show_driver_store() and
    other) because their handlers uses "exec" field in struct i2o_controller

    Signed-off-by: Vasily Averin
    Acked-by: Alan Cox
    Cc: Markus Lidel
    Acked-by: Kirill Korotaev
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vasily Averin
     
  • We need to free i2o msg in case of error.

    Signed-off-by: Vasily Averin
    Acked-by: Alan Cox
    Cc: Markus Lidel
    Acked-by: Kirill Korotaev
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vasily Averin
     
  • This patch fixes access to memory that has not been allocated:
    i2o_msg_get_wait() can returns errors different from I2O_QUEUE_EMPTY. But the
    result is checked only against this code. If it is not I2O_QUEUE_EMPTY then
    we dereference the error code as the pointer later.

    Signed-off-by: Vasily Averin
    Acked-by: Alan Cox
    Cc: Markus Lidel
    Acked-by: Kirill Korotaev
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vasily Averin
     
  • This patch fixes a number of issues in i2o_cfg_passthru{,32}:
    - i2o_msg_get_wait() return vaile is not checked;
    - i2o_message memory leaks on error paths;
    - infinite loop to sg_list_cleanup in passthru32

    It's important issue because of i2o_cfg_passthru is used by raidutils for
    monitorig controllers state, and in case of memory shortage it leads to the
    node crash or disk IO stall.

    [akpm@linux-foundation.org: fix null-ptr deref]
    Signed-off-by: Vasily Averin
    Acked-by: Alan Cox
    Cc: Markus Lidel
    Acked-by: Kirill Korotaev
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vasily Averin
     

17 Jul, 2007

3 commits

  • Make some offending drivers depend on it and set CONFIG_ARCH_NO_VIRT_TO_BUS
    for ppc64 so that we don't build those drivers.

    This gets PowerPC allmodconfig and allyesconfig much closer to building.

    Signed-off-by: Stephen Rothwell
    Cc: Al Viro
    Acked-by: David Miller
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stephen Rothwell
     
  • The I2O driver uses two semaphores as mutexes. Use the mutex API instead of
    the (binary) semaphores.

    Signed-off-by: Matthias Kaehlcke
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthias Kaehlcke
     
  • Use menuconfigs instead of menus, so the whole menu can be disabled at once
    instead of going through all options.

    Signed-off-by: Jan Engelhardt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Engelhardt
     

16 Jul, 2007

1 commit

  • * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (166 commits)
    [SCSI] ibmvscsi: convert to use the data buffer accessors
    [SCSI] dc395x: convert to use the data buffer accessors
    [SCSI] ncr53c8xx: convert to use the data buffer accessors
    [SCSI] sym53c8xx: convert to use the data buffer accessors
    [SCSI] ppa: coding police and printk levels
    [SCSI] aic7xxx_old: remove redundant GFP_ATOMIC from kmalloc
    [SCSI] i2o: remove redundant GFP_ATOMIC from kmalloc from device.c
    [SCSI] remove the dead CYBERSTORMIII_SCSI option
    [SCSI] don't build scsi_dma_{map,unmap} for !HAS_DMA
    [SCSI] Clean up scsi_add_lun a bit
    [SCSI] 53c700: Remove printk, which triggers because of low scsi clock on SNI RMs
    [SCSI] sni_53c710: Cleanup
    [SCSI] qla4xxx: Fix underrun/overrun conditions
    [SCSI] megaraid_mbox: use mutex instead of semaphore
    [SCSI] aacraid: add 51245, 51645 and 52245 adapters to documentation.
    [SCSI] qla2xxx: update version to 8.02.00-k1.
    [SCSI] qla2xxx: add support for NPIV
    [SCSI] stex: use resid for xfer len information
    [SCSI] Add Brownie 1200U3P to blacklist
    [SCSI] scsi.c: convert to use the data buffer accessors
    ...

    Linus Torvalds
     

15 Jul, 2007

1 commit


18 Jun, 2007

9 commits


06 Jun, 2007

1 commit


31 May, 2007

1 commit


30 May, 2007

2 commits

  • - remove the unnecessary map_single path.

    - convert to use the new accessors for the sg lists and the
    parameters.

    TODO: use scsi_for_each_sg().

    Signed-off-by: FUJITA Tomonori
    Acked-by: Eric Moore
    Signed-off-by: James Bottomley

    FUJITA Tomonori
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
    [SCSI] megaraid_sas: intercept cmd timeout and throttle io
    [SCSI] fusion: Fix |/|| confusion
    [SCSI] aic94xx: asd_clear_nexus should fail if the cleared task does not complete
    [SCSI] aic7xxx: fix aicasm build failure with gcc-3.4.6
    [SCSI] aacraid: apply commit config for reset_devices flag
    [SCSI] sd: fix refcounting regression in suspend/resume routines
    [SCSI] aacraid: fix panic on short Inquiry
    [SCSI] aacraid: Correct sa platform support. (Was: [Bug 8469] Bad EIP value on pentium3 SMP kernel-2.6.21.1)
    [SCSI] NCR53C9x: correct spelling mistake in deprecation notice
    [SCSI] tgt: fix a rdma indirect transfer error bug
    [SCSI] MegaRAID: Update MAINTAINERS email-id
    [SCSI] stex: minor cleanup and version update
    [SCSI] stex: fix reset recovery for console device
    [SCSI] stex: extend hard reset wait time
    [SCSI] stex: fix id mapping issue
    [SCSI] ipr: Proper return codes for eh_dev_reset for SATA devices
    [SCSI] zfcp: IO stall after deleting and path checker changes after reenabling zfcp devices
    [SCSI] zfcp: avoid clutter in erp_dbf

    Linus Torvalds
     

24 May, 2007

3 commits

  • There is no reason i2o_max_drivers must be a power of two. This patch
    eliminates such a constraint.

    Cc: Markus Lidel
    Signed-off-by: Akinobu Mita
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • Maximum number of I2O drivers which could be registered is configurable by
    max_drivers module parameter.

    But the module parameter is ignored and default value (I2O_MAX_DRIVERS = 8)
    is used in the loops to notify all registered drivers.

    Cc: Markus Lidel
    Signed-off-by: Akinobu Mita
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • i2o_driver_register() initalizes event queue for driver only when
    drv->event is set. So similarly the event queue should be destroyed only
    when drv->event is set in the error path. Otherwise destroy_workqueue()
    will called with NULL.

    Cc: Markus Lidel
    Signed-off-by: Akinobu Mita
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     

23 May, 2007

1 commit

  • There are several cases where the fusion driver uses the logical || to
    try to do an arithmetical or ... fix by replacing with |.

    Signed-off-by: Dave Jones
    Acked-by: "Moore, Eric"
    Signed-off-by: James Bottomley

    Dave Jones
     

10 May, 2007

1 commit


09 May, 2007

3 commits


06 May, 2007

1 commit

  • * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (87 commits)
    [SCSI] fusion: fix domain validation loops
    [SCSI] qla2xxx: fix regression on sparc64
    [SCSI] modalias for scsi devices
    [SCSI] sg: cap reserved_size values at max_sectors
    [SCSI] BusLogic: stop using check_region
    [SCSI] tgt: fix rdma transfer bugs
    [SCSI] aacraid: fix aacraid not finding device
    [SCSI] aacraid: Correct SMC products in aacraid.txt
    [SCSI] scsi_error.c: Add EH Start Unit retry
    [SCSI] aacraid: [Fastboot] Panics for AACRAID driver during 'insmod' for kexec test.
    [SCSI] ipr: Driver version to 2.3.2
    [SCSI] ipr: Faster sg list fetch
    [SCSI] ipr: Return better qc_issue errors
    [SCSI] ipr: Disrupt device error
    [SCSI] ipr: Improve async error logging level control
    [SCSI] ipr: PCI unblock config access fix
    [SCSI] ipr: Fix for oops following SATA request sense
    [SCSI] ipr: Log error for SAS dual path switch
    [SCSI] ipr: Enable logging of debug error data for all devices
    [SCSI] ipr: Add new PCI-E IDs to device table
    ...

    Linus Torvalds
     

30 Apr, 2007

1 commit

  • After host reset, the device are programmed to default asyn narrow nego.
    We need to reprogram the parameter back to previous values. If the host
    reset is called as a result of spi_dv_device() commands timing out, its
    possible to get into an infinite loop of dv to host reset. This will
    prevent that case, as we merely program old values. If host reset is
    called outside context of domain validation, then we can call
    spi_dv_device.

    Signed-off-by: Eric Moore
    Signed-off-by: James Bottomley

    Eric Moore
     

26 Apr, 2007

3 commits

  • To clearly state the intent of copying from linear sk_buffs, _offset being a
    overly long variant but interesting for the sake of saving some bytes.

    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • For the places where we need a pointer to the mac header, it is still legal to
    touch skb->mac.raw directly if just adding to, subtracting from or setting it
    to another layer header.

    This one also converts some more cases to skb_reset_mac_header() that my
    regex missed as it had no spaces before nor after '=', ugh.

    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Arnaldo Carvalho de Melo
     
  • For the common, open coded 'skb->mac.raw = skb->data' operation, so that we can
    later turn skb->mac.raw into a offset, reducing the size of struct sk_buff in
    64bit land while possibly keeping it as a pointer on 32bit.

    This one touches just the most simple case, next will handle the slightly more
    "complex" cases.

    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Arnaldo Carvalho de Melo
     

01 Apr, 2007

1 commit


28 Mar, 2007

2 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
    [SCSI] gdth: fix oops in gdth_copy_cmd()
    [SCSI] mptsas: Fix oops for insmod during kexec
    [SCSI] lpfc: avoid double-free during PCI error failure

    Linus Torvalds
     
  • I2O subsystem has been broken in mainstream several months ago (after
    2.6.18). Commit 4aff5e2333c9a1609662f2091f55c3f6fffdad36 from Jens
    Axboe split struct request ->flags into two parts: cmd_type and
    cmd_flags.

    In i2o layer this patch has replaced flag REQ_SPECIAL by the according
    cmd_type. However i2o has used REQ_SPECIAL not as command type but as
    driver-specific flag for the debug purposes. As result all i2o requests
    have type "special" now, are not processed to the hardware and fail with
    I/O error:

    i2o/hda:Buffer I/O error on device i2o/hda, logical block 0
    Buffer I/O error on device i2o/hda, logical block 0
    Buffer I/O error on device i2o/hda, logical block 0
    unable to read partition table
    block-osm: device added (TID: 207): i2o/hda

    The following patch removes the extra debug checks without any drawbacks and
    restores the normal driver's work.

    Signed-off-by: Vasily Averin
    Acked-by: Markus Lidel
    Cc: Jens Axboe
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vasily Averin
     

21 Mar, 2007

1 commit

  • This address the issue of VMWare guest OS being remounted as read-only
    becuase the underlying device was held busy too long and at the
    same time address Engenio MPP driver concerns over infinite retries.
    This patch removes the code that snoops the SAM STATUS on busy, which
    would be returning DID_BUS_BUSY, instead we return the status as is.
    Retry hanlding seems to be properly handled in scsi_softirq_done,
    where a busy sam status would only occurr for the time specified by
    (cmd->allowed +1) * cmd->timeout_per_command.

    Signed-off-by: Eric Moore
    Signed-off-by: James Bottomley

    Eric Moore