Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 16, 2012
  1. @bootc

    sbp-target: use simple assignment in tgt_agent_rw_agent_state()

    bootc authored
    There is no need to memcpy() a 32-bit integer. The data pointer is
    guaranteed to be quadlet aligned by the FireWire stack so we can replace
    the memcpy() with an assignment.
    
    Thanks to Stefan Richter.
    
    Signed-off-by: Chris Boot <bootc@bootc.net>
    Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Cc: Andy Grover <agrover@redhat.com>
    Cc: Clemens Ladisch <clemens@ladisch.de>
    Cc: Nicholas A. Bellinger <nab@linux-iscsi.org>
Commits on Apr 15, 2012
  1. @bootc
  2. @nablio3000

    usb-gadget: Make Kconfig/Makefile use TCM_USB_GADGET

    nablio3000 authored
    This patch converts the remaining usb-gadget Kconfig/Makefile to use
    
       TARGET_USB_GADGET -> TCM_USB_GADGET
    
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Commits on Apr 14, 2012
  1. @nablio3000

    Merge branch 'usb-gadget-merge'

    nablio3000 authored
    Conflicts:
    	drivers/target/Makefile
  2. @bootc @nablio3000

    sbp-target: update TODO file

    bootc authored nablio3000 committed
    The TODO wasn't updated after the last batch of changes before the
    merge, so remove those items that have been completed. This patch also
    re-orders the existing items in priority order and adds a new one.
    
    Signed-off-by: Chris Boot <bootc@bootc.net>
    Cc: Andy Grover <agrover@redhat.com>
    Cc: Clemens Ladisch <clemens@ladisch.de>
    Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Cc: Nicholas Bellinger <nab@linux-iscsi.org>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  3. @bootc @nablio3000

    sbp-target: minor cleanups after merging into single file

    bootc authored nablio3000 committed
    Just a few minor cleanups to make a couple more elements static and
    remove some extern definitions from the header which are not exported.
    
    Signed-off-by: Chris Boot <bootc@bootc.net>
    Cc: Andy Grover <agrover@redhat.com>
    Cc: Clemens Ladisch <clemens@ladisch.de>
    Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Cc: Nicholas Bellinger <nab@linux-iscsi.org>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  4. @nablio3000

    usb-gadget: Move target driver to a single source/header file for mai…

    nablio3000 authored
    …nline
    
    This patch converts drivers/target/usb-gadget/ to use a single usb_gadget.[c,h]
    source/header file following mainline convention for new target fabric drivers.
    Make as many functions as possible statically defined and add inline
    protypes where necessary.
    
    This patch also renames the tcm_usb_gadget.ko config entry from:
    
        TARGET_USB_GADGET -> TCM_USB_GADGET
    
    Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  5. @nablio3000

    usb-gadget: Re-enable SGL handling in fabric.c

    nablio3000 authored
    This patch re-enables two cases for SGL handling with SCSI WRITEs that
    was missed in the original conversion patch here:
    
    commit b2decb9
    Author: Nicholas Bellinger <nab@linux-iscsi.org>
    Date:   Fri Apr 6 19:24:15 2012 -0700
    
        target/usb-gadget: Re-enable support for scatterlist I/O
    
    Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  6. @nablio3000

    sbp-target: Move to a single source/header file for mainline

    nablio3000 authored
    This patch converts drivers/target/sbp/ to use a single sbp_target.[c,h]
    source/header file following mainline convention for new target fabric
    drivers.  Make as many functions as possible statically defined and add
    inline protypes where necessary.
    
    This patch also renames the sbp-target config entry from:
    
        FIREWIRE_SBP_TARGET -> SBP_TARGET
    
    and also renames the final generated module name from:
    
        fireware-sbp-target.ko -> sbp_target.ko
    
    Cc: Chris Boot <bootc@bootc.net>
    Cc: Andy Grover <agrover@redhat.com>
    Cc: Clemens Ladisch <clemens@ladisch.de>
    Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Commits on Apr 13, 2012
  1. @bootc
  2. @nablio3000
  3. @bootc @nablio3000

    firewire-sbp-target: Initial merge into lio-core.git @ v3.4-rc2

    bootc authored nablio3000 committed
    The FireWire SBP-2 Target is a driver for using an IEEE-1394 connection
    as a SCSI transport. This module uses the SCSI Target framework to
    expose LUNs to other machines attached to a FireWire bus, in effect
    acting as a FireWire hard disk similar to FireWire Target Disk mode on
    many Apple computers.
    
    This commit contains the squashed pull from Chris Boot's SBP-2-Target:
    
      https://github.com/bootc/Linux-SBP-2-Target.git patch-v3
    
    firewire-sbp-target: Add sbp_base.h header
    firewire-sbp-target: Add sbp_configfs.c
    firewire-sbp-target: Add sbp_fabric.{c,h}
    firewire-sbp-target: Add sbp_management_agent.{c,h}
    firewire-sbp-target: Add sbp_login.{c,h}
    firewire-sbp-target: Add sbp_target_agent.{c,h}
    firewire-sbp-target: Add sbp_scsi_cmnd.{c,h}
    firewire-sbp-target: Add to target Kconfig and Makefile
    
    Also add bootc's entry to the MAINTAINERS file.  Great work Chris !!
    
    Signed-off-by: Chris Boot <bootc@bootc.net>
    Cc: Andy Grover <agrover@redhat.com>
    Cc: Clemens Ladisch <clemens@ladisch.de>
    Cc: Nicholas A. Bellinger <nab@linux-iscsi.org>
    Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  4. @bootc @nablio3000

    firewire: Move fw_card kref functions into linux/firewire.h

    bootc authored nablio3000 committed
    When writing a firewire driver that doesn't deal with struct fw_device
    objects (e.g. it only publishes FireWire units and doesn't subscribe to
    them), you likely need to keep referenced to struct fw_card objects so
    that you can send messages to other nodes. This patch moves
    fw_card_put(), fw_card_get() and fw_card_release() into the public
    include/linux/firewire.h header instead of drivers/firewire/core.h, and
    adds EXPORT_SYMBOL_GPL(fw_card_release).
    
    The firewire-sbp-target module requires these so it can keep a reference
    to the fw_card object in order that it can fetch ORBs to execute and
    read/write related data and status information.
    
    Signed-off-by: Chris Boot <bootc@bootc.net>
    Acked-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Cc: Clemens Ladisch <clemens@ladisch.de>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  5. @bootc @nablio3000

    firewire: Add function to get speed from opaque struct fw_request

    bootc authored nablio3000 committed
    Sometimes it's useful to know the FireWire speed of the request that has
    just come in to a fw_address_handler callback. As struct fw_request is
    opaque we can't peek inside to get the speed out of the struct fw_packet
    that's just inside. For example, the SBP-2 spec says:
    
    "The speed at which the block write request to the MANAGEMENT_AGENT
    register is received shall determine the speed used by the target for
    all subsequent requests to read the initiator’s configuration ROM, fetch
    ORB’s from initiator memory or store status at the initiator’s
    status_FIFO. Command block ORB’s separately specify the speed for
    requests addressed to the data buffer or page table."
    
    [ ANSI T10/1155D Revision 4 page 53/54 ]
    
    Signed-off-by: Chris Boot <bootc@bootc.net>
    Acked-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
    Cc: Clemens Ladisch <clemens@ladisch.de>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Commits on Apr 12, 2012
  1. @rolandd

    IB/srpt: Set srq_type to IB_SRQT_BASIC

    rolandd authored
    Since commit 96104ed ("RDMA/core: Add SRQ type field"), kernel
    users of SRQs need to specify srq_type = IB_SRQT_BASIC in struct
    ib_srq_init_attr, or else most low-level drivers will fail in
    when srpt_add_one() calls ib_create_srq() and gets -ENOSYS.
    
    (mlx4_ib works OK nearly all of the time, because it just needs
    srq_type != IB_SRQT_XRC.  And apparently nearly everyone using
    ib_srpt is using mlx4 hardware)
    
    Reported-by: Alexey Shvetsov <alexxy@gentoo.org>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Roland Dreier <roland@purestorage.com>
