20 Sep, 2015

4 commits

  • Pull power management and ACPI updates from Rafael Wysocki:
    "Included are: a somewhat late devfreq update which however is mostly
    fixes and cleanups with one new thing only (the PPMUv2 support on
    Exynos5433), an ACPI cpufreq driver fixup and two ACPI core cleanups
    related to preprocessor directives.

    Specifics:

    - Fix a memory allocation size in the devfreq core (Xiaolong Ye).

    - Fix a mistake in the exynos-ppmu DT binding (Javier Martinez
    Canillas).

    - Add support for PPMUv2 ((Platform Performance Monitoring Unit
    version 2.0) on the Exynos5433 SoCs (Chanwoo Choi).

    - Fix a type casting bug in the Exynos PPMU code (MyungJoo Ham).

    - Assorted devfreq code cleanups and optimizations (Javi Merino,
    MyungJoo Ham, Viresh Kumar).

    - Fix up the ACPI cpufreq driver to use a more lightweight way to get
    to its private data in the ->get() callback (Rafael J Wysocki).

    - Fix a CONFIG_ prefix bug in one of the ACPI drivers and make the
    ACPI subsystem use IS_ENABLED() instead of #ifdefs in function
    bodies (Sudeep Holla)"

    * tag 'pm+acpi-4.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    cpufreq: acpi-cpufreq: Use cpufreq_cpu_get_raw() in ->get()
    ACPI: Eliminate CONFIG_.*{, _MODULE} #ifdef in favor of IS_ENABLED()
    ACPI: int340x_thermal: add missing CONFIG_ prefix
    PM / devfreq: Fix incorrect type issue.
    PM / devfreq: tegra: Update governor to use devfreq_update_stats()
    PM / devfreq: comments for get_dev_status usage updated
    PM / devfreq: drop comment about thermal setting max_freq
    PM / devfreq: cache the last call to get_dev_status()
    PM / devfreq: Drop unlikely before IS_ERR(_OR_NULL)
    PM / devfreq: exynos-ppmu: bit-wise operation bugfix.
    PM / devfreq: exynos-ppmu: Update documentation to support PPMUv2
    PM / devfreq: exynos-ppmu: Add the support of PPMUv2 for Exynos5433
    PM / devfreq: event: Remove incorrect property in exynos-ppmu DT binding

    Linus Torvalds
     
  • Pull rdma fixes from Doug Ledford:
    "The new hfi1 driver in staging/rdma has had a number of fixup patches
    since being added to the tree. This is the first batch of those fixes"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma:
    IB/hfi: Properly set permissions for user device files
    IB/hfi1: mask vs shift confusion
    IB/hfi1: clean up some defines
    IB/hfi1: info leak in get_ctxt_info()
    IB/hfi1: fix a locking bug
    IB/hfi1: checking for NULL instead of IS_ERR
    IB/hfi1: fix sdma_descq_cnt parameter parsing
    IB/hfi1: fix copy_to/from_user() error handling
    IB/hfi1: fix pstateinfo from returning improperly byteswapped value

    Linus Torvalds
     
  • Pull libnvdimm fixes from Dan Williams:

    - a boot regression (since v4.2) fix for some ARM configurations from
    Tyler

    - regression (since v4.1) fixes for mkfs.xfs on a DAX enabled device
    from Jeff. These are tagged for -stable.

    - a pair of locking fixes from Axel that are hidden from lockdep since
    they involve device_lock(). The "btt" one is tagged for -stable, the
    other only applies to the new "pfn" mechanism in v4.3.

    - a fix for the pmem ->rw_page() path to use wmb_pmem() from Ross.

    * 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
    mm: fix type cast in __pfn_to_phys()
    pmem: add proper fencing to pmem_rw_page()
    libnvdimm: pfn_devs: Fix locking in namespace_store
    libnvdimm: btt_devs: Fix locking in namespace_store
    blockdev: don't set S_DAX for misaligned partitions
    dax: fix O_DIRECT I/O to the last block of a blockdev

    Linus Torvalds
     
  • Pull block updates from Jens Axboe:
    "This is a bit bigger than it should be, but I could (did) not want to
    send it off last week due to both wanting extra testing, and expecting
    a fix for the bounce regression as well. In any case, this contains:

    - Fix for the blk-merge.c compilation warning on gcc 5.x from me.

    - A set of back/front SG gap merge fixes, from me and from Sagi.
    This ensures that we honor SG gapping for integrity payloads as
    well.

    - Two small fixes for null_blk from Matias, fixing a leak and a
    capacity propagation issue.

    - A blkcg fix from Tejun, fixing a NULL dereference.

    - A fast clone optimization from Ming, fixing a performance
    regression since the arbitrarily sized bio's were introduced.

    - Also from Ming, a regression fix for bouncing IOs"

    * 'for-linus' of git://git.kernel.dk/linux-block:
    block: fix bounce_end_io
    block: blk-merge: fast-clone bio when splitting rw bios
    block: blkg_destroy_all() should clear q->root_blkg and ->root_rl.blkg
    block: Copy a user iovec if it includes gaps
    block: Refuse adding appending a gapped integrity page to a bio
    block: Refuse request/bio merges with gaps in the integrity payload
    block: Check for gaps on front and back merges
    null_blk: fix wrong capacity when bs is not 512 bytes
    null_blk: fix memory leak on cleanup
    block: fix bogus compiler warnings in blk-merge.c

    Linus Torvalds
     

19 Sep, 2015

4 commits

  • The various definitions of __pfn_to_phys() have been consolidated to
    use a generic macro in include/asm-generic/memory_model.h. This hit
    mainline in the form of 012dcef3f058 "mm: move __phys_to_pfn and
    __pfn_to_phys to asm/generic/memory_model.h". When the generic macro
    was implemented the type cast to phys_addr_t was dropped which caused
    boot regressions on ARM platforms with more than 4GB of memory and
    LPAE enabled.

    It was suggested to use PFN_PHYS() defined in include/linux/pfn.h
    as provides the correct logic and avoids further duplication.

    Reported-by: kernelci.org bot
    Suggested-by: Dan Williams
    Signed-off-by: Tyler Baker
    Signed-off-by: Dan Williams

    Tyler Baker
     
  • * acpi-bus:
    ACPI: Eliminate CONFIG_.*{, _MODULE} #ifdef in favor of IS_ENABLED()
    ACPI: int340x_thermal: add missing CONFIG_ prefix

    Rafael J. Wysocki
     
  • * pm-cpufreq:
    cpufreq: acpi-cpufreq: Use cpufreq_cpu_get_raw() in ->get()

    * pm-devfreq:
    PM / devfreq: Fix incorrect type issue.
    PM / devfreq: tegra: Update governor to use devfreq_update_stats()
    PM / devfreq: comments for get_dev_status usage updated
    PM / devfreq: drop comment about thermal setting max_freq
    PM / devfreq: cache the last call to get_dev_status()
    PM / devfreq: Drop unlikely before IS_ERR(_OR_NULL)
    PM / devfreq: exynos-ppmu: bit-wise operation bugfix.
    PM / devfreq: exynos-ppmu: Update documentation to support PPMUv2
    PM / devfreq: exynos-ppmu: Add the support of PPMUv2 for Exynos5433
    PM / devfreq: event: Remove incorrect property in exynos-ppmu DT binding

    Rafael J. Wysocki
     
  • Pull KVM fixes from Paolo Bonzini:
    "Mostly stable material, a lot of ARM fixes"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (22 commits)
    sched: access local runqueue directly in single_task_running
    arm/arm64: KVM: Remove 'config KVM_ARM_MAX_VCPUS'
    arm64: KVM: Remove all traces of the ThumbEE registers
    arm: KVM: Disable virtual timer even if the guest is not using it
    arm64: KVM: Disable virtual timer even if the guest is not using it
    arm/arm64: KVM: vgic: Check for !irqchip_in_kernel() when mapping resources
    KVM: s390: Replace incorrect atomic_or with atomic_andnot
    arm: KVM: Fix incorrect device to IPA mapping
    arm64: KVM: Fix user access for debug registers
    KVM: vmx: fix VPID is 0000H in non-root operation
    KVM: add halt_attempted_poll to VCPU stats
    kvm: fix zero length mmio searching
    kvm: fix double free for fast mmio eventfd
    kvm: factor out core eventfd assign/deassign logic
    kvm: don't try to register to KVM_FAST_MMIO_BUS for non mmio eventfd
    KVM: make the declaration of functions within 80 characters
    KVM: arm64: add workaround for Cortex-A57 erratum #852523
    KVM: fix polling for guest halt continued even if disable it
    arm/arm64: KVM: Fix PSCI affinity info return value for non valid cores
    arm64: KVM: set {v,}TCR_EL2 RES1 bits
    ...

    Linus Torvalds
     

18 Sep, 2015

7 commits

  • Byteswap link_width_downgrade_*_active values before sending on the wire. In
    addition properly define the Port State Info structure.

    Reviewed-by: Dennis Dalessandro
    Reviewed-by: Christian Gomez
    Signed-off-by: Rimmer, Todd
    Signed-off-by: Ira Weiny
    Acked-by: Mike Marciniszyn
    Signed-off-by: Doug Ledford

    Ira Weiny
     
  • Pull irq updates from Thomas Gleixner:
    "This is a rather large update post rc1 due to the final steps of
    cleanups and API changes which had to wait for the preparatory patches
    to hit your tree.

    - Regression fixes for ARM GIC irqchips

    - Regression fixes and lockdep anotations for renesas irq chips

    - The leftovers of the cleanup and preparatory patches which have
    been ignored by maintainers

    - Final conversions of the newly merged users of obsolete APIs

    - Final removal of obsolete APIs

    - Final removal of ARM artifacts which had been introduced during the
    conversion of ARM to the generic interrupt code.

    - Final split of the irq_data into chip specific and common data to
    reflect the needs of hierarchical irq domains.

    - Treewide removal of the first argument of interrupt flow handlers,
    i.e. the irq number, which is not used by the majority of handlers
    and simple to retrieve from the other argument the irq descriptor.

    - A few comment updates and build warning fixes"

    * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (40 commits)
    arm64: Remove ununsed set_irq_flags
    ARM: Remove ununsed set_irq_flags
    sh: Kill off set_irq_flags usage
    irqchip: Kill off set_irq_flags usage
    gpu/drm: Kill off set_irq_flags usage
    genirq: Remove irq argument from irq flow handlers
    genirq: Move field 'msi_desc' from irq_data into irq_common_data
    genirq: Move field 'affinity' from irq_data into irq_common_data
    genirq: Move field 'handler_data' from irq_data into irq_common_data
    genirq: Move field 'node' from irq_data into irq_common_data
    irqchip/gic-v3: Use IRQD_FORWARDED_TO_VCPU flag
    irqchip/gic: Use IRQD_FORWARDED_TO_VCPU flag
    genirq: Provide IRQD_FORWARDED_TO_VCPU status flag
    genirq: Simplify irq_data_to_desc()
    genirq: Remove __irq_set_handler_locked()
    pinctrl/pistachio: Use irq_set_handler_locked
    gpio: vf610: Use irq_set_handler_locked
    powerpc/mpc8xx: Use irq_set_handler_locked()
    powerpc/ipic: Use irq_set_handler_locked()
    powerpc/cpm2: Use irq_set_handler_locked()
    ...

    Linus Torvalds
     
  • Pull Ceph fixes from Sage Weil:
    "These are both fixes to the new and improved keepalive2 behavior"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client:
    libceph: advertise support for keepalive2
    libceph: don't access invalid memory in keepalive2 path

    Linus Torvalds
     
  • Pull timer fixes from Ingo Molnar:
    "A fix for an abs()/abs64() bug that caused too slow NTP convergence on
    32-bit kernels, plus a removal of an obsolete clockevents driver
    facility after all users got converted during the merge window"

    * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    clockevents: Remove unused set_mode() callback
    time: Fix timekeeping_freqadjust()'s incorrect use of abs() instead of abs64()

    Linus Torvalds
     
  • Pull scheduler fixes from Ingo Molnar:
    "A migrate_tasks() locking fix, and a late-coming nohz change plus a
    nohz debug check"

    * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    sched: 'Annotate' migrate_tasks()
    nohz: Assert existing housekeepers when nohz full enabled
    nohz: Affine unpinned timers to housekeepers

    Linus Torvalds
     
  • We are the client, but advertise keepalive2 anyway - for consistency,
    if nothing else. In the future the server might want to know whether
    its clients support keepalive2.

    Signed-off-by: Ilya Dryomov
    Reviewed-by: Yan, Zheng

    Ilya Dryomov
     
  • This

    struct ceph_timespec ceph_ts;
    ...
    con_out_kvec_add(con, sizeof(ceph_ts), &ceph_ts);

    wraps ceph_ts into a kvec and adds it to con->out_kvec array, yet
    ceph_ts becomes invalid on return from prepare_write_keepalive(). As
    a result, we send out bogus keepalive2 stamps. Fix this by encoding
    into a ceph_timespec member, similar to how acks are read and written.

    Signed-off-by: Ilya Dryomov
    Reviewed-by: Yan, Zheng

    Ilya Dryomov
     

17 Sep, 2015

3 commits

  • Pull locking fixes from Ingo Molnar:
    "Spinlock performance regression fix, plus documentation fixes"

    * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    locking/static_keys: Fix up the static keys documentation
    locking/qspinlock/x86: Only emit the test-and-set fallback when building guest support
    locking/qspinlock/x86: Fix performance regression under unaccelerated VMs
    locking/static_keys: Fix a silly typo

    Linus Torvalds
     
  • …it/kvmarm/kvmarm into kvm-master

    Second set of KVM/ARM changes for 4.3-rc2

    - Workaround for a Cortex-A57 erratum
    - Bug fix for the debugging infrastructure
    - Fix for 32bit guests with more than 4GB of address space
    on a 32bit host
    - A number of fixes for the (unusual) case when we don't use
    the in-kernel GIC emulation
    - Removal of ThumbEE handling on arm64, since these have been
    dropped from the architecture before anyone actually ever
    built a CPU
    - Remove the KVM_ARM_MAX_VCPUS limitation which has become
    fairly pointless

    Paolo Bonzini
     
  • This patch removes config option of KVM_ARM_MAX_VCPUS,
    and like other ARCHs, just choose the maximum allowed
    value from hardware, and follows the reasons:

    1) from distribution view, the option has to be
    defined as the max allowed value because it need to
    meet all kinds of virtulization applications and
    need to support most of SoCs;

    2) using a bigger value doesn't introduce extra memory
    consumption, and the help text in Kconfig isn't accurate
    because kvm_vpu structure isn't allocated until request
    of creating VCPU is sent from QEMU;

    3) the main effect is that the field of vcpus[] in 'struct kvm'
    becomes a bit bigger(sizeof(void *) per vcpu) and need more cache
    lines to hold the structure, but 'struct kvm' is one generic struct,
    and it has worked well on other ARCHs already in this way. Also,
    the world switch frequecy is often low, for example, it is ~2000
    when running kernel building load in VM from APM xgene KVM host,
    so the effect is very small, and the difference can't be observed
    in my test at all.

    Cc: Dann Frazier
    Signed-off-by: Ming Lei
    Reviewed-by: Christoffer Dall
    Signed-off-by: Marc Zyngier

    Ming Lei
     

