26 Jan, 2017

2 commits

  • commit fff5d99225107f5f13fe4a9805adc2a1c4b5fb00 upstream.

    On architectures like arm64, swiotlb is tied intimately to the core
    architecture DMA support. In addition, ZONE_DMA cannot be disabled.

    To aid debugging and catch devices not supporting DMA to memory outside
    the 32-bit address space, add a kernel command line option
    "swiotlb=noforce", which disables the use of bounce buffers.
    If specified, trying to map memory that cannot be used with DMA will
    fail, and a rate-limited warning will be printed.

    Note that io_tlb_nslabs is set to 1, which is the minimal supported
    value.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Konrad Rzeszutek Wilk
    Signed-off-by: Greg Kroah-Hartman

    Geert Uytterhoeven
     
  • commit 2e575cbc930901718cc18e084566ecbb9a4b5ebb upstream.

    The type of AVIC interrupt controller found on i.MX31 is one-cell,
    namely 31 for CCM DVFS and 53 for CCM, however for clock control
    module its interrupts are specified as 3-cells, fix it.

    Fixes: ef0e4a606fb6 ("ARM: mx31: Replace clk_register_clkdev with clock DT lookup")
    Acked-by: Rob Herring
    Signed-off-by: Vladimir Zapolskiy
    Signed-off-by: Shawn Guo
    Signed-off-by: Greg Kroah-Hartman

    Vladimir Zapolskiy
     

20 Jan, 2017

1 commit

  • commit d8ca5bd158f738c4fa6974ee388c381f64db7905 upstream.

    The BUCK regulators 3, 4, and 5 also have a 10mV step mode,
    adjust the tables and logic to reflect the data-sheet for
    these regulators.

    fixes: d2a2e729a666 ("regulator: tps65086: Add regulator driver for the TPS65086 PMIC")
    Signed-off-by: Andrew F. Davis
    Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Andrew F. Davis
     

12 Jan, 2017

1 commit

  • commit e2a91f4f42018994d7424d405900d17eba6555d0 upstream.

    PDF build on Kernel 4.9-rc? returns an error with Sphinx 1.3.x
    and Sphinx 1.4.x, when trying to solve some cross-references.

    The solution is to redefine the \DURole macro.

    However, this is redefined too late. Move such redefinition to
    LaTeX preamble and bind it to just the Sphinx versions where the
    error is known to be present.

    Tested by building the documentation on interactive mode:
    make PDFLATEX=xelatex -C Documentation/output/./latex

    Fixes: e61a39baf74d ("[media] index.rst: Fix LaTeX error in interactive mode on Sphinx 1.4.x")
    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet
    Signed-off-by: Greg Kroah-Hartman

    Mauro Carvalho Chehab
     

09 Jan, 2017

2 commits

  • commit 0d808df06a44200f52262b6eb72bcb6042f5a7c5 upstream.

    When switching from/to a guest that has a transaction in progress,
    we need to save/restore the checkpointed register state. Although
    XER is part of the CPU state that gets checkpointed, the code that
    does this saving and restoring doesn't save/restore XER.

    This fixes it by saving and restoring the XER. To allow userspace
    to read/write the checkpointed XER value, we also add a new ONE_REG
    specifier.

    The visible effect of this bug is that the guest may see its XER
    value being corrupted when it uses transactions.

    Fixes: e4e38121507a ("KVM: PPC: Book3S HV: Add transactional memory support")
    Fixes: 0a8eccefcb34 ("KVM: PPC: Book3S HV: Add missing code for transaction reclaim on guest exit")
    Signed-off-by: Paul Mackerras
    Reviewed-by: Thomas Huth
    Signed-off-by: Paul Mackerras
    Signed-off-by: Greg Kroah-Hartman

    Paul Mackerras
     
  • commit 217e2bfab22e740227df09f22165e834cddd8a3b upstream.

    In docutils 0.13, the return type of get_column_widths method of the
    Table directive has changed [1], which breaks our flat-table directive
    and leads to a TypeError when trying to build the docs [2].

    This patch adds support for the new return type, while keeping support
    for older docutils versions too.

    [1] https://sourceforge.net/p/docutils/patches/120/
    [2] https://sourceforge.net/p/docutils/bugs/303/

    Signed-off-by: Dmitry Shachnev
    Signed-off-by: Jonathan Corbet
    Signed-off-by: Greg Kroah-Hartman

    Dmitry Shachnev
     

02 Dec, 2016

