Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1285636 > unrolled thread

[PATCH 4.3 000/125] 4.3.1-stable review

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2015-12-07 16:50 +0100
Last post2015-12-09 04:30 +0100
Articles 20 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 4.3 000/125] 4.3.1-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 025/125] ARM: at91/dt: corrections to i2c1 declaration to sama5d4 Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 001/125] ARM: 8449/1: fix bug in vdsomunge swab32 macro Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 012/125] net: avoid NULL deref in inet_ctl_sock_destroy() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 026/125] ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 010/125] sit: fix sit0 percpu double allocations Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 013/125] ipv6: clean up dev_snmp6 proc entry when we fail to initialize inet6_dev Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 028/125] ARM: dts: Fix WLAN regression on omap5-uevm Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 005/125] ipv4: fix to not remove local route on link down Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 004/125] net: bcmgenet: Software reset EPHY after power on Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 006/125] ipv4: update RTNH_F_LINKDOWN flag on UP event Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 011/125] sfc: push partner queue for skb->xmit_more Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 015/125] net: Fix prefsrc lookups Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 003/125] tipc: linearize arriving NAME_DISTR and LINK_PROTO buffers Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 027/125] ARM: dts: Add vbus regulator to USB2 phy nodes on exynos3250, exynos4210 and exynos4412 boards Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    [PATCH 4.3 007/125] stmmac: Correctly report PTP capabilities. Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-07 16:50 +0100
    Re: [PATCH 4.3 000/125] 4.3.1-stable review Shuah Khan <shuahkh@osg.samsung.com> - 2015-12-07 18:20 +0100
      Re: [PATCH 4.3 000/125] 4.3.1-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-09 04:20 +0100
    Re: [PATCH 4.3 000/125] 4.3.1-stable review Guenter Roeck <linux@roeck-us.net> - 2015-12-07 22:30 +0100
      Re: [PATCH 4.3 000/125] 4.3.1-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-09 04:30 +0100

#1285636 — [PATCH 4.3 000/125] 4.3.1-stable review

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 000/125] 4.3.1-stable review
Message-ID<qD5Am-6co-5@gated-at.bofh.it>
This is the start of the stable review cycle for the 4.3.1 release.
There are 125 patches in this series, all will be posted as a response
to this one.  If anyone has any issues with these being applied, please
let me know.

Responses should be made by Wed Dec  9 14:57:09 UTC 2015.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
	kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.3.1-rc1.gz
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Linux 4.3.1-rc1

Boris Ostrovsky <boris.ostrovsky@oracle.com>
    xen/events: Always allocate legacy interrupts on PV guests

Arnd Bergmann <arnd@arndb.de>
    staging/lustre: use jiffies for lp_last_query times

Rajmohan Mani <rajmohan.mani@intel.com>
    xhci: Workaround to get Intel xHCI reset working more reliably

Peter Hurley <peter@hurleysoftware.com>
    tty: Fix tty_send_xchar() lock order inversion

Peter Hurley <peter@hurleysoftware.com>
    tty: audit: Fix audit source

James Hogan <james.hogan@imgtec.com>
    ttyFDC: Fix build problems due to use of module_{init,exit}

Clemens Ladisch <clemens@ladisch.de>
    ALSA: usb-audio: work around CH345 input SysEx corruption

Clemens Ladisch <clemens@ladisch.de>
    ALSA: usb-audio: prevent CH345 multiport output SysEx corruption

Clemens Ladisch <clemens@ladisch.de>
    ALSA: usb-audio: add packet size quirk for the Medeli DD305

Lu Baolu <baolu.lu@linux.intel.com>
    usb: xhci: fix checking ep busy for CFC

Bjørn Mork <bjorn@mork.no>
    USB: option: add XS Stick W100-2 from 4G Systems

Aleksander Morgado <aleksander@aleksander.es>
    USB: serial: option: add support for Novatel MiFi USB620L

David Woodhouse <dwmw2@infradead.org>
    USB: ti_usb_3410_5052: Add Honeywell HGI80 ID

Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    usb: musb: core: fix order of arguments to ulpi write callback

Bjørn Mork <bjorn@mork.no>
    USB: qcserial: Fix support for HP lt4112 LTE/HSPA+ Gobi 4G Modem

Petr Štetiar <ynezz@true.cz>
    USB: qcserial: Add support for Quectel EC20 Mini PCIe module

Aaro Koskinen <aaro.koskinen@iki.fi>
    usb: phy: omap-otg: fix uninitialized pointer

Jiri Slaby <jslaby@suse.cz>
    usblp: do not set TASK_INTERRUPTIBLE before lock

Jonas Gorski <jogo@openwrt.org>
    usb: ehci-orion: fix probe for !GENERIC_PHY

Jurgen Kramer <gtmkramer@xs4all.nl>
    ALSA: usb: Add native DSD support for Aune X1S

Li Jun <jun.li@freescale.com>
    usb: chipidea: debug: disable usb irq while role switch

Peter Chen <peter.chen@freescale.com>
    usb: chipidea: imx: refine clock operations to adapt for all platforms

John Youn <John.Youn@synopsys.com>
    usb: dwc3: pci: Set enblslpm quirk for Synopsys platforms

John Youn <John.Youn@synopsys.com>
    usb: dwc3: Add dis_enblslpm_quirk

John Youn <John.Youn@synopsys.com>
    usb: dwc3: pci: Add platform data for Synopsys HAPS

John Youn <John.Youn@synopsys.com>
    usb: dwc3: Support Synopsys USB 3.1 IP

John Youn <John.Youn@synopsys.com>
    usb: dwc3: pci: Add the PCI Product ID for Synopsys USB 3.1

John Youn <John.Youn@synopsys.com>
    usb: dwc3: pci: Add the Synopsys HAPS AXI Product ID

Li Jun <B47624@freescale.com>
    usb: chipidea: otg: gadget module load and unload support

Ben McCauley <ben.mccauley@garmin.com>
    usb: dwc3: gadget: let us set lower max_speed

Douglas Gilbert <dgilbert@interlog.com>
    usb: gadget: atmel_usba_udc: Expose correct device speed

Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
    usb: gadget: net2280: restore ep_cfg after defect7374 workaround

Ville Syrjälä <ville.syrjala@linux.intel.com>
    Revert "usb: dwc3: gadget: drop unnecessary loop when cleaning up TRBs"

David Hildenbrand <dahi@linux.vnet.ibm.com>
    KVM: s390: enable SIMD only when no VCPUs were created

David Hildenbrand <dahi@linux.vnet.ibm.com>
    KVM: s390: avoid memory overwrites on emergency signal injection

David Hildenbrand <dahi@linux.vnet.ibm.com>
    KVM: s390: fix wrong lookup of VCPUs by array index

David Hildenbrand <dahi@linux.vnet.ibm.com>
    KVM: s390: SCA must not cross page boundaries

Sebastian Ott <sebott@linux.vnet.ibm.com>
    s390/pci: reshuffle struct used to write debug data

Martin Schwidefsky <schwidefsky@de.ibm.com>
    s390/kernel: fix ptrace peek/poke for floating point registers

Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
    ath10k: fix invalid NSS for 4x4 devices

Vivek Natarajan <nataraja@qti.qualcomm.com>
    ath10k: use station's current operating mode from assoc request

Kalle Valo <kvalo@qca.qualcomm.com>
    ath10k: add ATH10K_FW_FEATURE_RAW_MODE_SUPPORT to ath10k_core_fw_feature_str[]

Jonas Gorski <jogo@openwrt.org>
    pinctrl: qcom: ssbi: fix compilation with DEBUG_FS=n

Masahiro Yamada <yamada.masahiro@socionext.com>
    pinctrl: uniphier: set input-enable before pin-muxing

Mark Rutland <mark.rutland@arm.com>
    arm64: page-align sections for DEBUG_RODATA

Robin Murphy <robin.murphy@arm.com>
    arm64: Fix compat register mappings

Mirza Krak <mirza.krak@hostmobility.com>
    can: sja1000: clear interrupts on start

Marek Vasut <marex@denx.de>
    can: Use correct type in sizeof() in nla_put()

Johan Hedberg <johan.hedberg@intel.com>
    Bluetooth: Fix missing hdev locking for LE scan cleanup

Johan Hedberg <johan.hedberg@intel.com>
    Bluetooth: Fix removing connection parameters when unpairing

Dmitry Tunin <hanipouspilot@gmail.com>
    Bluetooth: ath3k: Add support of AR3012 0cf3:817b device

Dmitry Tunin <hanipouspilot@gmail.com>
    Bluetooth: ath3k: Add new AR3012 0930:021c id

David Herrmann <dh.herrmann@gmail.com>
    Bluetooth: hidp: fix device disconnect on idle timeout

Larry Finger <Larry.Finger@lwfinger.net>
    staging: rtl8712: Add device ID for Sitecom WLA2100

Dan Carpenter <dan.carpenter@oracle.com>
    mwifiex: fix mwifiex_rdeeprom_read()

