08 Nov, 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

2 commits


25 Oct, 2016

2 commits

  • 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
     
  • Pull GPIO fixes from Linus Walleij:
    "Here is a set of GPIO fixes for the v4.9 kernel series:

    - Fix up off-by one and line offset validation, info leak to
    userspace, and reject invalid flags. Those are especially valuable
    hardening patches from Lars-Peter Clausen, all tagged for stable.

    - Fix module autoload for TS4800 and ATH79.

    - Correct the IRQ handler for MPC8xxx to use handle_level_irq() as it
    (a) reacts to edges not levels and (b) even implements .irq_ack().
    We were missing IRQs here.

    - Fix the error path for acpi_dev_gpio_irq_get()

    - Fix a memory leak in the MXS driver.

    - Fix an annoying typo in the STMPE driver.

    - Put a dependency on sysfs to the mockup driver"

    * tag 'gpio-v4.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
    gpio: mpc8xxx: Correct irq handler function
    gpio: ath79: Fix module autoload
    gpio: ts4800: Fix module autoload
    gpio: GPIO_GET_LINEEVENT_IOCTL: Reject invalid line and event flags
    gpio: GPIO_GET_LINEHANDLE_IOCTL: Reject invalid line flags
    gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix information leak
    gpio: GPIO_GET_LINEEVENT_IOCTL: Validate line offset
    gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix information leak
    gpio: GPIO_GET_LINEHANDLE_IOCTL: Validate line offset
    gpio: GPIO_GET_CHIPINFO_IOCTL: Fix information leak
    gpio: GPIO_GET_CHIPINFO_IOCTL: Fix line offset validation
    gpio / ACPI: fix returned error from acpi_dev_gpio_irq_get()
    gpio: mockup: add sysfs dependency
    gpio: stmpe: || vs && typo
    gpio: mxs: Unmap region obtained by of_iomap
    gpio/board.txt: point to gpiod_set_value

    Linus Torvalds
     

24 Oct, 2016

1 commit

  • Pull IPMI updates from Corey Minyard:
    "A small bug fix and a new driver for acting as an IPMI device.

    I was on vacation during the merge window (a long vacation) but this
    is a bug fix that should go in and a new driver that shouldn't hurt
    anything.

    This has been in linux-next for a month or so"

    * tag 'for-linus-4.9-2' of git://git.code.sf.net/p/openipmi/linux-ipmi:
    ipmi: fix crash on reading version from proc after unregisted bmc
    ipmi/bt-bmc: remove redundant return value check of platform_get_resource()
    ipmi/bt-bmc: add a dependency on ARCH_ASPEED
    ipmi: Fix ioremap error handling in bt-bmc
    ipmi: add an Aspeed BT IPMI BMC driver

    Linus Torvalds
     

23 Oct, 2016

2 commits

  • Pull timer updates from Thomas Gleixner:
    "This updates contains:

    - A revert which addresses a boot failure on ARM Sun5i platforms

    - A new clocksource driver, which has been delayed beyond rc1 due to
    an interrupt driver issue which was unearthed by this driver. The
    debugging of that issue and the discussion about the proper
    solution made this driver miss the merge window. There is no point
    in delaying it for a full cycle as it completes the basic mainline
    support for the new JCore platform and does not create any risk
    outside of that platform"

    * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"
    clocksource: Add J-Core timer/clocksource driver
    of: Add J-Core timer bindings

    Linus Torvalds
     
  • Pull vmap stack fixes from Ingo Molnar:
    "This is fallout from CONFIG_HAVE_ARCH_VMAP_STACK=y on x86: stack
    accesses that used to be just somewhat questionable are now totally
    buggy.

    These changes try to do it without breaking the ABI: the fields are
    left there, they are just reporting zero, or reporting narrower
    information (the maps file change)"

    * 'mm-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    mm: Change vm_is_stack_for_task() to vm_is_stack_for_current()
    fs/proc: Stop trying to report thread stacks
    fs/proc: Stop reporting eip and esp in /proc/PID/stat
    mm/numa: Remove duplicated include from mprotect.c

    Linus Torvalds
     

22 Oct, 2016