1 commit

  • Pablo Neira Ayuso says:

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

    This is a large batch of Netfilter fixes for net, they are:

    1) Three patches to fix NAT conversion to rhashtable: Switch to rhlist
    structure that allows to have several objects with the same key.
    Moreover, fix wrong comparison logic in nf_nat_bysource_cmp() as this is
    expecting a return value similar to memcmp(). Change location of
    the nat_bysource field in the nf_conn structure to avoid zeroing
    this as it breaks interaction with SLAB_DESTROY_BY_RCU and lead us
    to crashes. From Florian Westphal.

    2) Don't allow malformed fragments go through in IPv6, drop them,
    otherwise we hit GPF, patch from Florian Westphal.

    3) Fix crash if attributes are missing in nft_range, from Liping Zhang.

    4) Fix arptables 32-bits userspace 64-bits kernel compat, from Hongxu Jia.

    5) Two patches from David Ahern to fix netfilter interaction with vrf.
    From David Ahern.

    6) Fix element timeout calculation in nf_tables, we take milliseconds
    from userspace, but we use jiffies from kernelspace. Patch from
    Anders K. Pedersen.

    7) Missing validation length netlink attribute for nft_hash, from
    Laura Garcia.

    8) Fix nf_conntrack_helper documentation, we don't default to off
    anymore for a bit of time so let's get this in sync with the code.

    I know is late but I think these are important, specifically the NAT
    bits, as they are mostly addressing fallout from recent changes. I also
    read there are chances to have -rc8, if that is the case, that would
    also give us a bit more time to test this.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     

29 Nov, 2016

1 commit

  • RGMII requires special RX and/or TX delays depending on the actual
    hardware circuit/wiring. These delays can be added by the MAC, the PHY
    or the designer of the circuit (the latter means that no delay has to
    be added by PHY or MAC).
    There are 4 RGMII phy-modes used describe where a delay should be
    applied:
    - rgmii: the RX and TX delays are either added by the MAC (where the
    exact delay is typically configurable, and can be turned off when no
    extra delay is needed) or not needed at all (because the hardware
    wiring adds the delay already). The PHY should neither add the RX nor
    TX delay in this case.
    - rgmii-rxid: configures the PHY to enable the RX delay. The MAC should
    not add the RX delay in this case.
    - rgmii-txid: configures the PHY to enable the TX delay. The MAC should
    not add the TX delay in this case.
    - rgmii-id: combines rgmii-rxid and rgmii-txid and thus configures the
    PHY to enable the RX and TX delays. The MAC should neither add the RX
    nor TX delay in this case.

    Document these cases in the ethernet.txt documentation to make it clear
    when to use each mode.
    If applied incorrectly one might end up with MAC and PHY both enabling
    for example the TX delay, which breaks ethernet TX traffic on 1000Mbit/s
    links.

    Signed-off-by: Martin Blumenstingl
    Reviewed-by: Florian Fainelli
    Signed-off-by: David S. Miller

    Martin Blumenstingl
     

24 Nov, 2016

1 commit


20 Nov, 2016