Amitkumar Karwar <akarwar@marvell.com>
    mwifiex: avoid memsetting PCIe event buffer

Aniket Nagarnaik <aniketn@marvell.com>
    mwifiex: fix NULL pointer dereference during hidden SSID scan

Tony Lindgren <tony@atomide.com>
    mfd: twl6040: Fix deferred probe handling for clk32k

Linus Walleij <linus.walleij@linaro.org>
    clk: versatile-icst: fix memory leak

Simran Rai <ssimran@broadcom.com>
    clk: iproc: Fix PLL output frequency calculation

Ingo Molnar <mingo@kernel.org>
    fs/proc, core/debug: Don't expose absolute kernel addresses via wchan

Marcin Wojtas <mw@semihalf.com>
    net: mvneta: fix error path for building skb

Maxime Ripard <maxime.ripard@free-electrons.com>
    net: mvneta: Fix CPU_MAP registers initialisation

Oren Givon <oren.givon@intel.com>
    iwlwifi: Add new PCI IDs for the 8260 series

Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    iwlwifi: pcie: fix (again) prepare card flow

Christophe Ricard <christophe.ricard@gmail.com>
    NFC: nci: extract pipe value using NCI_HCP_MSG_GET_PIPE

Christophe Ricard <christophe.ricard@gmail.com>
    NFC: nci: Fix improper management of HCI return code

Christophe Ricard <christophe.ricard@gmail.com>
    NFC: nci: Fix incorrect data chaining when sending data

Christophe Ricard <christophe.ricard@gmail.com>
    NFC: st-nci: Fix incorrect spi buffer size

Ola Olsson <ola1olsson@gmail.com>
    nl80211: Fix potential memory leak from parse_acl_data

Janusz.Dziedzic@tieto.com <Janusz.Dziedzic@tieto.com>
    mac80211: fix divide by zero when NOA update

Arik Nemtsov <arik@wizery.com>
    mac80211: allow null chandef in tracing

Johannes Berg <johannes.berg@intel.com>
    mac80211: fix driver RSSI event calculations

Andrei Otcheretianski <andrei.otcheretianski@intel.com>
    mac80211: Fix local deauth while associating

Dave Hansen <dave.hansen@linux.intel.com>
    x86/mpx: Fix 32-bit address space calculation

Dave Hansen <dave.hansen@linux.intel.com>
    x86/mpx: Do proper get_user() when running 32-bit binaries on 64-bit kernels

Dave Hansen <dave.hansen@linux.intel.com>
    x86/fpu: Fix 32-bit signal frame handling

Huaitong Han <huaitong.han@intel.com>
    x86/fpu: Fix get_xsave_addr() behavior under virtualization

Andrew Cooper <andrew.cooper3@citrix.com>
    x86/cpu: Fix SMAP check in PVOPS environments

Borislav Petkov <bp@suse.de>
    x86/cpu: Call verify_cpu() after having entered long mode too

Vitaly Kuznetsov <vkuznets@redhat.com>
    x86/irq: Probe for PIC presence before allocating descs for legacy IRQs

Krzysztof Mazur <krzysiek@podlesie.net>
    x86/setup: Fix low identity map for >= 2GB kernel range

Eric Northup <digitaleric@google.com>
    KVM: x86: work around infinite loop in microcode when #AC is delivered

Laszlo Ersek <lersek@redhat.com>
    KVM: x86: obey KVM_X86_QUIRK_CD_NW_CLEARED in kvm_set_cr0()

Paolo Bonzini <pbonzini@redhat.com>
    KVM: x86: allow RSM from 64-bit mode

Radim Krčmář <rkrcmar@redhat.com>
    KVM: x86: handle SMBASE as physical address in RSM

Radim Krčmář <rkrcmar@redhat.com>
    KVM: x86: add read_phys to x86_emulate_ops

Paolo Bonzini <pbonzini@redhat.com>
    kvm: x86: zero EFER on INIT

Radim Krčmář <rkrcmar@redhat.com>
    kvm: x86: set KVM_REQ_EVENT when updating IRR

James Hogan <james.hogan@imgtec.com>
    MIPS: KVM: Uninit VCPU in vcpu_create error path

James Hogan <james.hogan@imgtec.com>
    MIPS: KVM: Fix CACHE immediate offset sign extension

James Hogan <james.hogan@imgtec.com>
    MIPS: KVM: Fix ASID restoration logic

Alban Bedel <albeu@free.fr>
    MIPS: ath79: Fix the DDR control initialization on ar71xx and ar934x

James Hogan <james.hogan@imgtec.com>
    MIPS: CDMM: Add builtin_mips_cdmm_driver() macro

Hauke Mehrtens <hauke@hauke-m.de>
    MIPS: lantiq: add clk_round_rate()

Arnd Bergmann <arnd@arndb.de>
    ARM: pxa: remove incorrect __init annotation on pxa27x_set_pwrmode

Chen-Yu Tsai <wens@csie.org>
    ARM: dts: sun6i: hummingbird: Fix VDD-CPU and VDD-GPU regulator names

Tony Lindgren <tony@atomide.com>
    ARM: dts: Fix WLAN regression on omap5-uevm

Marek Szyprowski <m.szyprowski@samsung.com>
    ARM: dts: Add vbus regulator to USB2 phy nodes on exynos3250, exynos4210 and exynos4412 boards

Patrick Doyle <pdoyle@irobot.com>
    ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned

Holger Busse <h.busse@kathrein-sachsen.de>
    ARM: at91/dt: corrections to i2c1 declaration to sama5d4

Dmitry Osipenko <digetx@gmail.com>
    ARM: tegra: paz00: use con_id's to refer GPIO's in gpiod_lookup table

Peter Chen <peter.chen@freescale.com>
    ARM: dts: imx27.dtsi: change the clock information for usb

Peter Ujfalusi <peter.ujfalusi@ti.com>
    ARM: common: edma: Fix channel parameter for irq callbacks

Marek Szyprowski <m.szyprowski@samsung.com>
    ARM: 8427/1: dma-mapping: add support for offset parameter in dma_mmap()

Marek Szyprowski <m.szyprowski@samsung.com>
    ARM: 8426/1: dma-mapping: add missing range check in dma_mmap()

Eric Dumazet <edumazet@google.com>
    net: fix a race in dst_release()

Jay Vosburgh <jay.vosburgh@canonical.com>
    bonding: fix panic on non-ARPHRD_ETHER enslave failure

Francesco Ruggeri <fruggeri@aristanetworks.com>
    packet: race condition in packet_bind

Tobias Klauser <tklauser@distanz.ch>
    tun_dst: Fix potential NULL dereference

David Ahern <dsa@cumulusnetworks.com>
    net: Fix prefsrc lookups

WANG Cong <xiyou.wangcong@gmail.com>
    ipv4: disable BH when changing ip local port range

Sabrina Dubroca <sd@queasysnail.net>
    ipv6: clean up dev_snmp6 proc entry when we fail to initialize inet6_dev

Eric Dumazet <edumazet@google.com>
    net: avoid NULL deref in inet_ctl_sock_destroy()

Martin Habets <mhabets@solarflare.com>
    sfc: push partner queue for skb->xmit_more

Eric Dumazet <edumazet@google.com>
    sit: fix sit0 percpu double allocations

Bjørn Mork <bjorn@mork.no>
    qmi_wwan: fix entry for HP lt4112 LTE/HSPA+ Gobi 4G Module

Ani Sinha <ani@arista.com>
    ipmr: fix possible race resulting from improper usage of IP_INC_STATS_BH() in preemptible context.

Phil Reid <preid@electromag.com.au>
    stmmac: Correctly report PTP capabilities.

Julian Anastasov <ja@ssi.bg>
    ipv4: update RTNH_F_LINKDOWN flag on UP event

Julian Anastasov <ja@ssi.bg>
    ipv4: fix to not remove local route on link down

Florian Fainelli <f.fainelli@gmail.com>
    net: bcmgenet: Software reset EPHY after power on

Jon Paul Maloy <jon.maloy@ericsson.com>
    tipc: linearize arriving NAME_DISTR and LINK_PROTO buffers

Bjørn Mork <bjorn@mork.no>
    USB: qcserial: add Sierra Wireless MC74xx/EM74xx

H. Nikolaus Schaller <hns@goldelico.com>
    ARM: 8449/1: fix bug in vdsomunge swab32 macro


-------------