2 commits

  • I made a mistake as for naming for this block. The MIO block is not
    implemented for these 3 SoCs in the first place. The current naming
    will be a trouble if an SoC with both MIO and SD-ctrl blocks appear
    in the future.

    This driver has just been merged in the previous merge window.
    Rename it before the release.

    Signed-off-by: Masahiro Yamada
    Acked-by: Philipp Zabel

    Masahiro Yamada
     
  • Pull powerpc fixes from Michael Ellerman:
    "Fixes marked for stable:
    - Prevent unlikely crash in copro_calculate_slb() (Frederic Barrat)
    - cxl: Prevent adapter reset if an active context exists (Vaibhav Jain)

    Fixes for code merged this cycle:
    - Fix boot on systems with uncompressed kernel image (Heiner Kallweit)
    - Drop dump_numa_memory_topology() (Michael Ellerman)
    - Fix numa topology console print (Aneesh Kumar K.V)
    - Ignore the pkey system calls for now (Stephen Rothwell)"

    * tag 'powerpc-4.9-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
    powerpc: Ignore the pkey system calls for now
    powerpc: Fix numa topology console print
    powerpc/mm: Drop dump_numa_memory_topology()
    cxl: Prevent adapter reset if an active context exists
    powerpc/boot: Fix boot on systems with uncompressed kernel image
    powerpc/mm: Prevent unlikely crash in copro_calculate_slb()

    Linus Torvalds
     

21 Oct, 2016

2 commits

  • Pablo Neira Ayuso says:

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

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

    1) Fix compilation warning in xt_hashlimit on m68k 32-bits, from
    Geert Uytterhoeven.

    2) Fix wrong timeout in set elements added from packet path via
    nft_dynset, from Anders K. Pedersen.

    3) Remove obsolete nf_conntrack_events_retry_timeout sysctl
    documentation, from Nicolas Dichtel.

    4) Ensure proper initialization of log flags via xt_LOG, from
    Liping Zhang.

    5) Missing alias to autoload ipcomp, also from Liping Zhang.

    6) Missing NFTA_HASH_OFFSET attribute validation, again from Liping.

    7) Wrong integer type in the new nft_parse_u32_check() function,
    from Dan Carpenter.

    8) Another wrong integer type declaration in nft_exthdr_init, also
    from Dan Carpenter.

    9) Fix insufficient mode validation in nft_range.

    10) Fix compilation warning in nft_range due to possible uninitialized
    value, from Arnd Bergmann.

    11) Zero nf_hook_ops allocated via xt_hook_alloc() in x_tables to
    calm down kmemcheck, from Florian Westphal.

    12) Schedule gc_worker() to run again if GC_MAX_EVICTS quota is reached,
    from Nicolas Dichtel.

    13) Fix nf_queue() after conversion to single-linked hook list, related
    to incorrect bypass flag handling and incorrect hook point of
    reinjection.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Signed-off-by: Rich Felker
    Acked-by: Rob Herring
    Cc: Mark Rutland
    Cc: devicetree@vger.kernel.org
    Cc: linux-sh@vger.kernel.org
    Cc: Daniel Lezcano
    Cc: Rob Herring
    Link: http://lkml.kernel.org/r/8b107c292ed8cf8eed0fa283071fc8a930098628.1476393790.git.dalias@libc.org
    Signed-off-by: Thomas Gleixner

    Rich Felker
     

20 Oct, 2016

3 commits

  • gpiod_set_value() is preffered interface these days, so add a
    pointer. Also fix a missing ).

    Signed-off-by: Pavel Machek
    [Fixed some grammar and reworded]
    Signed-off-by: Linus Walleij

    Pavel Machek
     
  • This reverts more of:

    b76437579d13 ("procfs: mark thread stack correctly in proc//maps")

    ... which was partially reverted by:

    65376df58217 ("proc: revert /proc//maps [stack:TID] annotation")

    Originally, /proc/PID/task/TID/maps was the same as /proc/TID/maps.

    In current kernels, /proc/PID/maps (or /proc/TID/maps even for
    threads) shows "[stack]" for VMAs in the mm's stack address range.

    In contrast, /proc/PID/task/TID/maps uses KSTK_ESP to guess the
    target thread's stack's VMA. This is racy, probably returns garbage
    and, on arches with CONFIG_TASK_INFO_IN_THREAD=y, is also crash-prone:
    KSTK_ESP is not safe to use on tasks that aren't known to be running
    ordinary process-context kernel code.

    This patch removes the difference and just shows "[stack]" for VMAs
    in the mm's stack range. This is IMO much more sensible -- the
    actual "stack" address really is treated specially by the VM code,
    and the current thread stack isn't even well-defined for programs
    that frequently switch stacks on their own.

    Reported-by: Jann Horn
    Signed-off-by: Andy Lutomirski
    Acked-by: Thomas Gleixner
    Cc: Al Viro
    Cc: Andrew Morton
    Cc: Borislav Petkov
    Cc: Brian Gerst
    Cc: Johannes Weiner
    Cc: Kees Cook
    Cc: Linus Torvalds
    Cc: Linux API
    Cc: Peter Zijlstra
    Cc: Tycho Andersen
    Link: http://lkml.kernel.org/r/3e678474ec14e0a0ec34c611016753eea2e1b8ba.1475257877.git.luto@kernel.org
    Signed-off-by: Ingo Molnar

    Andy Lutomirski
     
  • I made a mistake as for naming for this block. The MIO block is not
    implemented for these 3 SoCs in the first place. The current naming
    will be a trouble if an SoC with both MIO and SD-ctrl blocks appear
    in the future.

    This driver has just been merged in the previous merge window.
    Rename it before the release.

    Signed-off-by: Masahiro Yamada
    Signed-off-by: Stephen Boyd

    Masahiro Yamada
     