Commits on Apr 11, 2012
  1. @bootc
  2. @bootc
  3. @bootc
  4. @bootc
  5. @bootc
  6. @bootc
  7. @bootc
  8. @bootc
Commits on Apr 8, 2012
  1. @nablio3000

    tcm_vhost: Convert to use mainline virtio_scsi.h

    nablio3000 authored
    This patch converts tcm_vhost in lio-core.git to use mainline
    virtio_scsi.h defines from v3.4-rc2.  This includes:
    
    *) Rename virtio_scsi_cmd_header -> virtio_scsi_cmd_req
    *) Rename virtio_scsi_footer -> virtio_scsi_cmd_resp
    *) Convert vhost_scsi_handle_vq() use scsilun_to_int() from v_req->lun[8]
    
    So for this has been compile tested only, but the changes look
    reasonably straight-forward.  Please have a look Stefan & Co..
    
    Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
    Cc: Cong Meng <mengcong@cn.ibm.com>
    Cc: Zhi Yong Wu <wuzhy@cn.ibm.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  2. @nablio3000

    qla2xxx: Address minor v3.4-rc build breakage

    nablio3000 authored
    Update lio-core.git qla2xxx LLD code to address some minor build
    breakages from the v3.4-rc2 merge to follow 8.03.07.13-k code that
    had been fixed in target-pending.git/for-next-merge.
    
    This includes the qla2x00_gid_list_size() conversion and update the
    scsi_cmnd reference within qla2xxx_abort_fcport_cmds().
    
    Cc: Arun Easi <arun.easi@qlogic.com>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  3. @nablio3000

    target/usb-gadget: Drop original remove.h for v3.4-rc

    nablio3000 authored
    This patch removes the legacy usage of remove.h added by Sebastian
    originally to lio-core.git ahead of the following changes for v3.4-rc
    to export the necessary usb definitions:
    
    commit 348748b
    Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Date:   Wed Jan 11 12:45:56 2012 +0100
    
        usb/uas: move UAS structs / defines into a header file
    
    and:
    
    commit 7ac4704
    Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Date:   Sat Feb 25 18:28:09 2012 +0100
    
        usb/storage: a couple defines from drivers/usb/storage/transport.h to include/linux/usb/storage.h
    
    Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  4. @nablio3000

    Merge tag 'v3.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git…

    nablio3000 authored
    …/torvalds/linux
    
    Merge mainline v3.4-rc2 into lio-core.git and fix associated conflicts
    from local commits.
    
    Also, this patch drops the original virtio-scsi.c driver in favor of
    what has been merged into mainline code.
    
    Conflicts:
    	drivers/infiniband/ulp/srpt/ib_srpt.c
    	drivers/scsi/Kconfig
    	drivers/scsi/Makefile
    	drivers/scsi/qla2xxx/qla_dbg.c
    	drivers/scsi/qla2xxx/qla_def.h
    	drivers/scsi/qla2xxx/qla_gbl.h
    	drivers/scsi/qla2xxx/qla_init.c
    	drivers/scsi/qla2xxx/qla_isr.c
    	drivers/scsi/qla2xxx/qla_os.c
    	drivers/scsi/virtio_scsi.c
    	drivers/target/iscsi/iscsi_target.c
    	drivers/target/iscsi/iscsi_target_util.c
    	drivers/target/loopback/tcm_loop.c
    	drivers/target/target_core_cdb.c
    	drivers/target/target_core_iblock.c
    	drivers/target/target_core_pr.c
    	drivers/target/target_core_tmr.c
    	drivers/target/target_core_tpg.c
    	drivers/target/target_core_transport.c
    	drivers/target/tcm_fc/tcm_fc.h
    	drivers/target/tcm_fc/tfc_cmd.c
    	include/linux/virtio_ids.h
    	include/linux/virtio_scsi.h
    	include/target/target_core_base.h
    	include/target/target_core_fabric.h
  5. @torvalds

    Linux 3.4-rc2

    torvalds authored