Diffstat:

 Documentation/devicetree/bindings/usb/dwc3.txt     |   2 +
 Documentation/filesystems/proc.txt                 |   5 +-
 Makefile                                           |   4 +-
 arch/arm/boot/dts/exynos3250-monk.dts              |   1 +
 arch/arm/boot/dts/exynos3250-rinato.dts            |   1 +
 arch/arm/boot/dts/exynos4210-trats.dts             |   2 +-
 arch/arm/boot/dts/exynos4210-universal_c210.dts    |   2 +-
 arch/arm/boot/dts/exynos4412-trats2.dts            |   1 +
 arch/arm/boot/dts/imx27.dtsi                       |  16 ++-
 arch/arm/boot/dts/omap5-uevm.dts                   |  66 +++++++++--
 arch/arm/boot/dts/sama5d4.dtsi                     |   8 +-
 arch/arm/boot/dts/sun6i-a31-hummingbird.dts        |   8 +-
 arch/arm/common/edma.c                             |   6 +-
 arch/arm/include/asm/irq.h                         |   5 +
 arch/arm/mach-at91/pm_suspend.S                    |   2 +
 arch/arm/mach-pxa/include/mach/pxa27x.h            |   2 +-
 arch/arm/mach-pxa/pxa27x.c                         |   2 +-
 arch/arm/mach-tegra/board-paz00.c                  |   4 +-
 arch/arm/mm/dma-mapping.c                          |   7 ++
 arch/arm/vdso/vdsomunge.c                          |   2 +-
 arch/arm64/include/asm/irq.h                       |   5 +
 arch/arm64/include/asm/ptrace.h                    |  16 +--
 arch/arm64/kernel/vmlinux.lds.S                    |   5 +-
 arch/mips/ath79/setup.c                            |   2 +-
 arch/mips/include/asm/cdmm.h                       |  11 ++
 arch/mips/kvm/emulate.c                            |   2 +-
 arch/mips/kvm/locore.S                             |  16 ++-
 arch/mips/kvm/mips.c                               |   5 +-
 arch/mips/lantiq/clk.c                             |  17 +++
 arch/s390/kernel/ptrace.c                          |   8 +-
 arch/s390/kvm/interrupt.c                          |   7 +-
 arch/s390/kvm/kvm-s390.c                           |  10 +-
 arch/s390/kvm/sigp.c                               |   8 +-
 arch/s390/pci/pci_insn.c                           |   6 +-
 arch/x86/include/asm/i8259.h                       |   1 +
 arch/x86/include/asm/kvm_emulate.h                 |  10 ++
 arch/x86/include/uapi/asm/svm.h                    |   1 +
 arch/x86/kernel/apic/vector.c                      |   6 +-
 arch/x86/kernel/cpu/common.c                       |   3 +-
 arch/x86/kernel/fpu/signal.c                       |  11 +-
 arch/x86/kernel/fpu/xstate.c                       |   1 -
 arch/x86/kernel/head_64.S                          |   8 ++
 arch/x86/kernel/i8259.c                            |  29 +++--
 arch/x86/kernel/setup.c                            |   2 +-
 arch/x86/kernel/verify_cpu.S                       |  12 +-
 arch/x86/kvm/emulate.c                             |  35 ++++--
 arch/x86/kvm/lapic.c                               |   2 +
 arch/x86/kvm/svm.c                                 |  19 ++-
 arch/x86/kvm/vmx.c                                 |   8 +-
 arch/x86/kvm/x86.c                                 |  14 ++-
 arch/x86/mm/mpx.c                                  |  47 +++++++-
 drivers/bluetooth/ath3k.c                          |   4 +
 drivers/bluetooth/btusb.c                          |   2 +
 drivers/clk/bcm/clk-iproc-pll.c                    |  13 +-
 drivers/clk/versatile/clk-icst.c                   |   4 +-
 drivers/mfd/twl6040.c                              |   2 +
 drivers/net/bonding/bond_main.c                    |   1 +
 drivers/net/can/dev.c                              |   2 +-
 drivers/net/can/sja1000/sja1000.c                  |   3 +
 drivers/net/ethernet/broadcom/genet/bcmgenet.c     |   4 +-
 drivers/net/ethernet/broadcom/genet/bcmgenet.h     |   1 +
 drivers/net/ethernet/broadcom/genet/bcmmii.c       |  18 +++
 drivers/net/ethernet/marvell/mvneta.c              |  10 +-
 drivers/net/ethernet/sfc/ef10.c                    |   4 +-
 drivers/net/ethernet/sfc/farch.c                   |   4 +-
 drivers/net/ethernet/sfc/net_driver.h              |   2 +
 drivers/net/ethernet/sfc/tx.c                      |  30 ++++-
 .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c   |   7 +-
 drivers/net/usb/qmi_wwan.c                         |   5 +-
 drivers/net/wireless/ath/ath10k/core.c             |   5 +
 drivers/net/wireless/ath/ath10k/mac.c              |   7 +-
 drivers/net/wireless/iwlwifi/pcie/drv.c            |  19 ++-
 drivers/net/wireless/iwlwifi/pcie/trans.c          |  10 +-
 drivers/net/wireless/mwifiex/debugfs.c             |  14 +--
 drivers/net/wireless/mwifiex/pcie.c                |   1 -
 drivers/net/wireless/mwifiex/scan.c                |   2 +-
 drivers/nfc/st-nci/spi.c                           |   4 +-
 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c           |   2 +-
 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c            |   2 +-
 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c   |  10 +-
 .../staging/lustre/include/linux/lnet/lib-lnet.h   |   2 +-
 drivers/staging/rtl8712/usb_intf.c                 |   1 +
 drivers/tty/mips_ejtag_fdc.c                       |  35 +-----
 drivers/tty/n_tty.c                                |   2 +-
 drivers/tty/tty_audit.c                            |   2 +-
 drivers/tty/tty_io.c                               |   4 +
 drivers/tty/tty_ioctl.c                            |   4 -
 drivers/usb/chipidea/ci_hdrc_imx.c                 | 131 ++++++++++++++++++---
 drivers/usb/chipidea/debug.c                       |   2 +
 drivers/usb/chipidea/udc.c                         |  17 +++
 drivers/usb/class/usblp.c                          |   2 +-
 drivers/usb/dwc3/core.c                            |  16 ++-
 drivers/usb/dwc3/core.h                            |  22 ++++
 drivers/usb/dwc3/dwc3-pci.c                        |  26 ++++
 drivers/usb/dwc3/gadget.c                          |  61 +++++++---
 drivers/usb/dwc3/platform_data.h                   |   1 +
 drivers/usb/gadget/udc/atmel_usba_udc.c            |   2 +-
 drivers/usb/gadget/udc/net2280.c                   |   2 +-
 drivers/usb/host/ehci-orion.c                      |   3 +-
 drivers/usb/host/xhci-ring.c                       |  32 +----
 drivers/usb/host/xhci.c                            |  10 ++
 drivers/usb/musb/musb_core.c                       |  10 +-
 drivers/usb/phy/phy-omap-otg.c                     |   2 +-
 drivers/usb/serial/option.c                        |  11 ++
 drivers/usb/serial/qcserial.c                      |  96 +++++++++++----
 drivers/usb/serial/ti_usb_3410_5052.c              |   2 +
 drivers/usb/serial/ti_usb_3410_5052.h              |   4 +
 drivers/xen/events/events_base.c                   |   5 +-
 fs/proc/array.c                                    |  16 ++-
 fs/proc/base.c                                     |   9 +-
 include/linux/tty.h                                |   6 +-
 include/net/bluetooth/hci_core.h                   |   1 +
 include/net/dst_metadata.h                         |   3 +-
 include/net/inet_common.h                          |   3 +-
 include/net/ip_fib.h                               |   2 +-
 net/bluetooth/hci_conn.c                           |  52 ++++++--
 net/bluetooth/hidp/core.c                          |  14 +++
 net/bluetooth/mgmt.c                               |  12 +-
 net/core/dst.c                                     |   2 +-
 net/ipv4/fib_frontend.c                            |  13 +-
 net/ipv4/fib_semantics.c                           |  31 ++++-
 net/ipv4/ipmr.c                                    |   6 +-
 net/ipv4/sysctl_net_ipv4.c                         |   4 +-
 net/ipv6/addrconf.c                                |   1 +
 net/ipv6/sit.c                                     |  26 +---
 net/mac80211/mlme.c                                |  21 +++-
 net/mac80211/trace.h                               |  10 +-
 net/mac80211/util.c                                |   7 ++
 net/nfc/nci/hci.c                                  |  90 ++++++++++----
 net/packet/af_packet.c                             |  80 ++++++++-----
 net/tipc/udp_media.c                               |   5 +
 net/wireless/nl80211.c                             |  12 +-
 sound/usb/midi.c                                   |  46 ++++++++
 sound/usb/quirks-table.h                           |  11 ++
 sound/usb/quirks.c                                 |   2 +
 sound/usb/usbaudio.h                               |   1 +
 136 files changed, 1218 insertions(+), 440 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1285637 — [PATCH 4.3 025/125] ARM: at91/dt: corrections to i2c1 declaration to sama5d4

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 025/125] ARM: at91/dt: corrections to i2c1 declaration to sama5d4
Message-ID<qD6d3-6qb-5@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Holger Busse <h.busse@kathrein-sachsen.de>

commit d1a9c24ad16ab2b26f1574bc3f2c165a7beff5df upstream.