4 commits

  • Pull ARM SoC fixes from Olof Johansson:
    "Again a set of smaller fixes across several platforms (OMAP, Marvell,
    Allwinner, i.MX, etc).

    A handful of typo fixes and smaller missing contents from device
    trees, with some tweaks to OMAP mach files to deal with CPU feature
    print misformatting, potential NULL ptr dereference and one setup
    issue with UARTs"

    * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ipmi/bt-bmc: change compatible node to 'aspeed, ast2400-ibt-bmc'
    ARM: dts: STiH410-b2260: Fix typo in spi0 chipselect definition
    ARM: dts: omap5: board-common: fix wrong SMPS6 (VDD-DDR3) voltage
    ARM: omap3: Add missing memory node in SOM-LV
    arm64: dts: marvell: add unique identifiers for Armada A8k SPI controllers
    arm64: dts: marvell: fix clocksource for CP110 slave SPI0
    arm64: dts: marvell: Fix typo in label name on Armada 37xx
    ASoC: omap-abe-twl6040: fix typo in bindings documentation
    dts: omap5: board-common: enable twl6040 headset jack detection
    dts: omap5: board-common: add phandle to reference Palmas gpadc
    ARM: OMAP2+: avoid NULL pointer dereference
    ARM: OMAP2+: PRM: initialize en_uart4_mask and grpsel_uart4_mask
    ARM: dts: omap3: Fix memory node in Torpedo board
    ARM: AM43XX: Select OMAP_INTERCONNECT in Kconfig
    ARM: OMAP3: Fix formatting of features printed
    ARM: dts: imx53-qsb: Fix regulator constraints
    ARM: dts: sun8i: fix the pinmux for UART1

    Linus Torvalds
     
  • Pull i2c fixes from Wolfram Sang:
    "Some I2C driver bugfixes (and one documentation fix)"

    * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
    i2c: i2c-mux-pca954x: fix deselect enabling for device-tree
    i2c: digicolor: use clk_disable_unprepare instead of clk_unprepare
    i2c: mux: fix up dependencies
    i2c: Documentation: i2c-topology: fix minor whitespace nit
    i2c: mux: demux-pinctrl: make drivers with no pinctrl work again

    Linus Torvalds
     
  • Pull KVM fixes from Radim Krčmář:
    "ARM:
    - Fix handling of the 32bit cycle counter
    - Fix cycle counter filtering

    x86:
    - Fix a race leading to double unregistering of user notifiers
    - Amend oversight in kvm_arch_set_irq that turned Hyper-V code dead
    - Use SRCU around kvm_lapic_set_vapic_addr
    - Avoid recursive flushing of asynchronous page faults
    - Do not rely on deferred update in KVM_GET_CLOCK, which fixes #GP
    - Let userspace know that KVM_GET_CLOCK is useful with master clock;
    4.9 changed the return value to better match the guest clock, but
    didn't provide means to let guests take advantage of it"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
    kvm: x86: merge kvm_arch_set_irq and kvm_arch_set_irq_inatomic
    KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr
    KVM: async_pf: avoid recursive flushing of work items
    kvm: kvmclock: let KVM_GET_CLOCK return whether the master clock is in use
    KVM: Disable irq while unregistering user notifier
    KVM: x86: do not go through vcpu in __get_kvmclock_ns
    KVM: arm64: Fix the issues when guest PMCCFILTR is configured
    arm64: KVM: pmu: Fix AArch32 cycle counter access

    Linus Torvalds
     
  • Userspace can read the exact value of kvmclock by reading the TSC
    and fetching the timekeeping parameters out of guest memory. This
    however is brittle and not necessary anymore with KVM 4.11. Provide
    a mechanism that lets userspace know if the new KVM_GET_CLOCK
    semantics are in effect, and---since we are at it---if the clock
    is stable across all VCPUs.

    Cc: Radim Krčmář
    Cc: Marcelo Tosatti
    Signed-off-by: Paolo Bonzini
    Signed-off-by: Radim Krčmář

    Paolo Bonzini
     

18 Nov, 2016

2 commits

  • …ux/kernel/git/tmlind/linux-omap into fixes

    Fixes for omaps for v4.9-rc cycle. Except for the omap3 fix for the SoC
    features printed, all these are quite trivial and tiny. The omap5 jack
    detection and gpadc patches are not strictly fixes, but I wanted to get
    binding document typo fixed before it pops up on other boards. The
    gpadc one liner was in the same series and I applied and pushed it out
    already before noticing it could have waited. The list of changes is:

    - Fix omap3 SoC features printed
    - Make sure OMAP_INTERCONNECT is selected for am43xx only configurations
    - Add missing memory node for torpedo
    - Initialize uart4_mask properly to avoid writing garbage to PRM registers
    - Fix NULL pointer dereference for omap4 volt_data
    - Add alias for omap5 gpadc needed by iio drivers
    - Enable omap5 jack headset jack detection and fix it's binding typo
    - Add missing memory node for logicpd-som-lv
    - Fix wrong SMPS6 voltage for VDD-DDR3 for omap5

    * tag 'omap-for-v4.9/fixes-for-rc-cycle' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    ARM: dts: omap5: board-common: fix wrong SMPS6 (VDD-DDR3) voltage
    ARM: omap3: Add missing memory node in SOM-LV
    ASoC: omap-abe-twl6040: fix typo in bindings documentation
    dts: omap5: board-common: enable twl6040 headset jack detection
    dts: omap5: board-common: add phandle to reference Palmas gpadc
    ARM: OMAP2+: avoid NULL pointer dereference
    ARM: OMAP2+: PRM: initialize en_uart4_mask and grpsel_uart4_mask
    ARM: dts: omap3: Fix memory node in Torpedo board
    ARM: AM43XX: Select OMAP_INTERCONNECT in Kconfig
    ARM: OMAP3: Fix formatting of features printed

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     
  • The Aspeed SoCs have two BT interfaces : one is IPMI compliant and the
    other is H8S/2168 compliant.

    The current ipmi/bt-bmc driver implements the IPMI version and we
    should reflect its nature in the compatible node name using
    'aspeed,ast2400-ibt-bmc' instead of 'aspeed,ast2400-bt-bmc'. The
    latter should be used for a H8S interface driver if it is implemented
    one day.

    Signed-off-by: Cédric Le Goater
    Signed-off-by: Olof Johansson

    Cédric Le Goater
     