Commits on Apr 7, 2012
  1. @torvalds

    Merge tag 'regmap-3.4-fixes' of git://git.kernel.org/pub/scm/linux/ke…

    torvalds authored
    …rnel/git/broonie/regmap
    
    Pull two more small regmap fixes from Mark Brown:
     - Now we have users for it that aren't running Android it turns out
       that regcache_sync_region() is much more useful to drivers if it's
       exported for use by modules.  Who knew?
     - Make sure we don't divide by zero when doing debugfs dumps of
       rbtrees, not visible up until now because everything was providing at
       least some cache on startup.
    
    * tag 'regmap-3.4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
      regmap: prevent division by zero in rbtree_show
      regmap: Export regcache_sync_region()
  2. @torvalds

    Merge branch 'kvm-updates/3.4' of git://git.kernel.org/pub/scm/virt/k…

    torvalds authored
    …vm/kvm
    
    Pull a few KVM fixes from Avi Kivity:
     "A bunch of powerpc KVM fixes, a guest and a host RCU fix (unrelated),
      and a small build fix."
    
    * 'kvm-updates/3.4' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
      KVM: Resolve RCU vs. async page fault problem
      KVM: VMX: vmx_set_cr0 expects kvm->srcu locked
      KVM: PMU: Fix integer constant is too large warning in kvm_pmu_set_msr()
      KVM: PPC: Book3S: PR: Fix preemption
      KVM: PPC: Save/Restore CR over vcpu_run
      KVM: PPC: Book3S HV: Save and restore CR in __kvmppc_vcore_entry
      KVM: PPC: Book3S HV: Fix kvm_alloc_linear in case where no linears exist
      KVM: PPC: Book3S: Compile fix for ppc32 in HIOR access code
  3. @torvalds

    Merge tag 'sh-for-linus' of git://github.com/pmundt/linux-sh

    torvalds authored
    Pull SuperH fixes from Paul Mundt.
    
    * tag 'sh-for-linus' of git://github.com/pmundt/linux-sh:
      sh: fix clock-sh7757 for the latest sh_mobile_sdhi driver
      serial: sh-sci: use serial_port_in/out vs sci_in/out.
      sh: vsyscall: Fix up .eh_frame generation.
      sh: dma: Fix up device attribute mismatch from sysdev fallout.
      sh: dwarf unwinder depends on SHcompact.
      sh: fix up fallout from system.h disintegration.
  4. @torvalds

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    torvalds authored
    …/git/jmorris/linux-security
    
    Pull security layer fixlet from James Morris.
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
      sysctl: fix write access to dmesg_restrict/kptr_restrict
  5. @bootc
  6. @bootc
  7. @bootc
Something went wrong with that request. Please try again.