08 Mar, 2017

22 commits

  • Found by Linux Driver Verification project (linuxtesting.org).

    Signed-off-by: Alexey Khoroshilov
    Acked-by: Jamal Hadi Salim
    Signed-off-by: David S. Miller

    Alexey Khoroshilov
     
  • Sowmini Varadhan says:

    ====================
    rds: tcp: fix various rds-tcp issues during netns create/delete sequences

    Dmitry Vyukov reported some syszkaller panics during netns deletion.

    While I have not been able to reproduce those exact panics, my attempts
    to do so uncovered a few other problems, which are fixed patch 2 and
    patch 3 of this patch series. In addition, as mentioned in,
    https://www.spinics.net/lists/netdev/msg422997.html
    code-inspection points that the rds_connection needs to take an explicit
    refcnt on the struct net so that it is held down until all cleanup is
    completed for netns removal, and this is fixed by patch1.

    The following scripts were run concurrently to uncover/test patch{2, 3}
    while simultaneously running rds-ping to 12.0.0.18 from another system:

    # cat del.rds
    while [ 1 ]; do
    modprobe rds_tcp
    modprobe -r rds-tcp
    done

    # cat del.netns
    while [ 1 ]; do
    ip netns delete blue
    ip netns add blue
    ip link add link eth1 address a:b:c:d:e:f blue0 type macvlan
    ip link set blue0 netns blue
    ip netns exec blue ip addr add 12.0.0.18/24 dev blue0
    ip netns exec blue ifconfig blue0 up
    sleep 3;
    done
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Commit a93d01f5777e ("RDS: TCP: avoid bad page reference in
    rds_tcp_listen_data_ready") added the function
    rds_tcp_listen_sock_def_readable() to handle the case when a
    partially set-up acceptor socket drops into rds_tcp_listen_data_ready().
    However, if the listen socket (rtn->rds_tcp_listen_sock) is itself going
    through a tear-down via rds_tcp_listen_stop(), the (*ready)() will be
    null and we would hit a panic of the form
    BUG: unable to handle kernel NULL pointer dereference at (null)
    IP: (null)
    :
    ? rds_tcp_listen_data_ready+0x59/0xb0 [rds_tcp]
    tcp_data_queue+0x39d/0x5b0
    tcp_rcv_established+0x2e5/0x660
    tcp_v4_do_rcv+0x122/0x220
    tcp_v4_rcv+0x8b7/0x980
    :
    In the above case, it is not fatal to encounter a NULL value for
    ready- we should just drop the packet and let the flush of the
    acceptor thread finish gracefully.

    In general, the tear-down sequence for listen() and accept() socket
    that is ensured by this commit is:
    rtn->rds_tcp_listen_sock = NULL; /* prevent any new accepts */
    In rds_tcp_listen_stop():
    serialize with, and prevent, further callbacks using lock_sock()
    flush rds_wq
    flush acceptor workq
    sock_release(listen socket)

    Signed-off-by: Sowmini Varadhan
    Signed-off-by: David S. Miller

    Sowmini Varadhan
     
  • Order of initialization in rds_tcp_init needs to be done so
    that resources are set up and destroyed in the correct synchronization
    sequence with both the data path, as well as netns create/destroy
    path. Specifically,

    - we must call register_pernet_subsys and get the rds_tcp_netid
    before calling register_netdevice_notifier, otherwise we risk
    the sequence
    1. register_netdevice_notifier sets up netdev notifier callback
    2. rds_tcp_dev_event -> rds_tcp_kill_sock uses netid 0, and finds
    the wrong rtn, resulting in a panic with string that is of the form:

    BUG: unable to handle kernel NULL pointer dereference at 000000000000000d
    IP: rds_tcp_kill_sock+0x3a/0x1d0 [rds_tcp]
    :

    - the rds_tcp_incoming_slab kmem_cache must be initialized before the
    datapath starts up. The latter can happen any time after the
    pernet_subsys registration of rds_tcp_net_ops, whose -> init
    function sets up the listen socket. If the rds_tcp_incoming_slab has
    not been set up at that time, a panic of the form below may be
    encountered

    BUG: unable to handle kernel NULL pointer dereference at 0000000000000014
    IP: kmem_cache_alloc+0x90/0x1c0
    :
    rds_tcp_data_recv+0x1e7/0x370 [rds_tcp]
    tcp_read_sock+0x96/0x1c0
    rds_tcp_recv_path+0x65/0x80 [rds_tcp]
    :

    Signed-off-by: Sowmini Varadhan
    Signed-off-by: David S. Miller

    Sowmini Varadhan
     
  • It is incorrect for the rds_connection to piggyback on the
    sock_net() refcount for the netns because this gives rise to
    a chicken-and-egg problem during rds_conn_destroy. Instead explicitly
    take a ref on the net, and hold the netns down till the connection
    tear-down is complete.

    Reported-by: Dmitry Vyukov
    Signed-off-by: Sowmini Varadhan
    Signed-off-by: David S. Miller

    Sowmini Varadhan
     
  • Eric Dumazet says:

    ====================
    net: fix possible sock_hold() misuses

    skb_complete_wifi_ack() and skb_complete_tx_timestamp() currently
    call sock_hold() on sockets that might have transitioned their sk_refcnt
    to zero already.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     
  • TX skbs do not necessarily hold a reference on skb->sk->sk_refcnt
    By the time TX completion happens, sk_refcnt might be already 0.

    sock_hold()/sock_put() would then corrupt critical state, like
    sk_wmem_alloc and lead to leaks or use after free.

    Fixes: 62bccb8cdb69 ("net-timestamp: Make the clone operation stand-alone from phy timestamping")
    Signed-off-by: Eric Dumazet
    Cc: Alexander Duyck
    Cc: Johannes Berg
    Cc: Soheil Hassas Yeganeh
    Cc: Willem de Bruijn
    Acked-by: Soheil Hassas Yeganeh
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • TX skbs do not necessarily hold a reference on skb->sk->sk_refcnt
    By the time TX completion happens, sk_refcnt might be already 0.

    sock_hold()/sock_put() would then corrupt critical state, like
    sk_wmem_alloc.

    Fixes: bf7fa551e0ce ("mac80211: Resolve sk_refcnt/sk_wmem_alloc issue in wifi ack path")
    Signed-off-by: Eric Dumazet
    Cc: Alexander Duyck
    Cc: Johannes Berg
    Cc: Soheil Hassas Yeganeh
    Cc: Willem de Bruijn
    Acked-by: Soheil Hassas Yeganeh
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • The call state may be changed at any time by the data-ready routine in
    response to received packets, so if the call state is to be read and acted
    upon several times in a function, READ_ONCE() must be used unless the call
    state lock is held.

    Signed-off-by: David Howells
    Signed-off-by: David S. Miller

    David Howells
     
  • Dmitry Vyukov reported a divide by 0 triggered by syzkaller, exploiting
    tcp_disconnect() path that was never really considered and/or used
    before syzkaller ;)

    I was not able to reproduce the bug, but it seems issues here are the
    three possible actions that assumed they would never trigger on a
    listener.

    1) tcp_write_timer_handler
    2) tcp_delack_timer_handler
    3) MTU reduction

    Only IPv6 MTU reduction was properly testing TCP_CLOSE and TCP_LISTEN
    states from tcp_v6_mtu_reduced()

    Signed-off-by: Eric Dumazet
    Reported-by: Dmitry Vyukov
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • Michal Schmidt says:

    ====================
    bnx2x: PTP crash, VF VLAN fixes

    here are fixes for a crash with PTP, a crash in setting of VF multicast
    addresses, and non-working VLAN filters configuration from the VF side.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Configuring VLANs from the VF side had no effect, because the PF ignored
    filters of type VFPF_VLAN_FILTER in the VF-PF message.

    Add the missing filter type to configure.

    Signed-off-by: Michal Schmidt
    Signed-off-by: David S. Miller

    Michal Schmidt
     
  • filters->count is the number of filters we were supposed to configure.
    There is no reason to increase it by +1 when printing the count in an error
    message.

    Signed-off-by: Michal Schmidt
    Signed-off-by: David S. Miller

    Michal Schmidt
     
  • On failure to configure a VF MAC/VLAN filter we should not attempt to
    rollback filters that we failed to configure with -EEXIST.

    Signed-off-by: Michal Schmidt
    Signed-off-by: David S. Miller

    Michal Schmidt
     
  • VFs are currently missing the VLAN filtering feature, because we were
    checking the PF's acquire response before actually performing the acquire.

    Fix it by setting the feature flag later when we have the PF response.

    Signed-off-by: Michal Schmidt
    Signed-off-by: David S. Miller

    Michal Schmidt
     
  • It is too late to check for the limit of the number of VF multicast
    addresses after they have already been copied to the req->multicast[]
    array, possibly overflowing it.

    Do the check before copying.

    Also fix the error path to not skip unlocking vf2pf_mutex.

    Signed-off-by: Michal Schmidt
    Signed-off-by: David S. Miller

    Michal Schmidt
     
  • When BNX2X_MSG_IOV is enabled, the driver produces too many VF statistics
    messages. Lower the verbosity of the VF stats messages similarly as in
    commit 76ca70fabbdaa3 ("bnx2x: [Debug] change verbosity of some prints").

    Signed-off-by: Michal Schmidt
    Signed-off-by: David S. Miller

    Michal Schmidt
     
  • It is possible to crash the kernel by accessing a PTP device while its
    associated bnx2x interface is down. Before the interface is brought up,
    the timecounter is not initialized, so accessing it results in NULL
    dereference.

    Fix it by checking if the interface is up.

    Use -ENETDOWN as the error code when the interface is down.
    -EFAULT in bnx2x_ptp_adjfreq() did not seem right.

    Tested using phc_ctl get/set/adj/freq commands.

    Signed-off-by: Michal Schmidt
    Signed-off-by: David S. Miller

    Michal Schmidt
     
  • Signed-off-by: Maarten Blomme
    Signed-off-by: David S. Miller

    Blomme, Maarten
     
  • Signed-off-by: Maarten Blomme
    Signed-off-by: David S. Miller

    Blomme, Maarten
     
  • The ethernet support now calls directly into the ipv6 core code, which
    fails if IPV6 is a loadable module but mlx5 is built-in:

    drivers/net/ethernet/mellanox/mlx5/core/en_tc.o: In function `mlx5e_create_encap_header_ipv6':
    en_tc.c:(.text.mlx5e_create_encap_header_ipv6+0x110): undefined reference to `ip6_route_output_flags'

    This adds a dependency to ensure that MLX5_CORE_EN can only be built
    if we are able link the kernel successfully. The downside is that the
    ethernet option can be hidden. Alternatively we could make MLX5_CORE
    depend on "IPV6 || !IPV6", which would force MLX5_CORE to be a module
    when IPV6 is, including in configurations where we don't use the ethernet
    support at all.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: David S. Miller

    Arnd Bergmann
     
  • This patch adds documentation for a new "phy-handle" property,
    "fixed-link" and "mdio" sub-node. These allows the enumeration
    of PHYs which are supported by the phy library under drivers/net/phy.

    The EMAC ethernet controller in IBM and AMCC 4xx chips is
    currently stuck with a few privately defined phy
    implementations. It has no support for PHYs which
    are supported by the generic phylib.

    Acked-by: Rob Herring
    Reviewed-by: Florian Fainelli
    Signed-off-by: Christian Lamparter
    Signed-off-by: David S. Miller

    Christian Lamparter
     