15 Nov, 2016

1 commit

  • Pull networking fixes from David Miller:

    1) Fix off by one wrt. indexing when dumping /proc/net/route entries,
    from Alexander Duyck.

    2) Fix lockdep splats in iwlwifi, from Johannes Berg.

    3) Cure panic when inserting certain netfilter rules when NFT_SET_HASH
    is disabled, from Liping Zhang.

    4) Memory leak when nft_expr_clone() fails, also from Liping Zhang.

    5) Disable UFO when path will apply IPSEC tranformations, from Jakub
    Sitnicki.

    6) Don't bogusly double cwnd in dctcp module, from Florian Westphal.

    7) skb_checksum_help() should never actually use the value "0" for the
    resulting checksum, that has a special meaning, use CSUM_MANGLED_0
    instead. From Eric Dumazet.

    8) Per-tx/rx queue statistic strings are wrong in qed driver, fix from
    Yuval MIntz.

    9) Fix SCTP reference counting of associations and transports in
    sctp_diag. From Xin Long.

    10) When we hit ip6tunnel_xmit() we could have come from an ipv4 path in
    a previous layer or similar, so explicitly clear the ipv6 control
    block in the skb. From Eli Cooper.

    11) Fix bogus sleeping inside of inet_wait_for_connect(), from WANG
    Cong.

    12) Correct deivce ID of T6 adapter in cxgb4 driver, from Hariprasad
    Shenai.

    13) Fix potential access past the end of the skb page frag array in
    tcp_sendmsg(). From Eric Dumazet.

    14) 'skb' can legitimately be NULL in inet{,6}_exact_dif_match(). Fix
    from David Ahern.

    15) Don't return an error in tcp_sendmsg() if we wronte any bytes
    successfully, from Eric Dumazet.

    16) Extraneous unlocks in netlink_diag_dump(), we removed the locking
    but forgot to purge these unlock calls. From Eric Dumazet.

    17) Fix memory leak in error path of __genl_register_family(). We leak
    the attrbuf, from WANG Cong.

    18) cgroupstats netlink policy table is mis-sized, from WANG Cong.

    19) Several XDP bug fixes in mlx5, from Saeed Mahameed.

    20) Fix several device refcount leaks in network drivers, from Johan
    Hovold.

    21) icmp6_send() should use skb dst device not skb->dev to determine L3
    routing domain. From David Ahern.

    22) ip_vs_genl_family sets maxattr incorrectly, from WANG Cong.

    23) We leak new macvlan port in some cases of maclan_common_netlink()
    errors. Fix from Gao Feng.

    24) Similar to the icmp6_send() fix, icmp_route_lookup() should
    determine L3 routing domain using skb_dst(skb)->dev not skb->dev.
    Also from David Ahern.

    25) Several fixes for route offloading and FIB notification handling in
    mlxsw driver, from Jiri Pirko.

    26) Properly cap __skb_flow_dissect()'s return value, from Eric Dumazet.

    27) Fix long standing regression in ipv4 redirect handling, wrt.
    validating the new neighbour's reachability. From Stephen Suryaputra
    Lin.

    28) If sk_filter() trims the packet excessively, handle it reasonably in
    tcp input instead of exploding. From Eric Dumazet.

    29) Fix handling of napi hash state when copying channels in sfc driver,
    from Bert Kenward.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (121 commits)
    mlxsw: spectrum_router: Flush FIB tables during fini
    net: stmmac: Fix lack of link transition for fixed PHYs
    sctp: change sk state only when it has assocs in sctp_shutdown
    bnx2: Wait for in-flight DMA to complete at probe stage
    Revert "bnx2: Reset device during driver initialization"
    ps3_gelic: fix spelling mistake in debug message
    net: ethernet: ixp4xx_eth: fix spelling mistake in debug message
    ibmvnic: Fix size of debugfs name buffer
    ibmvnic: Unmap ibmvnic_statistics structure
    sfc: clear napi_hash state when copying channels
    mlxsw: spectrum_router: Correctly dump neighbour activity
    mlxsw: spectrum: Fix refcount bug on span entries
    bnxt_en: Fix VF virtual link state.
    bnxt_en: Fix ring arithmetic in bnxt_setup_tc().
    Revert "include/uapi/linux/atm_zatm.h: include linux/time.h"
    tcp: take care of truncations done by sk_filter()
    ipv4: use new_gw for redirect neigh lookup
    r8152: Fix error path in open function
    net: bpqether.h: remove if_ether.h guard
    net: __skb_flow_dissect() must cap its return value
    ...

    Linus Torvalds
     