19 Oct, 2016

1 commit

  • This patch prevents resetting the cxl adapter via sysfs in presence of
    one or more active cxl_context on it. This protects against an
    unrecoverable error caused by PSL owning a dirty cache line even after
    reset and host tries to touch the same cache line. In case a force reset
    of the card is required irrespective of any active contexts, the int
    value -1 can be stored in the 'reset' sysfs attribute of the card.

    The patch introduces a new atomic_t member named contexts_num inside
    struct cxl that holds the number of active context attached to the card
    , which is checked against '0' before proceeding with the reset. To
    prevent against a race condition where a context is activated just after
    reset check is performed, the contexts_num is atomically set to '-1'
    after reset-check to indicate that no more contexts can be activated on
    the card anymore.

    Before activating a context we atomically test if contexts_num is
    non-negative and if so, increment its value by one. In case the value of
    contexts_num is negative then it indicates that the card is about to be
    reset and context activation is error-ed out at that point.

    Fixes: 62fa19d4b4fd ("cxl: Add ability to reset the card")
    Cc: stable@vger.kernel.org # v4.0+
    Acked-by: Frederic Barrat
    Reviewed-by: Andrew Donnellan
    Signed-off-by: Vaibhav Jain
    Signed-off-by: Michael Ellerman

    Vaibhav Jain
     

18 Oct, 2016