06 Mar, 2017

2 commits

  • The Generic PHY driver is a catch-all PHY driver and it should preserve
    whatever prior initialization has been done by boot loader or firmware
    agents. For specific PHY device configuration it is expected that a
    specialized PHY driver would take over that role.

    Resetting the generic PHY was a bad idea that has lead to several
    complaints and downstream workarounds e.g: in OpenWrt/LEDE so restore
    the behavior prior to 87aa9f9c61ad ("net: phy: consolidate PHY
    reset in phy_init_hw()").

    Reported-by: Felix Fietkau
    Fixes: 87aa9f9c61ad ("net: phy: consolidate PHY reset in phy_init_hw()")
    Signed-off-by: Florian Fainelli
    Signed-off-by: David S. Miller

    Florian Fainelli
     
  • map_get_next_key callback is mandatory. Supply dummy handler.

    Fixes: b95a5c4db09b ("bpf: add a longest prefix match trie map implementation")
    Reported-by: Dmitry Vyukov
    Signed-off-by: Alexei Starovoitov
    Signed-off-by: David S. Miller

    Alexei Starovoitov
     

05 Mar, 2017

5 commits

  • Pull networking fixes from David Miller:

    1) Fix double-free in batman-adv, from Sven Eckelmann.

    2) Fix packet stats for fast-RX path, from Joannes Berg.

    3) Netfilter's ip_route_me_harder() doesn't handle request sockets
    properly, fix from Florian Westphal.

    4) Fix sendmsg deadlock in rxrpc, from David Howells.

    5) Add missing RCU locking to transport hashtable scan, from Xin Long.

    6) Fix potential packet loss in mlxsw driver, from Ido Schimmel.

    7) Fix race in NAPI handling between poll handlers and busy polling,
    from Eric Dumazet.

    8) TX path in vxlan and geneve need proper RCU locking, from Jakub
    Kicinski.

    9) SYN processing in DCCP and TCP need to disable BH, from Eric
    Dumazet.

    10) Properly handle net_enable_timestamp() being invoked from IRQ
    context, also from Eric Dumazet.

    11) Fix crash on device-tree systems in xgene driver, from Alban Bedel.

    12) Do not call sk_free() on a locked socket, from Arnaldo Carvalho de
    Melo.

    13) Fix use-after-free in netvsc driver, from Dexuan Cui.

    14) Fix max MTU setting in bonding driver, from WANG Cong.

    15) xen-netback hash table can be allocated from softirq context, so use
    GFP_ATOMIC. From Anoob Soman.

    16) Fix MAC address change bug in bgmac driver, from Hari Vyas.

    17) strparser needs to destroy strp_wq on module exit, from WANG Cong.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (69 commits)
    strparser: destroy workqueue on module exit
    sfc: fix IPID endianness in TSOv2
    sfc: avoid max() in array size
    rds: remove unnecessary returned value check
    rxrpc: Fix potential NULL-pointer exception
    nfp: correct DMA direction in XDP DMA sync
    nfp: don't tell FW about the reserved buffer space
    net: ethernet: bgmac: mac address change bug
    net: ethernet: bgmac: init sequence bug
    xen-netback: don't vfree() queues under spinlock
    xen-netback: keep a local pointer for vif in backend_disconnect()
    netfilter: nf_tables: don't call nfnetlink_set_err() if nfnetlink_send() fails
    netfilter: nft_set_rbtree: incorrect assumption on lower interval lookups
    netfilter: nf_conntrack_sip: fix wrong memory initialisation
    can: flexcan: fix typo in comment
    can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
    can: gs_usb: fix coding style
    can: gs_usb: Don't use stack memory for USB transfers
    ixgbe: Limit use of 2K buffers on architectures with 256B or larger cache lines
    ixgbe: update the rss key on h/w, when ethtool ask for it
    ...

    Linus Torvalds
     
  • Pull more KVM updates from Radim Krčmář:
    "Second batch of KVM changes for the 4.11 merge window:

    PPC:
    - correct assumption about ASDR on POWER9
    - fix MMIO emulation on POWER9

    x86:
    - add a simple test for ioperm
    - cleanup TSS (going through KVM tree as the whole undertaking was
    caused by VMX's use of TSS)
    - fix nVMX interrupt delivery
    - fix some performance counters in the guest

    ... and two cleanup patches"

    * tag 'kvm-4.11-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
    KVM: nVMX: Fix pending events injection
    x86/kvm/vmx: remove unused variable in segment_base()
    selftests/x86: Add a basic selftest for ioperm
    x86/asm: Tidy up TSS limit code
    kvm: convert kvm.users_count from atomic_t to refcount_t
    KVM: x86: never specify a sample period for virtualized in_tx_cp counters
    KVM: PPC: Book3S HV: Don't use ASDR for real-mode HPT faults on POWER9
    KVM: PPC: Book3S HV: Fix software walk of guest process page tables

    Linus Torvalds
     
  • Pull documentation fixes from Jonathan Corbet:
    "A few fixes for the docs tree, including one for a 4.11 build
    regression"

    * tag 'docs-4.11-fixes' of git://git.lwn.net/linux:
    Documentation/sphinx: fix primary_domain configuration
    docs: Fix htmldocs build failure
    doc/ko_KR/memory-barriers: Update control-dependencies section
    pcieaer doc: update the link
    Documentation: Update path to sysrq.txt

    Linus Torvalds
     
  • Pull staging/IIO driver fixes from Greg KH:
    "Here are a few small staging and IIO driver fixes for issues that
    showed up after the big set if changes you merged last week.

    Nothing major, just small bugs resolved in some IIO drivers, a lustre
    allocation fix, and some RaspberryPi driver fixes for reported
    problems, as well as a MAINTAINERS entry update.

    All of these have been in linux-next for a week with no reported
    issues"

    * tag 'staging-4.11-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
    staging: fsl-mc: fix warning in DT ranges parser
    MAINTAINERS: Remove Noralf Trønnes as fbtft maintainer
    staging: vchiq_2835_arm: Make cache-line-size a required DT property
    staging: bcm2835/mmal-vchiq: unlock on error in buffer_from_host()
    staging/lustre/lnet: Fix allocation size for sv_cpt_data
    iio: adc: xilinx: Fix error handling
    iio: 104-quad-8: Fix off-by-one error when addressing flag register
    iio: adc: handle unknow of_device_id data

    Linus Torvalds
     
  • Pull crypto fixes from Herbert Xu:

    - vmalloc stack regression in CCM

    - Build problem in CRC32 on ARM

    - Memory leak in cavium

    - Missing Kconfig dependencies in atmel and mediatek

    - XTS Regression on some platforms (s390 and ppc)

    - Memory overrun in CCM test vector

    * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
    crypto: vmx - Use skcipher for xts fallback
    crypto: vmx - Use skcipher for cbc fallback
    crypto: testmgr - Pad aes_ccm_enc_tv_template vector
    crypto: arm/crc32 - add build time test for CRC instruction support
    crypto: arm/crc32 - fix build error with outdated binutils
    crypto: ccm - move cbcmac input off the stack
    crypto: xts - Propagate NEED_FALLBACK bit
    crypto: api - Add crypto_requires_off helper
    crypto: atmel - CRYPTO_DEV_MEDIATEK should depend on HAS_DMA
    crypto: atmel - CRYPTO_DEV_ATMEL_TDES and CRYPTO_DEV_ATMEL_SHA should depend on HAS_DMA
    crypto: cavium - fix leak on curr if curr->head fails to be allocated
    crypto: cavium - Fix couple of static checker errors

    Linus Torvalds
     

04 Mar, 2017

11 commits

  • Pull misc final vfs updates from Al Viro:
    "A few unrelated patches that got beating in -next.

    Everything else will have to go into the next window ;-/"

    * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
    hfs: fix hfs_readdir()
    selftest for default_file_splice_read() infoleak
    9p: constify ->d_name handling

    Linus Torvalds
     
  • Pull more SCSI updates from James Bottomley:
    "This is the set of stuff that didn't quite make the initial pull and a
    set of fixes for stuff which did.

    The new stuff is basically lpfc (nvme), qedi and aacraid. The fixes
    cover a lot of previously submitted stuff, the most important of which
    probably covers some of the failing irq vectors allocation and other
    fallout from having the SCSI command allocated as part of the block
    allocation functions"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (59 commits)
    scsi: qedi: Fix memory leak in tmf response processing.
    scsi: aacraid: remove redundant zero check on ret
    scsi: lpfc: use proper format string for dma_addr_t
    scsi: lpfc: use div_u64 for 64-bit division
    scsi: mac_scsi: Fix MAC_SCSI=m option when SCSI=m
    scsi: cciss: correct check map error.
    scsi: qla2xxx: fix spelling mistake: "seperator" -> "separator"
    scsi: aacraid: Fixed expander hotplug for SMART family
    scsi: mpt3sas: switch to pci_alloc_irq_vectors
    scsi: qedf: fixup compilation warning about atomic_t usage
    scsi: remove scsi_execute_req_flags
    scsi: merge __scsi_execute into scsi_execute
    scsi: simplify scsi_execute_req_flags
    scsi: make the sense header argument to scsi_test_unit_ready mandatory
    scsi: sd: improve TUR handling in sd_check_events
    scsi: always zero sshdr in scsi_normalize_sense
    scsi: scsi_dh_emc: return success in clariion_std_inquiry()
    scsi: fix memory leak of sdpk on when gd fails to allocate
    scsi: sd: make sd_devt_release() static
    scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.
    ...

    Linus Torvalds
     
  • Fixes: 43a0c6751a32 ("strparser: Stream parser for messages")
    Cc: Tom Herbert
    Signed-off-by: Cong Wang
    Signed-off-by: David S. Miller

    WANG Cong
     
  • Pablo Neira Ayuso says:

    ====================
    Netfilter fixes for net

    The following patchset contains Netfilter fixes for your net tree,
    they are:

    1) Missing check for full sock in ip_route_me_harder(), from
    Florian Westphal.

    2) Incorrect sip helper structure initilization that breaks it when
    several ports are used, from Christophe Leroy.

    3) Fix incorrect assumption when looking up for matching with adjacent
    intervals in the nft_set_rbtree.

    4) Fix broken netlink event error reporting in nf_tables that results
    in misleading ESRCH errors propagated to userspace listeners.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Pull libnvdimm fixes from Dan Williams:
    "A fix and regression test case for nvdimm namespace label
    compatibility.

    Details:

    - An "nvdimm namespace label" is metadata on an nvdimm that
    provisions dimm capacity into a "namespace" that can host a block
    device / dax-filesytem, or a device-dax character device.

    A namespace is an object that other operating environment and
    platform firmware needs to comprehend for capabilities like booting
    from an nvdimm.

    The label metadata contains a checksum that Linux was not
    calculating correctly leading to other environments rejecting the
    Linux label.

    These have received a build success notification from the kbuild
    robot, and a positive test result from Nick who reported the problem"

    * 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
    nfit, libnvdimm: fix interleave set cookie calculation
    tools/testing/nvdimm: make iset cookie predictable

    Linus Torvalds
     
  • Pull PCI fixes from Bjorn Helgaas:

    - fix NULL pointer dereferences in many DesignWare-based drivers due to
    refactoring error

    - fix Altera config write breakage due to my refactoring error

    * tag 'pci-v4.11-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
    PCI: altera: Fix TLP_CFG_DW0 for TLP write
    PCI: dwc: Fix crashes seen due to missing assignments

    Linus Torvalds
     
  • Pull parisc fixes and cleanups from Helge Deller:
    "Nothing really important in this patchset: fix resource leaks in error
    paths, coding style cleanups and code removal"

    * 'parisc-4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
    parisc: Remove flush_user_dcache_range and flush_user_icache_range
    parisc: fix a printk
    parisc: ccio-dma: Handle return NULL error from ioremap_nocache
    parisc: Define access_ok() as macro
    parisc: eisa: Fix resource leaks in error paths
    parisc: eisa: Remove coding style errors

    Linus Torvalds
     
  • Pull Xtensa updates from Max Filippov:

    - clean up bootable image build targets: provide separate 'Image',
    'zImage' and 'uImage' make targets that only build corresponding
    image type. Make 'all' build all images appropriate for a platform

    - allow merging vectors code into .text section as a preparation step
    for XIP support

    - fix handling external FDT when the kernel is built without
    BLK_DEV_INITRD support

    * tag 'xtensa-20170303' of git://github.com/jcmvbkbc/linux-xtensa:
    xtensa: allow merging vectors into .text section
    xtensa: clean up bootable image build targets
    xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD

    Linus Torvalds
     
  • Pull ARM SoC late DT updates from Arnd Bergmann:
    "These updates have been kept in a separate branch mostly because they
    rely on updates to the respective clk drivers to keep the shared
    header files in sync.

    This includes two branches for arm64 dt updates, both following up on
    earlier changes for the same platforms that are already merged:

    Samsung:
    - add USB3 support in Exynos7
    - minor PM related updates

    Amlogic:
    - new machines: WeTek Set-top-boxes
    - various devices added to DT

    There are also a couple of bugfixes that trickled in since the start
    of the merge window:

    - The moxart_defconfig was not building the intended platform
    - CPU-hotplug was broken on ux500
    - Coresight was broken on Juno (never worked)"

    * tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (26 commits)
    ARM: deconfig: fix the moxart defconfig
    ARM: ux500: resume the second core properly
    arm64: dts: juno: update definition for programmable replicator
    arm64: dts: exynos: Add regulators for Vbus and Vbus-Boost
    arm64: dts: exynos: Add USB 3.0 controller node for Exynos7
    arm64: dts: exynos: Use macros for pinctrl configuration on Exynos7
    pinctrl: dt-bindings: samsung: Add Exynos7 specific pinctrl macro definitions
    arm64: dts: exynos: Add initial configuration for DISP clocks for TM2/TM2e
    ARM64: dts: meson-gxbb-p200: add ADC laddered keys
    ARM64: dts: meson: meson-gx: add the SAR ADC
    ARM64: dts: meson-gxl: add the pwm_ao_b pin
    ARM64: dts: meson-gx: add the missing pwm_AO_ab node
    clk: gxbb: fix CLKID_ETH defined twice
    ARM64: dts: meson-gxl: rename Nexbox A95x for consistency
    clk: gxbb: add the SAR ADC clocks and expose them
    dt-bindings: amlogic: Add WeTek boards
    ARM64: dts: meson-gxbb: Add support for WeTek Hub and Play
    dt-bindings: vendor-prefix: Add wetek vendor prefix
    ARM64: dts: meson-gxm: Rename q200 and q201 DT files for consistency
    ARM64: dts: meson-gx: Add HDMI HPD/DDC pinctrl nodes
    ...

    Linus Torvalds
     
  • Pull SMB3 fixes from Steve French:
    "Some small bug fixes as well as SMB2.1/SMB3 enablement for DFS (global
    namespace) which previously was only enabled for CIFS"

    * 'for-next' of git://git.samba.org/sfrench/cifs-2.6:
    smb2: Enforce sec= mount option
    CIFS: Fix sparse warnings
    CIFS: implement get_dfs_refer for SMB2+
    CIFS: use DFS pathnames in SMB2+ Create requests
    CIFS: set signing flag in SMB2+ TreeConnect if needed
    CIFS: let ses->ipc_tid hold smb2 TreeIds
    CIFS: add use_ipc flag to SMB2_ioctl()
    CIFS: add build_path_from_dentry_optional_prefix()
    CIFS: move DFS response parsing out of SMB1 code
    CIFS: Fix possible use after free in demultiplex thread

    Linus Torvalds
     
  • With Sphinx 1.5.3 I get the warning:

    WARNING: primary_domain 'C' not found, ignored.

    It seems that domain names in Sphinx are case-sensitive and for the C
    domain the name must be lower case.

    Signed-off-by: John Keeping
    Signed-off-by: Jonathan Corbet

    John Keeping