12 Nov, 2016

5 commits

  • …linux-platform-drivers-x86

    Pull x86 platform driver fixes from Darren Hart:
    "Minor doc fix, a DMI match for ideapad and a fix to toshiba-wmi to
    avoid loading on non-toshiba systems.

    Documentation/ABI:
    - ibm_rtl: The "What:" fields are incomplete

    toshiba-wmi:
    - Fix loading the driver on non Toshiba laptops

    ideapad-laptop:
    - Add another DMI entry for Yoga 900"

    * tag 'platform-drivers-x86-v4.9-3' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86:
    Documentation/ABI: ibm_rtl: The "What:" fields are incomplete
    toshiba-wmi: Fix loading the driver on non Toshiba laptops
    ideapad-laptop: Add another DMI entry for Yoga 900

    Linus Torvalds
     
  • Pull PCI fixes from Bjorn Helgaas:

    - Update MAINTAINERS for Intel VMD driver filename

    - Update Rockchip rk3399 host bridge driver DTS and resets

    - Fix ROM shadow problem that made some video device initialization
    fail

    * tag 'pci-v4.9-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
    PCI: VMD: Update filename to reflect move
    arm64: dts: rockchip: add three new resets for rk3399 PCIe controller
    PCI: rockchip: Add three new resets as required properties
    PCI: Don't attempt to claim shadow copies of ROM

    Linus Torvalds
     
  • Pull MMC fixes from Ulf Hansson:
    "MMC core:
    - Fix mmc card initialization for hosts not supporting HW busy
    detection
    - Fix mmc_test for sending commands during non-blocking write

    MMC host:
    - mxs: Avoid using an uninitialized
    - sdhci: Restore enhanced strobe setting during runtime resume
    - sdhci: Fix a couple of reset related issues
    - dw_mmc: Fix a reset controller issue"

    * tag 'mmc-v4.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
    mmc: mxs: Initialize the spinlock prior to using it
    mmc: mmc: Use 500ms as the default generic CMD6 timeout
    mmc: mmc_test: Fix "Commands during non-blocking write" tests
    mmc: sdhci: Fix missing enhanced strobe setting during runtime resume
    mmc: sdhci: Reset cmd and data circuits after tuning failure
    mmc: sdhci: Fix unexpected data interrupt handling
    mmc: sdhci: Fix CMD line reset interfering with ongoing data transfer
    mmc: dw_mmc: add the "reset" as name of reset controller
    Documentation: synopsys-dw-mshc: add binding for reset-names

    Linus Torvalds
     
  • Pull pin control fixes from Linus Walleij:
    "All is about drivers, no core business going on.

    - Fix a host of runtime problems with the Intel Cherryview driver:
    suspend/resume needs to be marshalled properly, and strange effects
    from BIOS interaction during suspend/resume need to be dealt with.

    - A single bit was being set wrong in the Aspeed driver.

    - Fix an iProc probe ordering fallout resulting from v4.9
    refactorings for bus population.

    - Do not specify a default trigger in the ST Micro cascaded GPIO IRQ
    controller: the kernel will moan.

    - Make IRQs optional altogether on the STM32 driver, it turns out not
    all systems have them or want them.

    - Fix a re-probe bug in the i.MX driver, it will eventually crash if
    probed repeatedly, not good"

    * tag 'pinctrl-v4.9-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
    pinctrl-aspeed-g5: Never set SCU90[6]
    pinctrl: cherryview: Prevent possible interrupt storm on resume
    pinctrl: cherryview: Serialize register access in suspend/resume
    pinctrl: imx: reset group index on probe
    pinctrl: stm32: move gpio irqs binding to optional
    pinctrl: stm32: remove dependency with interrupt controller
    pinctrl: st: don't specify default interrupt trigger
    pinctrl: iproc: Fix iProc and NSP GPIO support

    Linus Torvalds
     
  • Pull VFS fixes from Al Viro:
    "Christoph's and Jan's aio fixes, fixup for generic_file_splice_read
    (removal of pointless detritus that actually breaks it when used for
    gfs2 ->splice_read()) and fixup for generic_file_read_iter()
    interaction with ITER_PIPE destinations."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
    splice: remove detritus from generic_file_splice_read()
    mm/filemap: don't allow partially uptodate page for pipes
    aio: fix freeze protection of aio writes
    fs: remove aio_run_iocb
    fs: remove the never implemented aio_fsync file operation
    aio: hold an extra file reference over AIO read/write operations

    Linus Torvalds
     