Correcting the dma declaration for i2c1 dma.

Signed-off-by: Holger Busse <h.busse@kathrein-sachsen.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Fixes: 4cc7cdf35c5f ("ARM: at91/dt: add i2c1 declaration to sama5d4")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/arm/boot/dts/sama5d4.dtsi |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- a/arch/arm/boot/dts/sama5d4.dtsi
+++ b/arch/arm/boot/dts/sama5d4.dtsi
@@ -939,11 +939,11 @@
 				reg = <0xf8018000 0x4000>;
 				interrupts = <33 IRQ_TYPE_LEVEL_HIGH 6>;
 				dmas = <&dma1
-					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1))
-					AT91_XDMAC_DT_PERID(4)>,
+					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
+					| AT91_XDMAC_DT_PERID(4))>,
 				       <&dma1
-					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1))
-					AT91_XDMAC_DT_PERID(5)>;
+					(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
+					| AT91_XDMAC_DT_PERID(5))>;
 				dma-names = "tx", "rx";
 				pinctrl-names = "default";
 				pinctrl-0 = <&pinctrl_i2c1>;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285643 — [PATCH 4.3 001/125] ARM: 8449/1: fix bug in vdsomunge swab32 macro

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 001/125] ARM: 8449/1: fix bug in vdsomunge swab32 macro
Message-ID<qD6d4-6qb-17@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: "H. Nikolaus Schaller" <hns@goldelico.com>

commit 38850d786a799c3ff2de0dc1980902c3263698dc upstream.

Commit 8a603f91cc48 ("ARM: 8445/1: fix vdsomunge not to depend on
glibc specific byteswap.h") unfortunately introduced a bug created but
not found during discussion and patch simplification.

Reported-by: Efraim Yawitz <efraim.yawitz@gmail.com>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Fixes: 8a603f91cc48 ("ARM: 8445/1: fix vdsomunge not to depend on glibc specific byteswap.h")
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/arm/vdso/vdsomunge.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/arm/vdso/vdsomunge.c
+++ b/arch/arm/vdso/vdsomunge.c
@@ -66,7 +66,7 @@
 	((((x) & 0x000000ff) << 24) | \
 	 (((x) & 0x0000ff00) <<  8) | \
 	 (((x) & 0x00ff0000) >>  8) | \
-	 (((x) & 0xff000000) << 24))
+	 (((x) & 0xff000000) >> 24))
 
 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
 #define HOST_ORDER ELFDATA2LSB


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285644 — [PATCH 4.3 012/125] net: avoid NULL deref in inet_ctl_sock_destroy()

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 012/125] net: avoid NULL deref in inet_ctl_sock_destroy()
Message-ID<qD6d4-6qb-25@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Eric Dumazet <edumazet@google.com>

[ Upstream commit 8fa677d2706d325d71dab91bf6e6512c05214e37 ]

Under low memory conditions, tcp_sk_init() and icmp_sk_init()
can both iterate on all possible cpus and call inet_ctl_sock_destroy(),
with eventual NULL pointer.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 include/net/inet_common.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/include/net/inet_common.h
+++ b/include/net/inet_common.h
@@ -41,7 +41,8 @@ int inet_recv_error(struct sock *sk, str
 
 static inline void inet_ctl_sock_destroy(struct sock *sk)
 {
-	sock_release(sk->sk_socket);
+	if (sk)
+		sock_release(sk->sk_socket);
 }
 
 #endif


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285648 — [PATCH 4.3 026/125] ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 026/125] ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned
Message-ID<qD6d4-6qb-29@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Patrick Doyle <pdoyle@irobot.com>

commit 5fcf8d1a0e84792b2bc44922c5d833dab96a9c1e upstream.

fncpy() requires that the source and the destination are both 8-byte
aligned.

Signed-off-by: Patrick Doyle <pdoyle@irobot.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Fixes: d94e688cae56 ("ARM: at91/pm: move the copying the sram function to the sram initialization phase")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/arm/mach-at91/pm_suspend.S |    2 ++
 1 file changed, 2 insertions(+)

--- a/arch/arm/mach-at91/pm_suspend.S
+++ b/arch/arm/mach-at91/pm_suspend.S
@@ -80,6 +80,8 @@ tmp2	.req	r5
  *	@r2: base address of second SDRAM Controller or 0 if not present
  *	@r3: pm information
  */
+/* at91_pm_suspend_in_sram must be 8-byte aligned per the requirements of fncpy() */
+	.align 3
 ENTRY(at91_pm_suspend_in_sram)
 	/* Save registers on stack */
 	stmfd	sp!, {r4 - r12, lr}


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285649 — [PATCH 4.3 010/125] sit: fix sit0 percpu double allocations

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 010/125] sit: fix sit0 percpu double allocations
Message-ID<qD6d4-6qb-35@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Eric Dumazet <edumazet@google.com>

[ Upstream commit 4ece9009774596ee3df0acba65a324b7ea79387c ]

sit0 device allocates its percpu storage twice :
- One time in ipip6_tunnel_init()
- One time in ipip6_fb_tunnel_init()

Thus we leak 48 bytes per possible cpu per network namespace dismantle.

ipip6_fb_tunnel_init() can be much simpler and does not
return an error, and should be called after register_netdev()

Note that ipip6_tunnel_clone_6rd() also needs to be called
after register_netdev() (calling ipip6_tunnel_init())