16 Sep, 2015

10 commits


15 Sep, 2015

5 commits

  • __do_IRQ() was removed by commit 1c77ff2 "genirq: Remove __do_IRQ",
    but the comment referring to __do_IRQ() was left.

    Update the comment for generic_handle_irq_desc().

    Signed-off-by: Huang Shijie
    Cc: jiang.liu@linux.intel.com
    Cc: peterz@infradead.org
    Cc: rafael.j.wysocki@intel.com
    Cc: jason@lakedaemon.net
    Cc: marc.zyngier@arm.com
    Link: http://lkml.kernel.org/r/1441074950-3893-1-git-send-email-shijie.huang@arm.com
    Signed-off-by: Thomas Gleixner

    Huang Shijie
     
  • Signed-off-by: Thomas Gleixner

    Thomas Gleixner
     
  • Fix a few small mistakes in the static key documentation and
    delete an unneeded sentence.

    Suggested-by: Jason Baron
    Signed-off-by: Jonathan Corbet
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/20150914171105.511e1e21@lwn.net
    Signed-off-by: Ingo Molnar

    Jonathan Corbet
     
  • This commit removes all CONFIG_.*{,_MODULE} in ACPI code, replacing it
    with IS_ENABLED().

    Signed-off-by: Sudeep Holla
    Signed-off-by: Rafael J. Wysocki

    Sudeep Holla
     
  • …/devfreq into pm-devfreq

    Pull devfreq updates for v4.3 from MyungJoo Ham.

    * 'for-rafael' of https://git.kernel.org/pub/scm/linux/kernel/git/mzx/devfreq:
    PM / devfreq: Fix incorrect type issue.
    PM / devfreq: tegra: Update governor to use devfreq_update_stats()
    PM / devfreq: comments for get_dev_status usage updated
    PM / devfreq: drop comment about thermal setting max_freq
    PM / devfreq: cache the last call to get_dev_status()
    PM / devfreq: Drop unlikely before IS_ERR(_OR_NULL)
    PM / devfreq: exynos-ppmu: bit-wise operation bugfix.
    PM / devfreq: exynos-ppmu: Update documentation to support PPMUv2
    PM / devfreq: exynos-ppmu: Add the support of PPMUv2 for Exynos5433
    PM / devfreq: event: Remove incorrect property in exynos-ppmu DT binding

    Conflicts:
    drivers/devfreq/event/exynos-ppmu.c

    Rafael J. Wysocki
     