11 Nov, 2016

2 commits


08 Nov, 2016

2 commits


07 Nov, 2016

1 commit


05 Nov, 2016

1 commit

  • Pull KVM updates from Paolo Bonzini:
    "One NULL pointer dereference, and two fixes for regressions introduced
    during the merge window.

    The rest are fixes for MIPS, s390 and nested VMX"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
    kvm: x86: Check memopp before dereference (CVE-2016-8630)
    kvm: nVMX: VMCLEAR an active shadow VMCS after last use
    KVM: x86: drop TSC offsetting kvm_x86_ops to fix KVM_GET/SET_CLOCK
    KVM: x86: fix wbinvd_dirty_mask use-after-free
    kvm/x86: Show WRMSR data is in hex
    kvm: nVMX: Fix kernel panics induced by illegal INVEPT/INVVPID types
    KVM: document lock orders
    KVM: fix OOPS on flush_work
    KVM: s390: Fix STHYI buffer alignment for diag224
    KVM: MIPS: Precalculate MMIO load resume PC
    KVM: MIPS: Make ERET handle ERL before EXL
    KVM: MIPS: Fix lazy user ASID regenerate for SMP

    Linus Torvalds
     

02 Nov, 2016

1 commit


01 Nov, 2016

1 commit


31 Oct, 2016

1 commit


30 Oct, 2016