3 commits

  • The SPI1 function was associated with the wrong pins: The functions that
    those pins provide is either an SPI debug or passthrough function
    coupled to SPI1. Make the SPI1 mux function configure the relevant pins
    and associate new SPI1DEBUG and SPI1PASSTHRU functions with the pins
    that were already defined.

    The notation used in the datasheet's multi-function pin table for the SoC is
    often creative: in this case the SYS* signals are enabled by a single bit,
    which is nothing unusual on its own, but in this case the bit was also
    participating in a multi-bit bitfield and therefore represented multiple
    functions. This fact was overlooked in the original patch.

    Fixes: 56e57cb6c07f (pinctrl: Add pinctrl-aspeed-g5 driver)
    Signed-off-by: Andrew Jeffery
    Reviewed-by: Joel Stanley
    Acked-by: Rob Herring
    Signed-off-by: Linus Walleij

    Andrew Jeffery
     
  • This binding was deprecated due to commit aa381a7259c3 ("usb: dwc2:
    gadget: fix TX FIFO size and address initialization"). However that
    commit is now reverted, so also revert this commit.

    The binding is valid and shouldn't be deprecated.

    This reverts commit 65e1ff7f4b5b ("Documentation: devicetree: dwc2:
    Deprecate g-tx-fifo-size").

    Signed-off-by: John Youn
    Acked-by: Rob Herring
    Signed-off-by: Felipe Balbi

    John Youn
     
  • dm-raid 1.9.0 fails to activate existing RAID4/10 devices that have the
    old superblock format (which does not have takeover/reshaping support
    that was added via commit 33e53f06850f).

    Fix validation path for old superblocks by reverting to the old raid4
    layout and basing checks on mddev->new_{level,layout,...} members in
    super_init_validation().

    Cc: stable@vger.kernel.org # 4.8
    Signed-off-by: Heinz Mauelshagen
    Signed-off-by: Mike Snitzer

    Heinz Mauelshagen
     

17 Oct, 2016

1 commit


16 Oct, 2016

1 commit

  • Pull MIPS updates from Ralf Baechle:
    "This is the main MIPS pull request for 4.9:

    MIPS core arch code:
    - traps: 64bit kernels should read CP0_EBase 64bit
    - traps: Convert ebase to KSEG0
    - c-r4k: Drop bc_wback_inv() from icache flush
    - c-r4k: Split user/kernel flush_icache_range()
    - cacheflush: Use __flush_icache_user_range()
    - uprobes: Flush icache via kernel address
    - KVM: Use __local_flush_icache_user_range()
    - c-r4k: Fix flush_icache_range() for EVA
    - Fix -mabi=64 build of vdso.lds
    - VDSO: Drop duplicated -I*/-E* aflags
    - tracing: move insn_has_delay_slot to a shared header
    - tracing: disable uprobe/kprobe on compact branch instructions
    - ptrace: Fix regs_return_value for kernel context
    - Squash lines for simple wrapper functions
    - Move identification of VP(E) into proc.c from smp-mt.c
    - Add definitions of SYNC barrierstype values
    - traps: Ensure full EBase is written
    - tlb-r4k: If there are wired entries, don't use TLBINVF
    - Sanitise coherentio semantics
    - dma-default: Don't check hw_coherentio if device is non-coherent
    - Support per-device DMA coherence
    - Adjust MIPS64 CAC_BASE to reflect Config.K0
    - Support generating Flattened Image Trees (.itb)
    - generic: Introduce generic DT-based board support
    - generic: Convert SEAD-3 to a generic board
    - Enable hardened usercopy
    - Don't specify STACKPROTECTOR in defconfigs

    Octeon:
    - Delete dead code and files across the platform.
    - Change to use all memory into use by default.
    - Rename upper case variables in setup code to lowercase.
    - Delete legacy hack for broken bootloaders.
    - Leave maintaining the link state to the actual ethernet/PHY drivers.
    - Add DTS for D-Link DSR-500N.
    - Fix PCI interrupt routing on D-Link DSR-500N.

    Pistachio:
    - Remove ANDROID_TIMED_OUTPUT from defconfig

    TX39xx:
    - Move GPIO setup from .mem_setup() to .arch_init()
    - Convert to Common Clock Framework

    TX49xx:
    - Move GPIO setup from .mem_setup() to .arch_init()
    - Convert to Common Clock Framework

    txx9wdt:
    - Add missing clock (un)prepare calls for CCF

    BMIPS:
    - Add PW, GPIO SDHCI and NAND device node names
    - Support APPENDED_DTB
    - Add missing bcm97435svmb to DT_NONE
    - Rename bcm96358nb4ser to bcm6358-neufbox4-sercom
    - Add DT examples for BCM63268, BCM3368 and BCM6362
    - Add support for BCM3368 and BCM6362

    PCI
    - Reduce stack frame usage
    - Use struct list_head lists
    - Support for CONFIG_PCI_DOMAINS_GENERIC
    - Make pcibios_set_cache_line_size an initcall
    - Inline pcibios_assign_all_busses
    - Split pci.c into pci.c & pci-legacy.c
    - Introduce CONFIG_PCI_DRIVERS_LEGACY
    - Support generic drivers

    CPC
    - Convert bare 'unsigned' to 'unsigned int'
    - Avoid lock when MIPS CM >= 3 is present

    GIC:
    - Delete unused file smp-gic.c

    mt7620:
    - Delete unnecessary assignment for the field "owner" from PCI

    BCM63xx:
    - Let clk_disable() return immediately if clk is NULL

    pm-cps:
    - Change FSB workaround to CPU blacklist
    - Update comments on barrier instructions
    - Use MIPS standard lightweight ordering barrier
    - Use MIPS standard completion barrier
    - Remove selection of sync types
    - Add MIPSr6 CPU support
    - Support CM3 changes to Coherence Enable Register

    SMP:
    - Wrap call to mips_cpc_lock_other in mips_cm_lock_other
    - Introduce mechanism for freeing and allocating IPIs

    cpuidle:
    - cpuidle-cps: Enable use with MIPSr6 CPUs.

    SEAD3:
    - Rewrite to use DT and generic kernel feature.

    USB:
    - host: ehci-sead3: Remove SEAD-3 EHCI code

    FBDEV:
    - cobalt_lcdfb: Drop SEAD3 support

    dt-bindings:
    - Document a binding for simple ASCII LCDs

    auxdisplay:
    - img-ascii-lcd: driver for simple ASCII LCD displays

    irqchip i8259:
    - i8259: Add domain before mapping parent irq
    - i8259: Allow platforms to override poll function
    - i8259: Remove unused i8259A_irq_pending

    Malta:
    - Rewrite to use DT

    of/platform:
    - Probe "isa" busses by default

    CM:
    - Print CM error reports upon bus errors

    Module:
    - Migrate exception table users off module.h and onto extable.h
    - Make various drivers explicitly non-modular:
    - Audit and remove any unnecessary uses of module.h

    mailmap:
    - Canonicalize to Qais' current email address.

    Documentation:
    - MIPS supports HAVE_REGS_AND_STACK_ACCESS_API

    Loongson1C:
    - Add CPU support for Loongson1C
    - Add board support
    - Add defconfig
    - Add RTC support for Loongson1C board

    All this except one Documentation fix has sat in linux-next and has
    survived Imagination's automated build test system"

    * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (127 commits)
    Documentation: MIPS supports HAVE_REGS_AND_STACK_ACCESS_API
    MIPS: ptrace: Fix regs_return_value for kernel context
    MIPS: VDSO: Drop duplicated -I*/-E* aflags
    MIPS: Fix -mabi=64 build of vdso.lds
    MIPS: Enable hardened usercopy
    MIPS: generic: Convert SEAD-3 to a generic board
    MIPS: generic: Introduce generic DT-based board support
    MIPS: Support generating Flattened Image Trees (.itb)
    MIPS: Adjust MIPS64 CAC_BASE to reflect Config.K0
    MIPS: Print CM error reports upon bus errors
    MIPS: Support per-device DMA coherence
    MIPS: dma-default: Don't check hw_coherentio if device is non-coherent
    MIPS: Sanitise coherentio semantics
    MIPS: PCI: Support generic drivers
    MIPS: PCI: Introduce CONFIG_PCI_DRIVERS_LEGACY
    MIPS: PCI: Split pci.c into pci.c & pci-legacy.c
    MIPS: PCI: Inline pcibios_assign_all_busses
    MIPS: PCI: Make pcibios_set_cache_line_size an initcall
    MIPS: PCI: Support for CONFIG_PCI_DOMAINS_GENERIC
    MIPS: PCI: Use struct list_head lists
    ...

    Linus Torvalds
     

15 Oct, 2016

8 commits

  • …/kernel/git/shuah/linux-kselftest

    Pull kselftest updates from Shuah Khan:
    "This update consists of:

    - Fixes and improvements to existing tests

    - Moving code from Documentation to selftests, samples, and tools:

    * Moves dnotify_test, prctl, ptp, vDSO, ia64, watchdog, and
    networking tests from Documentation to selftests.

    * Moves mic/mpssd, misc-devices/mei, timers, watchdog, auxdisplay,
    and blackfin examples from Documentation to samples.

    * Moves accounting, laptops/dslm, and pcmcia/crc32hash tools from
    Documentation to tools.

    * Deletes BUILD_DOCSRC and its dependencies"

    * tag 'linux-kselftest-4.9-rc1-update' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (21 commits)
    selftests/futex: Check ANSI terminal color support
    Doc: update 00-INDEX files to reflect the runnable code move
    samples: move blackfin gptimers-example from Documentation
    tools: move pcmcia crc32hash tool from Documentation
    tools: move laptops dslm tool from Documentation
    tools: move accounting tool from Documentation
    samples: move auxdisplay example code from Documentation
    samples: move watchdog example code from Documentation
    samples: move timers example code from Documentation
    samples: move misc-devices/mei example code from Documentation
    samples: move mic/mpssd example code from Documentation
    selftests: Move networking/timestamping from Documentation
    selftests: move watchdog tests from Documentation/watchdog
    selftests: move ia64 tests from Documentation/ia64
    selftests: move vDSO tests from Documentation/vDSO
    selftests: move ptp tests from Documentation/ptp
    selftests: move prctl tests from Documentation/prctl
    selftests: move dnotify_test from Documentation/filesystems
    selftests/timers: Add missing error code assignment before test
    selftests/zram: replace ZRAM_LZ4_COMPRESS
    ...

    Linus Torvalds
     
  • Pull kbuild updates from Michal Marek:

    - EXPORT_SYMBOL for asm source by Al Viro.

    This does bring a regression, because genksyms no longer generates
    checksums for these symbols (CONFIG_MODVERSIONS). Nick Piggin is
    working on a patch to fix this.

    Plus, we are talking about functions like strcpy(), which rarely
    change prototypes.

    - Fixes for PPC fallout of the above by Stephen Rothwell and Nick
    Piggin

    - fixdep speedup by Alexey Dobriyan.

    - preparatory work by Nick Piggin to allow architectures to build with
    -ffunction-sections, -fdata-sections and --gc-sections

    - CONFIG_THIN_ARCHIVES support by Stephen Rothwell

    - fix for filenames with colons in the initramfs source by me.

    * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: (22 commits)
    initramfs: Escape colons in depfile
    ppc: there is no clear_pages to export
    powerpc/64: whitelist unresolved modversions CRCs
    kbuild: -ffunction-sections fix for archs with conflicting sections
    kbuild: add arch specific post-link Makefile
    kbuild: allow archs to select link dead code/data elimination
    kbuild: allow architectures to use thin archives instead of ld -r
    kbuild: Regenerate genksyms lexer
    kbuild: genksyms fix for typeof handling
    fixdep: faster CONFIG_ search
    ia64: move exports to definitions
    sparc32: debride memcpy.S a bit
    [sparc] unify 32bit and 64bit string.h
    sparc: move exports to definitions
    ppc: move exports to definitions
    arm: move exports to definitions
    s390: move exports to definitions
    m68k: move exports to definitions
    alpha: move exports to actual definitions
    x86: move exports to actual definitions
    ...

    Linus Torvalds
     
  • Pull one more documentation update from Jonathan Corbet:
    "A single commit converting the mac80211 DocBook template over to
    Sphinx. Only 32 more to go..."

    * tag 'docs-4.9-2' of git://git.lwn.net/linux:
    docs-rst: sphinxify 802.11 documentation

    Linus Torvalds
     
  • Pull more rdma updates from Doug Ledford:
    "This merge window was the first where Huawei had to try and coordinate
    their patches between their net driver and their new roce driver
    (similar to mlx4 and mlx5).

    They didn't do horribly, but there were some issues (and we knew that
    because they simply didn't know what to do in the beginning). As a
    result, I had a set of patches that depended on some patches that
    normally would have come to you via Dave's tree. Those patches have
    been on netdev@ for a while, so I got Dave to give me his approval to
    send them to you. As such, the other 29 patches I had behind them are
    also now ready to go.

    This catches the hns and hns-roce drivers up to current, and for
    future patches we are working with them to get them up to speed on how
    to do joint driver development so that they don't have these sorts of
    cross tree dependency issues again. BTW, Dave gave me permission to
    add his Acked-by: to the patches against the net tree, but I've had
    this branch through 0day (but not linux-next since it was off by
    itself) and I didn't want to rebase the series just to add Dave's ack
    for the 8 patches in the net area.

    Updates to the hns drivers:

    - Small patch set for hns net driver that the roce patches depend on

    - Various fixes to the hns-roce driver

    - Add connection manager support to the hns-roce driver"

    * tag 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma: (36 commits)
    IB/hns: Fix for removal of redundant code
    IB/hns: Delete the redundant lines in hns_roce_v1_m_qp()
    IB/hns: Fix the bug when platform_get_resource() exec fail
    IB/hns: Update the rq head when modify qp state
    IB/hns: Cq has not been freed
    IB/hns: Validate mtu when modified qp
    IB/hns: Some items of qpc need to take user param
    IB/hns: The Ack timeout need a lower limit value
    IB/hns: Return bad wr while post send failed
    IB/hns: Fix bug of memory leakage for registering user mr
    IB/hns: Modify the init of iboe lock
    IB/hns: Optimize code of aeq and ceq interrupt handle and fix the bug of qpn
    IB/hns: Delete the sqp_start from the structure hns_roce_caps
    IB/hns: Fix bug of clear hem
    IB/hns: Remove unused parameter named qp_type
    IB/hns: Simplify function of pd alloc and qp alloc
    IB/hns: Fix bug of using uninit refcount and free
    IB/hns: Remove parameters of resize cq
    IB/hns: Remove unused parameters in some functions
    IB/hns: Add node_guid definition to the bindings document
    ...

    Linus Torvalds
     
  • Pull some more input subsystem updates from Dmitry Torokhov:
    "An update to the ALPS driver to support the V8 protocol with
    touchstick, a change for i8042 to skip selftest on many Asus laptops
    which helps to keep their touchpads working after resume, and a couple
    other driver fixes"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: i8042 - skip selftest on ASUS laptops
    Input: melfas_mip4 - add ic_name sysfs attribute
    Input: melfas_mip4 - add maintainer information
    Input: melfas_mip4 - add devicetree binding documentations
    Input: elantech - add Fujitsu Lifebook E556 to force crc_enabled
    Input: synaptics-rmi4 - fix error handling in I2C transport driver
    Input: synaptics-rmi4 - fix error handling in SPI transport driver
    Input: ALPS - add V8 protocol documentation
    Input: ALPS - set DualPoint flag for 74 03 28 devices
    Input: ALPS - allow touchsticks to report pressure
    Input: ALPS - handle 0-pressure 1F events
    Input: ALPS - add touchstick support for SS5 hardware
    Input: elantech - force needed quirks on Fujitsu H760
    Input: elantech - fix Lenovo version typo

    Linus Torvalds
     
  • Pull RTC updates from Alexandre Belloni:
    "RTC for 4.9

    Subsystem:
    - delete owner assignment in multiple drivers
    - constify rtc_class_ops structures

    Drivers:
    - ac100: support clock-output-names
    - cmos: properly handle ACPI alarms and quirky BIOSes and other fixes
    - ds1307: fix century bit support while staying comaptible with
    previous behaviour by default
    - ds1347: switch to regmap
    - isl12057 is now handled by ds1307
    - omap: support external wakeup
    - rv8803: allow to disable voltage drop detection"

    * tag 'rtc-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (25 commits)
    rtc: rv8803: set VDETOFF and SWOFF via device tree
    dt/bindings: Add bindings for Micro Crystal rv8803
    devicetree: Add Micro Crystal AG vendor id
    rtc: cmos: avoid unused function warning
    rtc: ac100: Add NULL checking for devm_kzalloc call
    rtc: ds1347: changed raw spi calls to register map calls
    rtc: cmos: Restore alarm after resume
    rtc: cmos: Clear ACPI-driven alarms upon resume
    rtc: omap: Support ext_wakeup configuration
    rtc: cmos: Initialize hpet timer before irq is registered
    rtc: asm9260: rework locking
    rtc: asm9260: allow COMPILE_TEST
    rtc: constify rtc_class_ops structures
    rtc: ac100: support clock-output-names in device tree binding
    rtc: rx6110: remove owner assignment
    rtc: pic32: Delete owner assignment
    rtc: bq32k: Fix handling of oscillator failure flag
    rtc: bq32k: Use correct mask name for 'minutes' register.
    rtc: sysfs: fix a cast removing the const attribute
    Documentation: dt: Intersil isl12057 is not a trivial device
    ...

    Linus Torvalds
     
  • Pull more i2c updates from Wolfram Sang:
    "A small update pull request from I2C.

    This adds one comment to a change we did in this merge window to
    handle lockdep better, and pulls in a branch which should have been in
    4.8 already improving DT support for I2C"

    * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
    gpio: pca953x: add a comment explaining the need for a lockdep subclass
    i2c: core: Add support for 'i2c-bus' subnode
    dt-bindings: i2c: Add support for 'i2c-bus' subnode

    Linus Torvalds
     
  • Pull more SCSI updates from James Bottomley:
    "This is just a set of minor updates and fixes which weren't quite
    ready in time for the first pull request.

    The only real thing of note is Mike Christie is stepping down as
    Maintainer of iscsi to be replaced by Lee Duncan and Chris Leech"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
    scsi: ufs: Kconfig fix
    scsi: g_NCR5380: Stop using scsi_module.c
    scsi: g_NCR5380: Reduce overrides[] from array to struct
    scsi: g_NCR5380: Remove deprecated __setup
    scsi: ufs: Fix error return code in ufshcd_init()
    scsi: ufs: Data Segment only needed for WRITE DESCRIPTOR
    scsi: cxgb4i: Set completion bit in work request
    MAINTAINERS: Update open-iscsi maintainers
    scsi: ufs: Enable no vccq quirk for skhynix device
    scsi: be2iscsi: mark symbols static where possible

    Linus Torvalds
     

14 Oct, 2016

4 commits

  • This fixes the following errors when trying to clone the urls:

    Cloning into 'net'...
    fatal: repository 'http://git.kernel.org/cgit/linux/kernel/git/davem/net.git/' not found
    Cloning into 'net-next'...
    fatal: repository 'http://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/' not found
    Cloning into 'linux'...
    fatal: repository 'http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/' not found
    Cloning into 'stable-queue'...
    fatal: repository 'http://git.kernel.org/cgit/linux/kernel/git/stable/stable-queue.git/' not found

    Signed-off-by: Alexander Alemayhu
    Signed-off-by: David S. Miller

    Alexander Alemayhu
     
  • Pull NFS client updates from Anna Schumaker:
    "Highlights include:

    Stable bugfixes:
    - sunrpc: fix writ espace race causing stalls
    - NFS: Fix inode corruption in nfs_prime_dcache()
    - NFSv4: Don't report revoked delegations as valid in nfs_have_delegation()
    - NFSv4: nfs4_copy_delegation_stateid() must fail if the delegation is invalid
    - NFSv4: Open state recovery must account for file permission changes
    - NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic

    Features:
    - Add support for tracking multiple layout types with an ordered list
    - Add support for using multiple backchannel threads on the client
    - Add support for pNFS file layout session trunking
    - Delay xprtrdma use of DMA API (for device driver removal)
    - Add support for xprtrdma remote invalidation
    - Add support for larger xprtrdma inline thresholds
    - Use a scatter/gather list for sending xprtrdma RPC calls
    - Add support for the CB_NOTIFY_LOCK callback
    - Improve hashing sunrpc auth_creds by using both uid and gid

    Bugfixes:
    - Fix xprtrdma use of DMA API
    - Validate filenames before adding to the dcache
    - Fix corruption of xdr->nwords in xdr_copy_to_scratch
    - Fix setting buffer length in xdr_set_next_buffer()
    - Don't deadlock the state manager on the SEQUENCE status flags
    - Various delegation and stateid related fixes
    - Retry operations if an interrupted slot receives EREMOTEIO
    - Make nfs boot time y2038 safe"

    * tag 'nfs-for-4.9-1' of git://git.linux-nfs.org/projects/anna/linux-nfs: (100 commits)
    NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic
    fs: nfs: Make nfs boot time y2038 safe
    sunrpc: replace generic auth_cred hash with auth-specific function
    sunrpc: add RPCSEC_GSS hash_cred() function
    sunrpc: add auth_unix hash_cred() function
    sunrpc: add generic_auth hash_cred() function
    sunrpc: add hash_cred() function to rpc_authops struct
    Retry operation on EREMOTEIO on an interrupted slot
    pNFS: Fix atime updates on pNFS clients
    sunrpc: queue work on system_power_efficient_wq
    NFSv4.1: Even if the stateid is OK, we may need to recover the open modes
    NFSv4: If recovery failed for a specific open stateid, then don't retry
    NFSv4: Fix retry issues with nfs41_test/free_stateid
    NFSv4: Open state recovery must account for file permission changes
    NFSv4: Mark the lock and open stateids as invalid after freeing them
    NFSv4: Don't test open_stateid unless it is set
    NFSv4: nfs4_do_handle_exception() handle revoke/expiry of a single stateid
    NFS: Always call nfs_inode_find_state_and_recover() when revoking a delegation
    NFSv4: Fix a race when updating an open_stateid
    NFSv4: Fix a race in nfs_inode_reclaim_delegation()
    ...

    Linus Torvalds
     
  • Prepare second round of input updates for 4.9 merge window.

    Dmitry Torokhov
     
  • Pull watchdog updates from Wim Van Sebroeck:

    - a new watchdog pretimeout governor framework

    - support to upload the firmware on the ziirave_wdt

    - several fixes and cleanups

    * git://www.linux-watchdog.org/linux-watchdog: (26 commits)
    watchdog: imx2_wdt: add pretimeout function support
    watchdog: softdog: implement pretimeout support
    watchdog: pretimeout: add pretimeout_available_governors attribute
    watchdog: pretimeout: add option to select a pretimeout governor in runtime
    watchdog: pretimeout: add panic pretimeout governor
    watchdog: pretimeout: add noop pretimeout governor
    watchdog: add watchdog pretimeout governor framework
    watchdog: hpwdt: add support for iLO5
    fs: compat_ioctl: add pretimeout functions for watchdogs
    watchdog: add pretimeout support to the core
    watchdog: imx2_wdt: use preferred BIT macro instead of open coded values
    watchdog: st_wdt: Remove support for obsolete platforms
    watchdog: bindings: Remove obsolete platforms from dt doc.
    watchdog: mt7621_wdt: Remove assignment of dev pointer
    watchdog: rt2880_wdt: Remove assignment of dev pointer
    watchdog: constify watchdog_ops structures
    watchdog: tegra: constify watchdog_ops structures
    watchdog: iTCO_wdt: constify iTCO_wdt_pm structure
    watchdog: cadence_wdt: Fix the suspend resume
    watchdog: txx9wdt: Add missing clock (un)prepare calls for CCF
    ...

    Linus Torvalds
     

13 Oct, 2016

1 commit

  • This should have been part of 40e084a506eb ('MIPS: Add uprobes support.').

    Signed-off-by: Ralf Baechle
    Fixes: 40e084a506eb ("MIPS: Add uprobes support.")
    Acked-by: Jonathan Corbet
    Cc: linux-mips@linux-mips.org
    Cc: linux-doc@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/14392/
    Signed-off-by: Ralf Baechle

    Ralf Baechle