1. 01 Jul, 2006 5 commits
  2. 29 Jun, 2006 11 commits
  3. 28 Jun, 2006 24 commits
    • James Bottomley's avatar
      Merge ../linux-2.6/ · f28e7161
      James Bottomley authored
      Conflicts:
      
      	drivers/scsi/aacraid/comminit.c
      
      Fixed up by removing the now renamed CONFIG_IOMMU option from
      aacraid
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      f28e7161
    • Randy Dunlap's avatar
      [SCSI] atp870u: reduce huge stack usage · dc6a78f1
      Randy Dunlap authored
      The atp870u driver is the largest stack eater reported by checkstack
      (on x86_864, allmodconfig).  This converts the offending function
      to kmalloc+kfree struct atp_unit instead of allocating it on the stack.
      Was:
      0x0000164c atp870u_probe [atp870u]:			3176
      Now:
      0x0000164c atp870u_probe [atp870u]:			408
      Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      dc6a78f1
    • Eric Moore's avatar
      [SCSI] mptsas: Adding 1078 ROC support · 87cf8986
      Eric Moore authored
      * Adding 1078 ROC (Raid On Chip) Support - New host adapter
      
      * Moving all PCI Vendor/Device ids to using internal defines; a request
      from Christoph/James B. some time ago for when the next chip was added.
      
      * Removing SAS 1066/1066E Vendor/Device IDs, as there are no plans to
      manufacture that controller.
      Signed-off-by: default avatarEric Moore <Eric.Moore@lsil.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      87cf8986
    • Eric Moore's avatar
      [SCSI] mptsas: wide port support · 547f9a21
      Eric Moore authored
      * Wide port support added - using James Bottomley's new SAS wide port API.
      (There is a known problem in sas transport layer reported yesterday to
      James. The Kobject dev.bus_ids for end devices are not unique across
      expanders. I have added a work around in this patch, where I asigning
      an unique port identifier for every port within the host - this solves
      the problem, but I expect a fix from James in the sas transport).
      
      * Adding target_alloc and target_destroy entry points, and moving code over
      from the slave entry points.
      
      * The renaming of some mptscsih_xxx functions declared in mptsas.c,
      to mptsas_xxx.
      
      * Target Reset moved from slave_destroy to hotplug work thread
      handling (with regard to device removal). Also inhibit IO to end device
      while device is being broken down . Talked to James Smart about this
      at Linux Expo (with questions of how the fc transport handles this).
      
      * Cleaning up the kzalloc's, and kfree's
      Signed-off-by: default avatarEric Moore <Eric.Moore@lsil.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      547f9a21
    • James Bottomley's avatar
      [SCSI] scsi_transport_sas: introduce a sas_port entity · 65c92b09
      James Bottomley authored
      this patch introduces a port object, separates out ports and phys,
      with ports becoming the primary objects of the tree.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      65c92b09
    • Eric Moore's avatar
      [SCSI] fusion : mpi header update · 2076eb6a
      Eric Moore authored
      MPI Header Update
      Signed-off-by: default avatarEric Moore <Eric.Moore@lsil.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      2076eb6a
    • Brian King's avatar
      [SCSI] scsi: Device scanning oops for offlined devices (resend) · 309bd271
      Brian King authored
      If a device gets offlined as a result of the Inquiry sent
      during scanning, the following oops can occur. After the
      disk gets put into the SDEV_OFFLINE state, the error handler
      sends back the failed inquiry, which wakes the thread doing
      the scan. This starts a race between the scanning thread
      freeing the scsi device and the error handler calling
      scsi_run_host_queues to restart the host. Since the disk
      is in the SDEV_OFFLINE state, scsi_device_get will still
      work, which results in __scsi_iterate_devices getting
      a reference to the scsi disk when it shouldn't.
      
      The following execution thread causes the oops:
      
      CPU 0 (scan)				CPU 1 (eh)
      
      ---------------------------------------------------------
      scsi_probe_and_add_lun
                              ....
                                              scsi_eh_offline_sdevs
                                              scsi_eh_flush_done_q
      scsi_destroy_sdev
      scsi_device_dev_release
                                              scsi_restart_operations
                                               scsi_run_host_queues
                                                __scsi_iterate_devices
                                                 get_device
      scsi_device_dev_release_usercontext
                                                scsi_run_queue
                                                  <---OOPS--->
      
      The patch fixes this by changing the state of the sdev to SDEV_DEL
      before doing the final put_device, which should prevent the race
      from occurring.
      
      Original oops follows:
      
      Badness in kref_get at lib/kref.c:32
      Call Trace:
      [C00000002F4476D0] [C00000000000EE20] .show_stack+0x68/0x1b0 (unreliable)
      [C00000002F447770] [C00000000037515C] .program_check_exception+0x1cc/0x5a8
      [C00000002F447840] [C00000000000446C] program_check_common+0xec/0x100
       Exception: 700 at .kref_get+0x10/0x28
          LR = .kobject_get+0x20/0x3c
      [C00000002F447B30] [C00000002F447BC0] 0xc00000002f447bc0 (unreliable)
      [C00000002F447BB0] [C000000000254BDC] .get_device+0x20/0x3c
      [C00000002F447C30] [D000000000063188] .scsi_device_get+0x34/0xdc [scsi_mod]
      [C00000002F447CC0] [D0000000000633EC] .__scsi_iterate_devices+0x50/0xbc [scsi_mod]
      [C00000002F447D60] [D00000000006A910] .scsi_run_host_queues+0x34/0x5c [scsi_mod]
      [C00000002F447DF0] [D000000000069054] .scsi_error_handler+0xdb4/0xe44 [scsi_mod]
      [C00000002F447EE0] [C00000000007B4E0] .kthread+0x128/0x178
      [C00000002F447F90] [C000000000025E84] .kernel_thread+0x4c/0x68
      Unable to handle kernel paging request for <7>PCI: Enabling device: (0002:41:01.1), cmd 143
      data at address 0x000001b8
      Faulting instruction address: 0xd0000000000698e4
      sym1: <1010-66> rev 0x1 at pci 0002:41:01.1 irq 216
      sym1: No NVRAM, ID 7, Fast-80, LVD, parity checking
      sym1: SCSI BUS has been reset.
      scsi2 : sym-2.2.2
      cpu 0x0: Vector: 300 (Data Access) at [c00000002f447a30]
          pc: d0000000000698e4: .scsi_run_queue+0x2c/0x218 [scsi_mod]
          lr: d00000000006a904: .scsi_run_host_queues+0x28/0x5c [scsi_mod]
          sp: c00000002f447cb0
         msr: 9000000000009032
         dar: 1b8
       dsisr: 40000000
        current = 0xc0000000045fecd0
        paca    = 0xc00000000048ee80
          pid   = 1123, comm = scsi_eh_1
      enter ? for help
      [c00000002f447d60] d00000000006a904 .scsi_run_host_queues+0x28/0x5c [scsi_mod]
      [c00000002f447df0] d000000000069054 .scsi_error_handler+0xdb4/0xe44 [scsi_mod]
      [c00000002f447ee0] c00000000007b4e0 .kthread+0x128/0x178
      [c00000002f447f90] c000000000025e84 .kernel_thread+0x4c/0x68
      Signed-off-by: default avatarBrian King <brking@us.ibm.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      309bd271
    • Brian King's avatar
      [SCSI] scsi: Add allow_restart sysfs class attribute · a144c5ae
      Brian King authored
      This is a resend of a patch I generated in response to an email sent
      by Ruben Faelens <parasietje@gmail.com>. His original email to
      linux-scsi requested a method in which he could spin down a scsi disk
      when not in use and have the kernel automatically spin it back up when
      an I/O was generated to the disk. The infrastructure to automatically
      spin a disk up has been in the scsi error handler for some time now,
      but it is not enabled by default. This patch adds an sd sysfs attribute
      which allows userspace to enable this behavior.
      Signed-off-by: default avatarBrian King <brking@us.ibm.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      a144c5ae
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 · a39727f2
      Linus Torvalds authored
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
        [netdrvr] Remove long-unused bits from Becker template drivers
        [netdrvr] natsemi: minor cleanups
        [netdrvr] natsemi: Separate out media initialization code
        [PATCH] WAN: update info page for a bunch of my drivers
        [PATCH] drivers/net/hamradio/dmascc.c: fix section mismatch
        [PATCH] Fix phy id for LXT971A/LXT972A
        [PATCH] DM9000 - minor code cleanups
        [PATCH] DM9000 - do no re-init spin lock
        [PATCH] DM9000 - check for MAC left in by bootloader
        [PATCH] DM9000 - better checks for platform resources
      a39727f2
    • Linus Torvalds's avatar
      Merge git://git.infradead.org/mtd-2.6 · 936813a8
      Linus Torvalds authored
      * git://git.infradead.org/mtd-2.6:
        [MTD] NAND: Select chip before checking write protect status
        [MTD] CORE mtdchar.c: fix off-by-one error in lseek()
        [MTD] NAND: Fix typo in mtd/nand/ts7250.c
        [JFFS2][XATTR] coexistence between xattr and write buffering support.
        [JFFS2][XATTR] Fix wrong copyright
        [JFFS2][XATTR] Re-define xd->refcnt as atomic_t
        [JFFS2][XATTR] Fix memory leak with jffs2_xattr_ref
        [JFFS2][XATTR] rid unnecessary writing of delete marker.
        [JFFS2][XATTR] Fix ACL bug when updating null xattr by null ACL.
        [JFFS2][XATTR] using 'delete marker' for xdatum/xref deletion
        [MTD] Fix off-by-one error in physmap.c
        [MTD] Remove unused 'nr_banks' variable from ixp2000 map driver
        [MTD NAND] s3c2412 support in s3c2410.c
        [MTD] Initialize 'writesize'
        [MTD] NAND: ndfc fix address offset thinko
        [MTD] NAND: S3C2410 convert prinks to dev_*()s
        [MTD] NAND: Missing fixups
      936813a8
    • Linus Torvalds's avatar
      Merge git://oss.sgi.com:8090/nathans/xfs-2.6 · 73a0e405
      Linus Torvalds authored
      * git://oss.sgi.com:8090/nathans/xfs-2.6:
        [XFS] Fixup whitespace damage in log_write, remove final warning.
        [XFS] Rework code snippets slightly to remove remaining recent-gcc
        [XFS] Fix realtime subvolume expansion, a porting bug b0rked it.  Coverity
        [XFS] Remove a race condition where a linked inode could BUG_ON in
        [XFS] Remove redundant directory checks from inode link operation.
        [XFS] Remove a couple of no-longer-used macros.
        [XFS] Reduce size of xfs_trans_t structure. * remove ->t_forw, ->t_back --
        [XFS] remove unused behaviour lock - shrink XFS vnode as a side effect.
        [XFS] * There is trivial "inode => vnode => inode" conversion, but only
        [XFS] link(2) on directory is banned in VFS.
      73a0e405
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev · 03529d9f
      Linus Torvalds authored
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
        [PATCH] ata_piix: add ICH6/7/8 to Kconfig
        [PATCH] sata_sil: disable hotplug interrupts on two ATI IXPs
        [PATCH] libata: cosmetic updates
        [PATCH] ata: add some NVIDIA chipset IDs
        [PATCH] libata reduce timeouts
        [PATCH] libata: implement ata_port_max_devices()
        [PATCH] libata: make two functions global
        [PATCH] libata: update ata_do_simple_cmd()
        [PATCH] libata: move ata_do_simple_cmd() below ata_exec_internal()
        [PATCH] libata: clear EH action on device detach
        [PATCH] libata: implement and use ata_deh_dev_action()
        [PATCH] libata: move ata_eh_clear_action() upward
        [PATCH] libata.h needs scatterlist.h
        [libata] sata_vsc: partially revert a PCI ID-related commit
        [libata] Bump versions
      03529d9f
    • Linus Torvalds's avatar
      Properly delete sound/ppc/toonie.c · 11bcab90
      Linus Torvalds authored
      The previous "delete" had actually just truncated it to a zero
      size, something that can easily happen if you just apply a patch.
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      11bcab90
    • Daniel Ritz's avatar
      [PATCH] i2c-i801.c: don't pci_disable_device() after it was just enabled · d6fcb3b9
      Daniel Ritz authored
      Commit 02dd7ae2 ("[PATCH] i2c-i801:
      Merge setup function") has a missing return 0 in the _probe() function.
      This means the error path is always executed and pci_disable_device() is
      called even when the device just got successfully enabled.
      
      Having the SMBus device disabled makes some systems (eg.
      Fujitsu-Siemens Lifebook E8010) hang hard during power-off.
      
      Intead of reverting the whole commit this patch fixes it up:
      - don't ever call pci_disable_device(), also not in the _remove() function
        to avoid hangs
      - fix missing pci_release_region() in error path
      Signed-off-by: default avatarDaniel Ritz <daniel.ritz@gmx.ch>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      d6fcb3b9
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · f17a2686
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: (25 commits)
        [CIFS] Fix authentication choice so we do not force NTLMv2 unless the
        [CIFS] Fix alignment of unicode strings in previous patch
        [CIFS] Fix allocation of buffers for new session setup routine to allow
        [CIFS] Remove calls to to take f_owner.lock
        [CIFS] remove some redundant null pointer checks
        [CIFS] Fix compile warning when CONFIG_CIFS_EXPERIMENTAL is off
        [CIFS] Enable sec flags on mount for cifs (part one)
        [CIFS] Fix suspend/resume problem which causes EIO on subsequent access to
        [CIFS] fix minor compile warning when config_cifs_weak_security is off
        [CIFS] NTLMv2 support part 5
        [CIFS] Add support for readdir to legacy servers
        [CIFS] NTLMv2 support part 4
        [CIFS] NTLMv2 support part 3
        [CIFS] NTLMv2 support part 2
        [CIFS] Fix mask so can set new cifs security flags properly
        CIFS] Support for older servers which require plaintext passwords - part 2
        [CIFS] Support for older servers which require plaintext passwords
        [CIFS] Fix mapping of old SMB return code Invalid Net Name so it is
        [CIFS] Missing brace
        [CIFS] Do not overwrite aops
        ...
      f17a2686
    • Greg Ungerer's avatar
      [PATCH] m68knommu: use Kconfig RAM config options in 68328 startup code · 01f7e673
      Greg Ungerer authored
      Switch to using the new RAM Kconfig settings, instead of linker defined
      regions in ROM specific 68328 startup code.
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      01f7e673
    • Greg Ungerer's avatar
      [PATCH] m68knommu: use Kconfig RAM config options in 68360 ROM startup code · f5c7726f
      Greg Ungerer authored
      Switch to using the new RAM Kconfig settings, instead of linker defined
      regions in ROM specific 68360 startup code.
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      f5c7726f
    • Greg Ungerer's avatar
      [PATCH] m68knommu: use Kconfig RAM config options in 68360 RAM startup code · d046f611
      Greg Ungerer authored
      Switch to using the new RAM Kconfig settings, instead of linker defined
      regions in RAM specific 68360 startup code.
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      d046f611
    • Greg Ungerer's avatar
      [PATCH] m68knommu: remove NO_FORMAT_VECi from ptrace.h header · 999567d8
      Greg Ungerer authored
      Remove NO_FORMAT_VEC conditional check. It is not used or defined anywhere.
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      999567d8
    • Greg Ungerer's avatar
      [PATCH] m68knommu: FEC driver event/irq fixes · 0e702ab3
      Greg Ungerer authored
      Collection of fixes for the ColdFire FEC ethernet driver:
      
      . reworked event setting so that it occurs after the MII setup.
        roucaries bastien <roucaries.bastien@gmail.com>
      . Do not read cbd_sc in memory for each bit we test. Once per buffer is enough.
      . Overrun errors must increase `rx_fifo_errors', not `rx_crc_errors'
      . No need for a special value to activate rx or tx.  Only write access matters.
      . Simplify parameter of eth_copy_and_sum : `data' has already the right value.
      . Some spelling fixes.
      Signed-off-by: default avatarPhilippe De Muyter <phdm@macqel.be>
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      0e702ab3
    • Willson Callan's avatar
      [PATCH] m68knommu: FEC driver set different priority/level on each IRQ · 83901fc1
      Willson Callan authored
      Set different irq priority levels for each IRQ requested.
      According to the Freescale ColdFire documentation each separate IRQ
      must have its own unique priority/level combination.
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      83901fc1
    • Matt Waddel's avatar
      [PATCH] m68knommu: FEC driver support for the ColdFire 523x CPU family · 6b265293
      Matt Waddel authored
      Add support for the FEC module in the ColdFire 532x CPU family.
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      6b265293
    • Philippe De Muyter's avatar
      [PATCH] m68knommu: avoid fec driver hang when link disappears · 677177c5
      Philippe De Muyter authored
      Avoid requesting a `Graceful Transmit Stop' when link has disappeared,
      because that request cannot complete without link.
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      677177c5
    • Greg Ungerer's avatar
      [PATCH] m68knommu: update m68knommu defconfnig · 67bdd984
      Greg Ungerer authored
      Updated defconfig for m68knommu arch. Includes recent changes to the clock
      and RAM configuration options.
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      67bdd984