5 commits

  • Pull networking fixes from David Miller:
    "Lots of fixes, mostly drivers as is usually the case.

    1) Don't treat zero DMA address as invalid in vmxnet3, from Alexey
    Khoroshilov.

    2) Fix element timeouts in netfilter's nft_dynset, from Anders K.
    Pedersen.

    3) Don't put aead_req crypto struct on the stack in mac80211, from
    Ard Biesheuvel.

    4) Several uninitialized variable warning fixes from Arnd Bergmann.

    5) Fix memory leak in cxgb4, from Colin Ian King.

    6) Fix bpf handling of VLAN header push/pop, from Daniel Borkmann.

    7) Several VRF semantic fixes from David Ahern.

    8) Set skb->protocol properly in ip6_tnl_xmit(), from Eli Cooper.

    9) Socket needs to be locked in udp_disconnect(), from Eric Dumazet.

    10) Div-by-zero on 32-bit fix in mlx4 driver, from Eugenia Emantayev.

    11) Fix stale link state during failover in NCSCI driver, from Gavin
    Shan.

    12) Fix netdev lower adjacency list traversal, from Ido Schimmel.

    13) Propvide proper handle when emitting notifications of filter
    deletes, from Jamal Hadi Salim.

    14) Memory leaks and big-endian issues in rtl8xxxu, from Jes Sorensen.

    15) Fix DESYNC_FACTOR handling in ipv6, from Jiri Bohac.

    16) Several routing offload fixes in mlxsw driver, from Jiri Pirko.

    17) Fix broadcast sync problem in TIPC, from Jon Paul Maloy.

    18) Validate chunk len before using it in SCTP, from Marcelo Ricardo
    Leitner.

    19) Revert a netns locking change that causes regressions, from Paul
    Moore.

    20) Add recursion limit to GRO handling, from Sabrina Dubroca.

    21) GFP_KERNEL in irq context fix in ibmvnic, from Thomas Falcon.

    22) Avoid accessing stale vxlan/geneve socket in data path, from
    Pravin Shelar"

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (189 commits)
    geneve: avoid using stale geneve socket.
    vxlan: avoid using stale vxlan socket.
    qede: Fix out-of-bound fastpath memory access
    net: phy: dp83848: add dp83822 PHY support
    enic: fix rq disable
    tipc: fix broadcast link synchronization problem
    ibmvnic: Fix missing brackets in init_sub_crq_irqs
    ibmvnic: Fix releasing of sub-CRQ IRQs in interrupt context
    Revert "ibmvnic: Fix releasing of sub-CRQ IRQs in interrupt context"
    arch/powerpc: Update parameters for csum_tcpudp_magic & csum_tcpudp_nofold
    net/mlx4_en: Save slave ethtool stats command
    net/mlx4_en: Fix potential deadlock in port statistics flow
    net/mlx4: Fix firmware command timeout during interrupt test
    net/mlx4_core: Do not access comm channel if it has not yet been initialized
    net/mlx4_en: Fix panic during reboot
    net/mlx4_en: Process all completions in RX rings after port goes up
    net/mlx4_en: Resolve dividing by zero in 32-bit system
    net/mlx4_core: Change the default value of enable_qos
    net/mlx4_core: Avoid setting ports to auto when only one port type is supported
    net/mlx4_core: Fix the resource-type enum in res tracker to conform to FW spec
    ...

    Linus Torvalds
     
  • The MAC is capable of RGMII mode and that is probably a more typical
    connection type than GMII today (eg it is used by Marvell Reference
    designs for several SOCs). Let DT users specify the standard

    phy-connection-type = "rgmii-id";

    On a phy node.

    Signed-off-by: Jason Gunthorpe
    Reviewed-by: Florian Fainelli
    Signed-off-by: David S. Miller

    Jason Gunthorpe
     
  • Pull ARM SoC fixes from Olof Johansson:
    "We haven't seen a whole lot of fixes for the first two weeks since the
    merge window, but here is the batch that we have at the moment.

    Nothing sticks out as particularly bad or scary, it's mostly a handful
    of smaller fixes to several platforms. The Uniphier reset controller
    changes could probably have been delayed to 4.10, but they're not
    scary and just plumbing up driver changes that went in during the
    merge window.

    We're also adding another maintainer to Marvell Berlin platforms, to
    help out when Sebastian is too busy. Yay teamwork!"

    * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: imx: mach-imx6q: Fix the PHY ID mask for AR8031
    ARM: dts: vf610: fix IRQ flag of global timer
    ARM: imx: gpc: Fix the imx_gpc_genpd_init() error path
    ARM: imx: gpc: Initialize all power domains
    arm64: dts: Updated NAND DT properties for NS2 SVK
    arm64: dts: uniphier: change MIO node to SD control node
    ARM: dts: uniphier: change MIO node to SD control node
    reset: uniphier: rename MIO reset to SD reset for Pro5, PXs2, LD20 SoCs
    arm64: uniphier: select ARCH_HAS_RESET_CONTROLLER
    ARM: uniphier: select ARCH_HAS_RESET_CONTROLLER
    arm64: dts: Add timer erratum property for LS2080A and LS1043A
    arm64: dts: rockchip: remove the abuse of keep-power-in-suspend
    ARM: multi_v7_defconfig: Enable Intel e1000e driver
    MAINTAINERS: add myself as Marvell berlin SoC maintainer
    bus: qcom-ebi2: depend on ARCH_QCOM or COMPILE_TEST
    ARM: dts: fix the SD card on the Snowball
    arm64: dts: rockchip: remove always-on and boot-on from vcc_sd
    arm64: dts: marvell: fix clocksource for CP110 master SPI0
    ARM: mvebu: Select corediv clk for all mvebu v7 SoC

    Linus Torvalds
     
  • Pull tty/serial driver fixes from Greg KH:
    "Here are a number of small tty and serial driver fixes for reported
    issues for 4.9-rc3. Nothing major, but they do resolve a bunch of
    problems with the tty core changes that are in 4.9-rc1, and finally
    the atmel serial driver is back working properly.

    All have been in linux-next with no reported issues"

    * tag 'tty-4.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
    tty: serial_core: fix NULL struct tty pointer access in uart_write_wakeup
    tty: serial_core: Fix serial console crash on port shutdown
    tty/serial: at91: fix hardware handshake on Atmel platforms
    vt: clear selection before resizing
    sc16is7xx: always write state when configuring GPIO as an output
    sh-sci: document R8A7743/5 support
    tty: serial: 8250: 8250_core: NXP SC16C2552 workaround
    tty: limit terminal size to 4M chars
    tty: serial: fsl_lpuart: Fix Tx DMA edge case
    serial: 8250_lpss: enable MSI for sure
    serial: core: fix console problems on uart_close
    serial: 8250_uniphier: fix clearing divisor latch access bit
    serial: 8250_uniphier: fix more unterminated string
    serial: pch_uart: add terminate entry for dmi_system_id tables
    devicetree: bindings: uart: Add new compatible string for ZynqMP
    serial: xuartps: Add new compatible string for ZynqMP
    serial: SERIAL_STM32 should depend on HAS_DMA
    serial: stm32: Fix comparisons with undefined register
    tty: vt, fix bogus division in csi_J

    Linus Torvalds
     
  • Pull USB fixes from Greg KH:
    "Here are a number of small USB driver fixes for 4.9-rc3.

    There is the usual number of gadget and xhci patches in here to
    resolved reported issues, as well as some usb-serial driver fixes and
    new device ids.

    All have been in linux-next with no reported issues"

    * tag 'usb-4.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (26 commits)
    usb: chipidea: host: fix NULL ptr dereference during shutdown
    usb: renesas_usbhs: add wait after initialization for R-Car Gen3
    usb: increase ohci watchdog delay to 275 msec
    usb: musb: Call pm_runtime from musb_gadget_queue
    usb: musb: Fix hardirq-safe hardirq-unsafe lock order error
    usb: ehci-platform: increase EHCI_MAX_RSTS to 4
    usb: ohci-at91: Set RemoteWakeupConnected bit explicitly.
    USB: serial: fix potential NULL-dereference at probe
    xhci: use default USB_RESUME_TIMEOUT when resuming ports.
    xhci: workaround for hosts missing CAS bit
    xhci: add restart quirk for Intel Wildcatpoint PCH
    USB: serial: cp210x: fix tiocmget error handling
    wusb: fix error return code in wusb_prf()
    Revert "Documentation: devicetree: dwc2: Deprecate g-tx-fifo-size"
    Revert "usb: dwc2: gadget: fix TX FIFO size and address initialization"
    Revert "usb: dwc2: gadget: change variable name to more meaningful"
    USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7
    wusb: Stop using the stack for sg crypto scratch space
    usb: dwc3: Fix size used in dma_free_coherent()
    usb: gadget: f_fs: stop sleeping in ffs_func_eps_disable
    ...

    Linus Torvalds
     