Fixes: ebe084aafb7e ("sit: Use ipip6_tunnel_init as the ndo_init function.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 net/ipv6/sit.c |   26 ++++----------------------
 1 file changed, 4 insertions(+), 22 deletions(-)

--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -1394,34 +1394,20 @@ static int ipip6_tunnel_init(struct net_
 	return 0;
 }
 
-static int __net_init ipip6_fb_tunnel_init(struct net_device *dev)
+static void __net_init ipip6_fb_tunnel_init(struct net_device *dev)
 {
 	struct ip_tunnel *tunnel = netdev_priv(dev);
 	struct iphdr *iph = &tunnel->parms.iph;
 	struct net *net = dev_net(dev);
 	struct sit_net *sitn = net_generic(net, sit_net_id);
 
-	tunnel->dev = dev;
-	tunnel->net = dev_net(dev);
-
 	iph->version		= 4;
 	iph->protocol		= IPPROTO_IPV6;
 	iph->ihl		= 5;
 	iph->ttl		= 64;
 
-	dev->tstats = netdev_alloc_pcpu_stats(struct pcpu_sw_netstats);
-	if (!dev->tstats)
-		return -ENOMEM;
-
-	tunnel->dst_cache = alloc_percpu(struct ip_tunnel_dst);
-	if (!tunnel->dst_cache) {
-		free_percpu(dev->tstats);
-		return -ENOMEM;
-	}
-
 	dev_hold(dev);
 	rcu_assign_pointer(sitn->tunnels_wc[0], tunnel);
-	return 0;
 }
 
 static int ipip6_validate(struct nlattr *tb[], struct nlattr *data[])
@@ -1831,23 +1817,19 @@ static int __net_init sit_init_net(struc
 	 */
 	sitn->fb_tunnel_dev->features |= NETIF_F_NETNS_LOCAL;
 
-	err = ipip6_fb_tunnel_init(sitn->fb_tunnel_dev);
-	if (err)
-		goto err_dev_free;
-
-	ipip6_tunnel_clone_6rd(sitn->fb_tunnel_dev, sitn);
 	err = register_netdev(sitn->fb_tunnel_dev);
 	if (err)
 		goto err_reg_dev;
 
+	ipip6_tunnel_clone_6rd(sitn->fb_tunnel_dev, sitn);
+	ipip6_fb_tunnel_init(sitn->fb_tunnel_dev);
+
 	t = netdev_priv(sitn->fb_tunnel_dev);
 
 	strcpy(t->parms.name, sitn->fb_tunnel_dev->name);
 	return 0;
 
 err_reg_dev:
-	dev_put(sitn->fb_tunnel_dev);
-err_dev_free:
 	ipip6_dev_free(sitn->fb_tunnel_dev);
 err_alloc_dev:
 	return err;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285650 — [PATCH 4.3 013/125] ipv6: clean up dev_snmp6 proc entry when we fail to initialize inet6_dev

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 013/125] ipv6: clean up dev_snmp6 proc entry when we fail to initialize inet6_dev
Message-ID<qD6d4-6qb-37@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Sabrina Dubroca <sd@queasysnail.net>

[ Upstream commit 2a189f9e57650e9f310ddf4aad75d66c1233a064 ]

In ipv6_add_dev, when addrconf_sysctl_register fails, we do not clean up
the dev_snmp6 entry that we have already registered for this device.
Call snmp6_unregister_dev in this case.

Fixes: a317a2f19da7d ("ipv6: fail early when creating netdev named all or default")
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 net/ipv6/addrconf.c |    1 +
 1 file changed, 1 insertion(+)

--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -417,6 +417,7 @@ static struct inet6_dev *ipv6_add_dev(st
 	if (err) {
 		ipv6_mc_destroy_dev(ndev);
 		del_timer(&ndev->regen_timer);
+		snmp6_unregister_dev(ndev);
 		goto err_release;
 	}
 	/* protected by rtnl_lock */


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285651 — [PATCH 4.3 028/125] ARM: dts: Fix WLAN regression on omap5-uevm

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 028/125] ARM: dts: Fix WLAN regression on omap5-uevm
Message-ID<qD6d4-6qb-31@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Tony Lindgren <tony@atomide.com>

commit 0efc898a9bea7a2e8e583c6efab0e19dc7093078 upstream.

Commit 99f84cae43df ("ARM: dts: add wl12xx/wl18xx bindings") added
device tree bindings for the TI WLAN SDIO on many omap variants.

I recall wondering how come omap5-uevm did not have the WLAN
added and this issue has been bugging me for a while now, and
I finally tracked it down to a bad pinmux regression, and a missing
deferred probe handling for the 32k clock from palmas that's
requested by twl6040.

Basically 392adaf796b9 ("ARM: dts: omap5-evm: Add mcspi data")
added pin muxing for mcspi4 that conflicts with the onboard
WLAN. While some omap5-uevm don't have WLAN populated, the
pins are not reused for other devices. And as the SDIO bus
should be probed, let's try to enable WLAN by default.

Let's fix the regression and add the WLAN configuration as
done for the other boards in 99f84cae43df ("ARM: dts: add
wl12xx/wl18xx bindings"). And let's use the new MMC pwrseq for
the 32k clock as suggested by Javier Martinez Canillas
<javier@dowhile0.org>.

Note that without a related deferred probe fix for twl6040,
the 32k clock is not initialized if palmas-clk is a module
and twl6040 is built-in.

Let's also use the generic "non-removable" instead of the
legacy "ti,non-removable" property while at it.

And finally, note that omap5 seems to require WAKEUP_EN for
the WLAN GPIO interrupt.

Fixes: 392adaf796b9 ("ARM: dts: omap5-evm: Add mcspi data")
Cc: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/arm/boot/dts/omap5-uevm.dts |   66 ++++++++++++++++++++++++++++++++-------
 1 file changed, 55 insertions(+), 11 deletions(-)

--- a/arch/arm/boot/dts/omap5-uevm.dts
+++ b/arch/arm/boot/dts/omap5-uevm.dts
@@ -31,6 +31,24 @@
 		regulator-max-microvolt = <3000000>;
 	};
 
+	mmc3_pwrseq: sdhci0_pwrseq {
+		compatible = "mmc-pwrseq-simple";
+		clocks = <&clk32kgaudio>;
+		clock-names = "ext_clock";
+	};
+
+	vmmcsdio_fixed: fixedregulator-mmcsdio {
+		compatible = "regulator-fixed";
+		regulator-name = "vmmcsdio_fixed";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		gpio = <&gpio5 12 GPIO_ACTIVE_HIGH>;	/* gpio140 WLAN_EN */
+		enable-active-high;
+		startup-delay-us = <70000>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&wlan_pins>;
+	};
+
 	/* HS USB Host PHY on PORT 2 */
 	hsusb2_phy: hsusb2_phy {
 		compatible = "usb-nop-xceiv";
@@ -197,12 +215,20 @@
 		>;
 	};
 
-	mcspi4_pins: pinmux_mcspi4_pins {
+	mmc3_pins: pinmux_mmc3_pins {
+		pinctrl-single,pins = <
+			OMAP5_IOPAD(0x01a4, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_clk */
+			OMAP5_IOPAD(0x01a6, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_cmd */
+			OMAP5_IOPAD(0x01a8, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data0 */
+			OMAP5_IOPAD(0x01aa, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data1 */
+			OMAP5_IOPAD(0x01ac, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data2 */
+			OMAP5_IOPAD(0x01ae, PIN_INPUT_PULLUP | MUX_MODE0) /* wlsdio_data3 */
+		>;
+	};
+
+	wlan_pins: pinmux_wlan_pins {
 		pinctrl-single,pins = <
-			0x164 (PIN_INPUT | MUX_MODE1)		/*  mcspi4_clk */
-			0x168 (PIN_INPUT | MUX_MODE1)		/*  mcspi4_simo */
-			0x16a (PIN_INPUT | MUX_MODE1)		/*  mcspi4_somi */
-			0x16c (PIN_INPUT | MUX_MODE1)		/*  mcspi4_cs0 */
+			OMAP5_IOPAD(0x1bc, PIN_OUTPUT | MUX_MODE6) /* mcspi1_clk.gpio5_140 */
 		>;
 	};
 
@@ -276,6 +302,12 @@
 			0x1A (PIN_OUTPUT | MUX_MODE0) /* fref_clk1_out, USB hub clk */
 		>;
 	};
+
+	wlcore_irq_pin: pinmux_wlcore_irq_pin {
+		pinctrl-single,pins = <
+			OMAP5_IOPAD(0x040, WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE6)	/* llia_wakereqin.gpio1_wk14 */
+		>;
+	};
 };
 
 &mmc1 {
@@ -290,8 +322,25 @@
 };
 
 &mmc3 {
+	vmmc-supply = <&vmmcsdio_fixed>;
+	mmc-pwrseq = <&mmc3_pwrseq>;
 	bus-width = <4>;
-	ti,non-removable;
+	non-removable;
+	cap-power-off-card;
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc3_pins &wlcore_irq_pin>;
+	interrupts-extended = <&gic GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH
+			       &omap5_pmx_core 0x168>;
+
+	#address-cells = <1>;
+	#size-cells = <0>;
+	wlcore: wlcore@2 {
+		compatible = "ti,wl1271";
+		reg = <2>;
+		interrupt-parent = <&gpio1>;
+		interrupts = <14 IRQ_TYPE_LEVEL_HIGH>;	/* gpio 14 */
+		ref-clock-frequency = <26000000>;
+	};
 };
 
 &mmc4 {
@@ -598,11 +647,6 @@
 	pinctrl-0 = <&mcspi3_pins>;
 };
 
-&mcspi4 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&mcspi4_pins>;
-};
-
 &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart1_pins>;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285652 — [PATCH 4.3 005/125] ipv4: fix to not remove local route on link down

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 005/125] ipv4: fix to not remove local route on link down
Message-ID<qD6d4-6qb-33@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Julian Anastasov <ja@ssi.bg>

[ Upstream commit 4f823defdd5b106a5e89745ee8b163c71855de1e ]

When fib_netdev_event calls fib_disable_ip on NETDEV_DOWN event
we should not delete the local routes if the local address
is still present. The confusion comes from the fact that both
fib_netdev_event and fib_inetaddr_event use the NETDEV_DOWN
constant. Fix it by returning back the variable 'force'.

Steps to reproduce:
modprobe dummy
ifconfig dummy0 192.168.168.1 up
ifconfig dummy0 down
ip route list table local | grep dummy | grep host
local 192.168.168.1 dev dummy0  proto kernel  scope host  src 192.168.168.1

Fixes: 8a3d03166f19 ("net: track link-status of ipv4 nexthops")
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 include/net/ip_fib.h     |    2 +-
 net/ipv4/fib_frontend.c  |   13 +++++++------
 net/ipv4/fib_semantics.c |   11 ++++++++---
 3 files changed, 16 insertions(+), 10 deletions(-)

--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -317,7 +317,7 @@ void fib_flush_external(struct net *net)
 
 /* Exported by fib_semantics.c */
 int ip_fib_check_default(__be32 gw, struct net_device *dev);
-int fib_sync_down_dev(struct net_device *dev, unsigned long event);
+int fib_sync_down_dev(struct net_device *dev, unsigned long event, bool force);
 int fib_sync_down_addr(struct net *net, __be32 local);
 int fib_sync_up(struct net_device *dev, unsigned int nh_flags);
 void fib_select_multipath(struct fib_result *res);
--- a/net/ipv4/fib_frontend.c
+++ b/net/ipv4/fib_frontend.c
@@ -1110,9 +1110,10 @@ static void nl_fib_lookup_exit(struct ne
 	net->ipv4.fibnl = NULL;
 }
 
-static void fib_disable_ip(struct net_device *dev, unsigned long event)
+static void fib_disable_ip(struct net_device *dev, unsigned long event,
+			   bool force)
 {
-	if (fib_sync_down_dev(dev, event))
+	if (fib_sync_down_dev(dev, event, force))
 		fib_flush(dev_net(dev));
 	rt_cache_flush(dev_net(dev));
 	arp_ifdown(dev);
@@ -1140,7 +1141,7 @@ static int fib_inetaddr_event(struct not
 			/* Last address was deleted from this interface.
 			 * Disable IP.
 			 */
-			fib_disable_ip(dev, event);
+			fib_disable_ip(dev, event, true);
 		} else {
 			rt_cache_flush(dev_net(dev));
 		}
@@ -1157,7 +1158,7 @@ static int fib_netdev_event(struct notif
 	unsigned int flags;
 
 	if (event == NETDEV_UNREGISTER) {
-		fib_disable_ip(dev, event);
+		fib_disable_ip(dev, event, true);
 		rt_flush_dev(dev);
 		return NOTIFY_DONE;
 	}
@@ -1178,14 +1179,14 @@ static int fib_netdev_event(struct notif
 		rt_cache_flush(net);
 		break;
 	case NETDEV_DOWN:
-		fib_disable_ip(dev, event);
+		fib_disable_ip(dev, event, false);
 		break;
 	case NETDEV_CHANGE:
 		flags = dev_get_flags(dev);
 		if (flags & (IFF_RUNNING | IFF_LOWER_UP))
 			fib_sync_up(dev, RTNH_F_LINKDOWN);
 		else
-			fib_sync_down_dev(dev, event);
+			fib_sync_down_dev(dev, event, false);
 		/* fall through */
 	case NETDEV_CHANGEMTU:
 		rt_cache_flush(net);
--- a/net/ipv4/fib_semantics.c
+++ b/net/ipv4/fib_semantics.c
@@ -1281,7 +1281,13 @@ int fib_sync_down_addr(struct net *net,
 	return ret;
 }
 
-int fib_sync_down_dev(struct net_device *dev, unsigned long event)
+/* Event              force Flags           Description
+ * NETDEV_CHANGE      0     LINKDOWN        Carrier OFF, not for scope host
+ * NETDEV_DOWN        0     LINKDOWN|DEAD   Link down, not for scope host
+ * NETDEV_DOWN        1     LINKDOWN|DEAD   Last address removed
+ * NETDEV_UNREGISTER  1     LINKDOWN|DEAD   Device removed
+ */
+int fib_sync_down_dev(struct net_device *dev, unsigned long event, bool force)
 {
 	int ret = 0;
 	int scope = RT_SCOPE_NOWHERE;
@@ -1290,8 +1296,7 @@ int fib_sync_down_dev(struct net_device
 	struct hlist_head *head = &fib_info_devhash[hash];
 	struct fib_nh *nh;
 
-	if (event == NETDEV_UNREGISTER ||
-	    event == NETDEV_DOWN)
+	if (force)
 		scope = -1;
 
 	hlist_for_each_entry(nh, head, nh_hash) {


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285653 — [PATCH 4.3 004/125] net: bcmgenet: Software reset EPHY after power on

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 004/125] net: bcmgenet: Software reset EPHY after power on
Message-ID<qD6d5-6qb-43@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Florian Fainelli <f.fainelli@gmail.com>

[ Upstream commit 5dbebbb44a6ad94aab2cd1a46f7676f255403f64 ]

The EPHY on GENET v1->v3 is extremely finicky, and will show occasional
failures based on the timing and reset sequence, ranging from duplicate
packets, to extremely high latencies.

Perform an additional software reset, and re-configuration to make sure it is
in a consistent and working state.

Fixes: 6ac3ce8295e6 ("net: bcmgenet: Remove excessive PHY reset")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/net/ethernet/broadcom/genet/bcmgenet.c |    4 +++-
 drivers/net/ethernet/broadcom/genet/bcmgenet.h |    1 +
 drivers/net/ethernet/broadcom/genet/bcmmii.c   |   18 ++++++++++++++++++
 3 files changed, 22 insertions(+), 1 deletion(-)

--- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c
+++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c
@@ -907,8 +907,10 @@ static void bcmgenet_power_up(struct bcm
 	}
 
 	bcmgenet_ext_writel(priv, reg, EXT_EXT_PWR_MGMT);
-	if (mode == GENET_POWER_PASSIVE)
+	if (mode == GENET_POWER_PASSIVE) {
 		bcmgenet_phy_power_set(priv->dev, true);
+		bcmgenet_mii_reset(priv->dev);
+	}
 }
 
 /* ioctl handle special commands that are not present in ethtool. */
--- a/drivers/net/ethernet/broadcom/genet/bcmgenet.h
+++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.h
@@ -674,6 +674,7 @@ int bcmgenet_mii_init(struct net_device
 int bcmgenet_mii_config(struct net_device *dev);
 int bcmgenet_mii_probe(struct net_device *dev);
 void bcmgenet_mii_exit(struct net_device *dev);
+void bcmgenet_mii_reset(struct net_device *dev);
 void bcmgenet_phy_power_set(struct net_device *dev, bool enable);
 void bcmgenet_mii_setup(struct net_device *dev);
 
--- a/drivers/net/ethernet/broadcom/genet/bcmmii.c
+++ b/drivers/net/ethernet/broadcom/genet/bcmmii.c
@@ -163,6 +163,7 @@ void bcmgenet_mii_setup(struct net_devic
 	phy_print_status(phydev);
 }
 
+
 static int bcmgenet_fixed_phy_link_update(struct net_device *dev,
 					  struct fixed_phy_status *status)
 {
@@ -172,6 +173,22 @@ static int bcmgenet_fixed_phy_link_updat
 	return 0;
 }
 
+/* Perform a voluntary PHY software reset, since the EPHY is very finicky about
+ * not doing it and will start corrupting packets
+ */
+void bcmgenet_mii_reset(struct net_device *dev)
+{
+	struct bcmgenet_priv *priv = netdev_priv(dev);
+
+	if (GENET_IS_V4(priv))
+		return;
+
+	if (priv->phydev) {
+		phy_init_hw(priv->phydev);
+		phy_start_aneg(priv->phydev);
+	}
+}
+
 void bcmgenet_phy_power_set(struct net_device *dev, bool enable)
 {
 	struct bcmgenet_priv *priv = netdev_priv(dev);
@@ -214,6 +231,7 @@ static void bcmgenet_internal_phy_setup(
 	reg = bcmgenet_ext_readl(priv, EXT_EXT_PWR_MGMT);
 	reg |= EXT_PWR_DN_EN_LD;
 	bcmgenet_ext_writel(priv, reg, EXT_EXT_PWR_MGMT);
+	bcmgenet_mii_reset(dev);
 }
 
 static void bcmgenet_moca_phy_setup(struct bcmgenet_priv *priv)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285654 — [PATCH 4.3 006/125] ipv4: update RTNH_F_LINKDOWN flag on UP event

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 006/125] ipv4: update RTNH_F_LINKDOWN flag on UP event
Message-ID<qD6d5-6qb-45@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Julian Anastasov <ja@ssi.bg>

[ Upstream commit c9b3292eeb52c6834e972eb5b8fe38914771ed12 ]

When nexthop is part of multipath route we should clear the
LINKDOWN flag when link goes UP or when first address is added.
This is needed because we always set LINKDOWN flag when DEAD flag
was set but now on UP the nexthop is not dead anymore. Examples when
LINKDOWN bit can be forgotten when no NETDEV_CHANGE is delivered:

- link goes down (LINKDOWN is set), then link goes UP and device
shows carrier OK but LINKDOWN remains set

- last address is deleted (LINKDOWN is set), then address is
added and device shows carrier OK but LINKDOWN remains set

Steps to reproduce:
modprobe dummy
ifconfig dummy0 192.168.168.1 up

here add a multipath route where one nexthop is for dummy0:

ip route add 1.2.3.4 nexthop dummy0 nexthop SOME_OTHER_DEVICE
ifconfig dummy0 down
ifconfig dummy0 up

now ip route shows nexthop that is not dead. Now set the sysctl var:

echo 1 > /proc/sys/net/ipv4/conf/dummy0/ignore_routes_with_linkdown

now ip route will show a dead nexthop because the forgotten
RTNH_F_LINKDOWN is propagated as RTNH_F_DEAD.

Fixes: 8a3d03166f19 ("net: track link-status of ipv4 nexthops")
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 net/ipv4/fib_semantics.c |    7 +++++++
 1 file changed, 7 insertions(+)

--- a/net/ipv4/fib_semantics.c
+++ b/net/ipv4/fib_semantics.c
@@ -1445,6 +1445,13 @@ int fib_sync_up(struct net_device *dev,
 	if (!(dev->flags & IFF_UP))
 		return 0;
 
+	if (nh_flags & RTNH_F_DEAD) {
+		unsigned int flags = dev_get_flags(dev);
+
+		if (flags & (IFF_RUNNING | IFF_LOWER_UP))
+			nh_flags |= RTNH_F_LINKDOWN;
+	}
+
 	prev_fi = NULL;
 	hash = fib_devindex_hashfn(dev->ifindex);
 	head = &fib_info_devhash[hash];


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285655 — [PATCH 4.3 011/125] sfc: push partner queue for skb->xmit_more

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 011/125] sfc: push partner queue for skb->xmit_more
Message-ID<qD6d5-6qb-39@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Martin Habets <mhabets@solarflare.com>

[ Upstream commit b2663a4f30e85ec606b806f5135413e6d5c78d1e ]

When the IP stack passes SKBs the sfc driver puts them in 2 different TX
queues (called partners), one for checksummed and one for not checksummed.
If the SKB has xmit_more set the driver will delay pushing the work to the
NIC.

When later it does decide to push the buffers this patch ensures it also
pushes the partner queue, if that also has any delayed work. Before this
fix the work in the partner queue would be left for a long time and cause
a netdev watchdog.

Fixes: 70b33fb ("sfc: add support for skb->xmit_more")
Reported-by: Jianlin Shi <jishi@redhat.com>
Signed-off-by: Martin Habets <mhabets@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/net/ethernet/sfc/ef10.c       |    4 +++-
 drivers/net/ethernet/sfc/farch.c      |    4 +++-
 drivers/net/ethernet/sfc/net_driver.h |    2 ++
 drivers/net/ethernet/sfc/tx.c         |   30 ++++++++++++++++++++++++++++--
 4 files changed, 36 insertions(+), 4 deletions(-)

--- a/drivers/net/ethernet/sfc/ef10.c
+++ b/drivers/net/ethernet/sfc/ef10.c
@@ -1849,7 +1849,9 @@ static void efx_ef10_tx_write(struct efx
 	unsigned int write_ptr;
 	efx_qword_t *txd;
 
-	BUG_ON(tx_queue->write_count == tx_queue->insert_count);
+	tx_queue->xmit_more_available = false;
+	if (unlikely(tx_queue->write_count == tx_queue->insert_count))
+		return;
 
 	do {
 		write_ptr = tx_queue->write_count & tx_queue->ptr_mask;
--- a/drivers/net/ethernet/sfc/farch.c
+++ b/drivers/net/ethernet/sfc/farch.c
@@ -321,7 +321,9 @@ void efx_farch_tx_write(struct efx_tx_qu
 	unsigned write_ptr;
 	unsigned old_write_count = tx_queue->write_count;
 
-	BUG_ON(tx_queue->write_count == tx_queue->insert_count);
+	tx_queue->xmit_more_available = false;
+	if (unlikely(tx_queue->write_count == tx_queue->insert_count))
+		return;
 
 	do {
 		write_ptr = tx_queue->write_count & tx_queue->ptr_mask;
--- a/drivers/net/ethernet/sfc/net_driver.h
+++ b/drivers/net/ethernet/sfc/net_driver.h
@@ -219,6 +219,7 @@ struct efx_tx_buffer {
  * @tso_packets: Number of packets via the TSO xmit path
  * @pushes: Number of times the TX push feature has been used
  * @pio_packets: Number of times the TX PIO feature has been used
+ * @xmit_more_available: Are any packets waiting to be pushed to the NIC
  * @empty_read_count: If the completion path has seen the queue as empty
  *	and the transmission path has not yet checked this, the value of
  *	@read_count bitwise-added to %EFX_EMPTY_COUNT_VALID; otherwise 0.
@@ -253,6 +254,7 @@ struct efx_tx_queue {
 	unsigned int tso_packets;
 	unsigned int pushes;
 	unsigned int pio_packets;
+	bool xmit_more_available;
 	/* Statistics to supplement MAC stats */
 	unsigned long tx_packets;
 
--- a/drivers/net/ethernet/sfc/tx.c
+++ b/drivers/net/ethernet/sfc/tx.c
@@ -431,8 +431,20 @@ finish_packet:
 	efx_tx_maybe_stop_queue(tx_queue);
 
 	/* Pass off to hardware */
-	if (!skb->xmit_more || netif_xmit_stopped(tx_queue->core_txq))
+	if (!skb->xmit_more || netif_xmit_stopped(tx_queue->core_txq)) {
+		struct efx_tx_queue *txq2 = efx_tx_queue_partner(tx_queue);
+
+		/* There could be packets left on the partner queue if those
+		 * SKBs had skb->xmit_more set. If we do not push those they
+		 * could be left for a long time and cause a netdev watchdog.
+		 */
+		if (txq2->xmit_more_available)
+			efx_nic_push_buffers(txq2);
+
 		efx_nic_push_buffers(tx_queue);
+	} else {
+		tx_queue->xmit_more_available = skb->xmit_more;
+	}
 
 	tx_queue->tx_packets++;
 
@@ -722,6 +734,7 @@ void efx_init_tx_queue(struct efx_tx_que
 	tx_queue->read_count = 0;
 	tx_queue->old_read_count = 0;
 	tx_queue->empty_read_count = 0 | EFX_EMPTY_COUNT_VALID;
+	tx_queue->xmit_more_available = false;
 
 	/* Set up TX descriptor ring */
 	efx_nic_init_tx(tx_queue);
@@ -747,6 +760,7 @@ void efx_fini_tx_queue(struct efx_tx_que
 
 		++tx_queue->read_count;
 	}
+	tx_queue->xmit_more_available = false;
 	netdev_tx_reset_queue(tx_queue->core_txq);
 }
 
@@ -1302,8 +1316,20 @@ static int efx_enqueue_skb_tso(struct ef
 	efx_tx_maybe_stop_queue(tx_queue);
 
 	/* Pass off to hardware */
-	if (!skb->xmit_more || netif_xmit_stopped(tx_queue->core_txq))
+	if (!skb->xmit_more || netif_xmit_stopped(tx_queue->core_txq)) {
+		struct efx_tx_queue *txq2 = efx_tx_queue_partner(tx_queue);
+
+		/* There could be packets left on the partner queue if those
+		 * SKBs had skb->xmit_more set. If we do not push those they
+		 * could be left for a long time and cause a netdev watchdog.
+		 */
+		if (txq2->xmit_more_available)
+			efx_nic_push_buffers(txq2);
+
 		efx_nic_push_buffers(tx_queue);
+	} else {
+		tx_queue->xmit_more_available = skb->xmit_more;
+	}
 
 	tx_queue->tso_bursts++;
 	return NETDEV_TX_OK;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285657 — [PATCH 4.3 015/125] net: Fix prefsrc lookups

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 015/125] net: Fix prefsrc lookups
Message-ID<qD6d5-6qb-47@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: David Ahern <dsa@cumulusnetworks.com>

[ Upstream commit e1b8d903c6c3862160d2d5036806a94786c8fc4e ]

A bug report (https://bugzilla.kernel.org/show_bug.cgi?id=107071) noted
that the follwoing ip command is failing with v4.3:

    $ ip route add 10.248.5.0/24 dev bond0.250 table vlan_250 src 10.248.5.154
    RTNETLINK answers: Invalid argument

021dd3b8a142d changed the lookup of the given preferred source address to
use the table id passed in, but this assumes the local entries are in the
given table which is not necessarily true for non-VRF use cases. When
validating the preferred source fallback to the local table on failure.

Fixes: 021dd3b8a142d ("net: Add routes to the table associated with the device")
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 net/ipv4/fib_semantics.c |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

--- a/net/ipv4/fib_semantics.c
+++ b/net/ipv4/fib_semantics.c
@@ -864,14 +864,21 @@ static bool fib_valid_prefsrc(struct fib
 	if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst ||
 	    fib_prefsrc != cfg->fc_dst) {
 		u32 tb_id = cfg->fc_table;
+		int rc;
 
 		if (tb_id == RT_TABLE_MAIN)
 			tb_id = RT_TABLE_LOCAL;
 
-		if (inet_addr_type_table(cfg->fc_nlinfo.nl_net,
-					 fib_prefsrc, tb_id) != RTN_LOCAL) {
-			return false;
+		rc = inet_addr_type_table(cfg->fc_nlinfo.nl_net,
+					  fib_prefsrc, tb_id);
+
+		if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) {
+			rc = inet_addr_type_table(cfg->fc_nlinfo.nl_net,
+						  fib_prefsrc, RT_TABLE_LOCAL);
 		}
+
+		if (rc != RTN_LOCAL)
+			return false;
 	}
 	return true;
 }


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285658 — [PATCH 4.3 003/125] tipc: linearize arriving NAME_DISTR and LINK_PROTO buffers

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 003/125] tipc: linearize arriving NAME_DISTR and LINK_PROTO buffers
Message-ID<qD6d5-6qb-41@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Jon Paul Maloy <jon.maloy@ericsson.com>

[ Upstream commit 5cbb28a4bf65c7e4daa6c25b651fed8eb888c620 ]

Testing of the new UDP bearer has revealed that reception of
NAME_DISTRIBUTOR, LINK_PROTOCOL/RESET and LINK_PROTOCOL/ACTIVATE
message buffers is not prepared for the case that those may be
non-linear.

We now linearize all such buffers before they are delivered up to the
generic reception layer.

In order for the commit to apply cleanly to 'net' and 'stable', we do
the change in the function tipc_udp_recv() for now. Later, we will post
a commit to 'net-next' moving the linearization to generic code, in
tipc_named_rcv() and tipc_link_proto_rcv().

Fixes: commit d0f91938bede ("tipc: add ip/udp media type")
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 net/tipc/udp_media.c |    5 +++++
 1 file changed, 5 insertions(+)

--- a/net/tipc/udp_media.c
+++ b/net/tipc/udp_media.c
@@ -48,6 +48,7 @@
 #include <linux/tipc_netlink.h>
 #include "core.h"
 #include "bearer.h"
+#include "msg.h"
 
 /* IANA assigned UDP port */
 #define UDP_PORT_DEFAULT	6118
@@ -222,6 +223,10 @@ static int tipc_udp_recv(struct sock *sk
 {
 	struct udp_bearer *ub;
 	struct tipc_bearer *b;
+	int usr = msg_user(buf_msg(skb));
+
+	if ((usr == LINK_PROTOCOL) || (usr == NAME_DISTRIBUTOR))
+		skb_linearize(skb);
 
 	ub = rcu_dereference_sk_user_data(sk);
 	if (!ub) {


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285660 — [PATCH 4.3 027/125] ARM: dts: Add vbus regulator to USB2 phy nodes on exynos3250, exynos4210 and exynos4412 boards

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 027/125] ARM: dts: Add vbus regulator to USB2 phy nodes on exynos3250, exynos4210 and exynos4412 boards
Message-ID<qD6d5-6qb-57@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Marek Szyprowski <m.szyprowski@samsung.com>

commit 4ae9a4c66cdcb8b5d4e4d904846f1b450dbcabb4 upstream.

Exynos USB2 PHY driver now supports VBUS regulator, so add it to all
boards which have it available. This also fixes commit
7eec1266751b ("ARM: dts: Add Maxim 77693 PMIC to exynos4412-trats2"),
which added new regulators to Trats2 board, but without linking them to
the consumers.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Fixes: 7eec1266751b ("ARM: dts: Add Maxim 77693 PMIC to exynos4412-trats2")
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/arm/boot/dts/exynos3250-monk.dts           |    1 +
 arch/arm/boot/dts/exynos3250-rinato.dts         |    1 +
 arch/arm/boot/dts/exynos4210-trats.dts          |    2 +-
 arch/arm/boot/dts/exynos4210-universal_c210.dts |    2 +-
 arch/arm/boot/dts/exynos4412-trats2.dts         |    1 +
 5 files changed, 5 insertions(+), 2 deletions(-)

--- a/arch/arm/boot/dts/exynos3250-monk.dts
+++ b/arch/arm/boot/dts/exynos3250-monk.dts
@@ -161,6 +161,7 @@
 };
 
 &exynos_usbphy {
+	vbus-supply = <&safeout_reg>;
 	status = "okay";
 };
 
--- a/arch/arm/boot/dts/exynos3250-rinato.dts
+++ b/arch/arm/boot/dts/exynos3250-rinato.dts
@@ -153,6 +153,7 @@
 
 &exynos_usbphy {
 	status = "okay";
+	vbus-supply = <&safeout_reg>;
 };
 
 &hsotg {
--- a/arch/arm/boot/dts/exynos4210-trats.dts
+++ b/arch/arm/boot/dts/exynos4210-trats.dts
@@ -251,6 +251,7 @@
 
 &exynos_usbphy {
 	status = "okay";
+	vbus-supply = <&safe1_sreg>;
 };
 
 &fimd {
@@ -448,7 +449,6 @@
 
 			safe1_sreg: ESAFEOUT1 {
 			     regulator-name = "SAFEOUT1";
-			     regulator-always-on;
 			};
 
 			safe2_sreg: ESAFEOUT2 {
--- a/arch/arm/boot/dts/exynos4210-universal_c210.dts
+++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts
@@ -248,6 +248,7 @@
 
 &exynos_usbphy {
 	status = "okay";
+	vbus-supply = <&safeout1_reg>;
 };
 
 &fimd {
@@ -486,7 +487,6 @@
 
 			safeout1_reg: ESAFEOUT1 {
 				regulator-name = "SAFEOUT1";
-				regulator-always-on;
 			};
 
 			safeout2_reg: ESAFEOUT2 {
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -391,6 +391,7 @@
 };
 
 &exynos_usbphy {
+	vbus-supply = <&esafeout1_reg>;
 	status = "okay";
 };
 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285663 — [PATCH 4.3 007/125] stmmac: Correctly report PTP capabilities.

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-07 16:50 +0100
Subject[PATCH 4.3 007/125] stmmac: Correctly report PTP capabilities.
Message-ID<qD6d5-6qb-63@gated-at.bofh.it>
In reply to#1285636
4.3-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Phil Reid <preid@electromag.com.au>

[ Upstream commit e6dbe1eb2db0d7a14991c06278dd3030c45fb825 ]

priv->hwts_*_en indicate if timestamping is enabled/disabled at run
time. But  priv->dma_cap.time_stamp  and priv->dma_cap.atime_stamp
indicates HW is support for PTPv1/PTPv2.

Signed-off-by: Phil Reid <preid@electromag.com.au>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
@@ -721,10 +721,13 @@ static int stmmac_get_ts_info(struct net
 {
 	struct stmmac_priv *priv = netdev_priv(dev);
 
-	if ((priv->hwts_tx_en) && (priv->hwts_rx_en)) {
+	if ((priv->dma_cap.time_stamp || priv->dma_cap.atime_stamp)) {
 
-		info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
+		info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
+					SOF_TIMESTAMPING_TX_HARDWARE |
+					SOF_TIMESTAMPING_RX_SOFTWARE |
 					SOF_TIMESTAMPING_RX_HARDWARE |
+					SOF_TIMESTAMPING_SOFTWARE |
 					SOF_TIMESTAMPING_RAW_HARDWARE;
 
 		if (priv->ptp_clock)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285812

FromShuah Khan <shuahkh@osg.samsung.com>
Date2015-12-07 18:20 +0100
Message-ID<qD7Ca-7uL-13@gated-at.bofh.it>
In reply to#1285636
On 12/07/2015 08:00 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.3.1 release.
> There are 125 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
> 
> Responses should be made by Wed Dec  9 14:57:09 UTC 2015.
> Anything received after that time might be too late.
> 
> The whole patch series can be found in one patch at:
> 	kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.3.1-rc1.gz
> and the diffstat can be found below.
> 
> thanks,
> 
> greg k-h
> 

Compiled and booted on my test system. No dmesg regressions.

thanks,
-- Shuah

-- 
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@osg.samsung.com | (970) 217-8978
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1287049

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-09 04:20 +0100
Message-ID<qDDsm-2Lw-25@gated-at.bofh.it>
In reply to#1285812
On Mon, Dec 07, 2015 at 10:19:32AM -0700, Shuah Khan wrote:
> On 12/07/2015 08:00 AM, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 4.3.1 release.
> > There are 125 patches in this series, all will be posted as a response
> > to this one.  If anyone has any issues with these being applied, please
> > let me know.
> > 
> > Responses should be made by Wed Dec  9 14:57:09 UTC 2015.
> > Anything received after that time might be too late.
> > 
> > The whole patch series can be found in one patch at:
> > 	kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.3.1-rc1.gz
> > and the diffstat can be found below.
> > 
> > thanks,
> > 
> > greg k-h
> > 
> 
> Compiled and booted on my test system. No dmesg regressions.

Thanks for testing all of these and letting me know.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285955

FromGuenter Roeck <linux@roeck-us.net>
Date2015-12-07 22:30 +0100
Message-ID<qDbw7-1y2-47@gated-at.bofh.it>
In reply to#1285636
On Mon, Dec 07, 2015 at 10:00:13AM -0500, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.3.1 release.
> There are 125 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
> 
> Responses should be made by Wed Dec  9 14:57:09 UTC 2015.
> Anything received after that time might be too late.
> 
Build results:
	total: 145 pass: 143 fail: 2
Failed builds:
	s390:defconfig
	s390:allmodconfig

Qemu test results:
	total: 95 pass: 94 fail: 1
Failed tests:
	s390:defconfig

Same failures and cause as with 4.1.y.

Details are available at http://server.roeck-us.net:8010/builders.

Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1287059

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-12-09 04:30 +0100
Message-ID<qDDC2-2Px-23@gated-at.bofh.it>
In reply to#1285955
On Mon, Dec 07, 2015 at 01:28:44PM -0800, Guenter Roeck wrote:
> On Mon, Dec 07, 2015 at 10:00:13AM -0500, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 4.3.1 release.
> > There are 125 patches in this series, all will be posted as a response
> > to this one.  If anyone has any issues with these being applied, please
> > let me know.
> > 
> > Responses should be made by Wed Dec  9 14:57:09 UTC 2015.
> > Anything received after that time might be too late.
> > 
> Build results:
> 	total: 145 pass: 143 fail: 2
> Failed builds:
> 	s390:defconfig
> 	s390:allmodconfig
> 
> Qemu test results:
> 	total: 95 pass: 94 fail: 1
> Failed tests:
> 	s390:defconfig
> 
> Same failures and cause as with 4.1.y.

Thanks for letting me know, should now be fixed.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web