14 Sep, 2015

1 commit

  • All users are migrated to the per-state callbacks, get rid of the
    unused interface and the core support code.

    Signed-off-by: Viresh Kumar
    Signed-off-by: Thomas Gleixner
    Cc: linaro-kernel@lists.linaro.org
    Cc: John Stultz
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/fd60de14cf6d125489c031207567bb255ad946f6.1441943991.git.viresh.kumar@linaro.org
    Signed-off-by: Ingo Molnar

    Viresh Kumar
     

13 Sep, 2015

1 commit

  • rq_data_dir() returns either READ or WRITE (0 == READ, 1 == WRITE), not
    a boolean value.

    Now, admittedly the "!= 0" doesn't really change the value (0 stays as
    zero, 1 stays as one), but it's not only redundant, it confuses gcc, and
    causes gcc to warn about the construct

    switch (rq_data_dir(req)) {
    case READ:
    ...
    case WRITE:
    ...

    that we have in a few drivers.

    Now, the gcc warning is silly and stupid (it seems to warn not about the
    switch value having a different type from the case statements, but about
    _any_ boolean switch value), but in this case the code itself is silly
    and stupid too, so let's just change it, and get rid of warnings like
    this:

    drivers/block/hd.c: In function ‘hd_request’:
    drivers/block/hd.c:630:11: warning: switch condition has boolean value [-Wswitch-bool]
    switch (rq_data_dir(req)) {

    The odd '!= 0' came in when "cmd_flags" got turned into a "u64" in
    commit 5953316dbf90 ("block: make rq->cmd_flags be 64-bit") and is
    presumably because the old code (that just did a logical 'and' with 1)
    would then end up making the type of rq_data_dir() be u64 too.

    But if we want to retain the old regular integer type, let's just cast
    the result to 'int' rather than use that rather odd '!= 0'.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

12 Sep, 2015

5 commits

  • Merge fourth patch-bomb from Andrew Morton:

    - sys_membarier syscall

    - seq_file interface changes

    - a few misc fixups

    * emailed patches from Andrew Morton :
    revert "ocfs2/dlm: use list_for_each_entry instead of list_for_each"
    mm/early_ioremap: add explicit #include of asm/early_ioremap.h
    fs/seq_file: convert int seq_vprint/seq_printf/etc... returns to void
    selftests: enhance membarrier syscall test
    selftests: add membarrier syscall test
    sys_membarrier(): system-wide memory barrier (generic, x86)
    MODSIGN: fix a compilation warning in extract-cert

    Linus Torvalds
     
  • Pull NTB fixes from Jon Mason:
    "NTB bug and documentation fixes, new device IDs, performance
    improvements, and adding a mailing list to MAINTAINERS for NTB"

    * tag 'ntb-4.3' of git://github.com/jonmason/ntb:
    NTB: Fix range check on memory window index
    NTB: Improve index handling in B2B MW workaround
    NTB: Fix documentation for ntb_peer_db_clear.
    NTB: Fix documentation for ntb_link_is_up
    NTB: Use unique DMA channels for TX and RX
    NTB: Remove dma_sync_wait from ntb_async_rx
    NTB: Clean up QP stats info
    NTB: Make the transport list in order of discovery
    NTB: Add PCI Device IDs for Broadwell Xeon
    NTB: Add flow control to the ntb_netdev
    NTB: Add list to MAINTAINERS

    Linus Torvalds
     
  • Pull more power management and ACPI updates from Rafael Wysocki:
    "These are mostly fixes and cleanups on top of the previous PM+ACPI
    pull request (cpufreq core and drivers, cpuidle, generic power domains
    framework). Some of them didn't make to that pull request and some
    fix issues introduced by it.

    The only really new thing is the support for suspend frequency in the
    cpufreq-dt driver, but it is needed to fix an issue with Exynos
    platforms.

    Specifics:

    - build fix for the new Mediatek MT8173 cpufreq driver (Guenter
    Roeck).

    - generic power domains framework fixes (power on error code path,
    subdomain removal) and cleanup of a deprecated API user (Geert
    Uytterhoeven, Jon Hunter, Ulf Hansson).

    - cpufreq-dt driver fixes including two fixes for bugs related to the
    new Operating Performance Points Device Tree bindings introduced
    recently (Viresh Kumar).

    - suspend frequency support for the cpufreq-dt driver (Bartlomiej
    Zolnierkiewicz, Viresh Kumar).

    - cpufreq core cleanups (Viresh Kumar).

    - intel_pstate driver fixes (Chen Yu, Kristen Carlson Accardi).

    - additional sanity check in the cpuidle core (Xunlei Pang).

    - fix for a comment related to CPU power management (Lina Iyer)"

    * tag 'pm+acpi-4.3-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    intel_pstate: fix PCT_TO_HWP macro
    intel_pstate: Fix user input of min/max to legal policy region
    PM / OPP: Return suspend_opp only if it is enabled
    cpufreq-dt: add suspend frequency support
    cpufreq: allow cpufreq_generic_suspend() to work without suspend frequency
    PM / OPP: add dev_pm_opp_get_suspend_opp() helper
    staging: board: Migrate away from __pm_genpd_name_add_device()
    cpufreq: Use __func__ to print function's name
    cpufreq: staticize cpufreq_cpu_get_raw()
    PM / Domains: Ensure subdomain is not in use before removing
    cpufreq: Add ARM_MT8173_CPUFREQ dependency on THERMAL
    cpuidle/coupled: Add sanity check for safe_state_index
    PM / Domains: Try power off masters in error path of __pm_genpd_poweron()
    cpufreq: dt: Tolerance applies on both sides of target voltage
    cpufreq: dt: Print error on failing to mark OPPs as shared
    cpufreq: dt: Check OPP count before marking them shared
    kernel/cpu_pm: fix cpu_cluster_pm_exit comment

    Linus Torvalds
     
  • Pull SCSI target updates from Nicholas Bellinger:
    "Here are the outstanding target-pending updates for v4.3-rc1.

    Mostly bug-fixes and minor changes this round. The fallout from the
    big v4.2-rc1 RCU conversion have (thus far) been minimal.

    The highlights this round include:

    - Move sense handling routines into scsi_common code (Sagi)

    - Return ABORTED_COMMAND sense key for PI errors (Sagi)

    - Add tpg_enabled_sendtargets attribute for disabled iscsi-target
    discovery (David)

    - Shrink target struct se_cmd by rearranging fields (Roland)

    - Drop iSCSI use of mutex around max_cmd_sn increment (Roland)

    - Replace iSCSI __kernel_sockaddr_storage with sockaddr_storage (Andy +
    Chris)

    - Honor fabric max_data_sg_nents I/O transfer limit (Arun + Himanshu +
    nab)

    - Fix EXTENDED_COPY >= v4.1 regression OOPsen (Alex + nab)"

    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending: (37 commits)
    target: use stringify.h instead of own definition
    target/user: Fix UFLAG_UNKNOWN_OP handling
    target: Remove no-op conditional
    target/user: Remove unused variable
    target: Fix max_cmd_sn increment w/o cmdsn mutex regressions
    target: Attach EXTENDED_COPY local I/O descriptors to xcopy_pt_sess
    target/qla2xxx: Honor max_data_sg_nents I/O transfer limit
    target/iscsi: Replace __kernel_sockaddr_storage with sockaddr_storage
    target/iscsi: Replace conn->login_ip with login_sockaddr
    target/iscsi: Keep local_ip as the actual sockaddr
    target/iscsi: Fix np_ip bracket issue by removing np_ip
    target: Drop iSCSI use of mutex around max_cmd_sn increment
    qla2xxx: Update tcm_qla2xxx module description to 24xx+
    iscsi-target: Add tpg_enabled_sendtargets for disabled discovery
    drivers: target: Drop unlikely before IS_ERR(_OR_NULL)
    target: check DPO/FUA usage for COMPARE AND WRITE
    target: Shrink struct se_cmd by rearranging fields
    target: Remove cmd->se_ordered_id (unused except debug log lines)
    target: add support for START_STOP_UNIT SCSI opcode
    target: improve unsupported opcode message
    ...

    Linus Torvalds
     
  • Pull second round of SCSI updates from James Bottomley:
    "There's one late arriving patch here (added today), fixing a build
    issue which the scsi_dh patch set in here uncovered. Other than that,
    everything has been incubated in -next and the checkers for a week.

    The major pieces of this patch are a set patches facilitating better
    integration between scsi and scsi_dh (the device handling layer used
    by multi-path; all the dm parts are acked by Mike Snitzer).

    This also includes driver updates for mp3sas, scsi_debug and an
    assortment of bug fixes"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (50 commits)
    scsi_dh: fix randconfig build error
    scsi: fix scsi_error_handler vs. scsi_host_dev_release race
    fcoe: Convert use of __constant_htons to htons
    mpt2sas: setpci reset kernel oops fix
    pm80xx: Don't override ts->stat on IO_OPEN_CNX_ERROR_HW_RESOURCE_BUSY
    lpfc: Fix possible use-after-free and double free in lpfc_mbx_cmpl_rdp_page_a2()
    bfa: Fix incorrect de-reference of pointer
    bfa: Fix indentation
    scsi_transport_sas: Remove check for SAS expander when querying bay/enclosure IDs.
    scsi_debug: resp_request: remove unused variable
    scsi_debug: fix REPORT LUNS Well Known LU
    scsi_debug: schedule_resp fix input variable check
    scsi_debug: make dump_sector static
    scsi_debug: vfree is null safe so drop the check
    scsi_debug: use SCSI_W_LUN_REPORT_LUNS instead of SAM2_WLUN_REPORT_LUNS;
    scsi_debug: define pr_fmt() for consistent logging
    mpt2sas: Refcount fw_events and fix unsafe list usage
    mpt2sas: Refcount sas_device objects and fix unsafe list usage
    scsi_dh: return SCSI_DH_NOTCONN in scsi_dh_activate()
    scsi_dh: don't allow to detach device handlers at runtime
    ...

    Linus Torvalds