29 Oct, 2016

1 commit

  • Pull device mapper fixes from Mike Snitzer:

    - a couple DM raid and DM mirror fixes

    - a couple .request_fn request-based DM NULL pointer fixes

    - a fix for a DM target reference count leak, on target load error,
    that prevented associated DM target kernel module(s) from being
    removed

    * tag 'dm-4.9-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
    dm table: fix missing dm_put_target_type() in dm_table_add_target()
    dm rq: clear kworker_task if kthread_run() returned an error
    dm: free io_barrier after blk_cleanup_queue call
    dm raid: fix activation of existing raid4/10 devices
    dm mirror: use all available legs on multiple failures
    dm mirror: fix read error on recovery after default leg failure
    dm raid: fix compat_features validation

    Linus Torvalds
     

27 Oct, 2016

3 commits


25 Oct, 2016

1 commit

  • Pull clk fixes from Stephen Boyd:
    "This is the first batch of clk driver fixes for this release.

    We have a handful of fixes for the uniphier clk driver that was
    introduced recently, as well as Kconfig option hiding, module
    autoloading markings, and a few fixes for clk_hw based registration
    patches that went in this merge window"

    * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
    clk: at91: Fix a return value in case of error
    clk: uniphier: rename MIO clock to SD clock for Pro5, PXs2, LD20 SoCs
    clk: uniphier: fix memory overrun bug
    clk: hi6220: use CLK_OF_DECLARE_DRIVER for sysctrl and mediactrl clock init
    clk: mvebu: armada-37xx-periph: Fix the clock gate flag
    clk: bcm2835: Clamp the PLL's requested rate to the hardware limits.
    clk: max77686: fix number of clocks setup for clk_hw based registration
    clk: mvebu: armada-37xx-periph: Fix the clock provider registration
    clk: core: add __init decoration for CLK_OF_DECLARE_DRIVER function
    clk: mediatek: Add hardware dependency
    clk: samsung: clk-exynos-audss: Fix module autoload
    clk: uniphier: fix type of variable passed to regmap_read()
    clk: uniphier: add system clock support for sLD3 SoC

    Linus Torvalds