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


Groups > linux.kernel > #1639805 > unrolled thread

[PATCH 4.10 000/129] 4.10.16-stable review

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2017-05-11 18:00 +0200
Last post2017-05-12 22:00 +0200
Articles 19 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 4.10 000/129] 4.10.16-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    [PATCH 4.10 051/129] iwlwifi: mvm: fix reorder timer re-arming Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    [PATCH 4.10 028/129] arm64: remove wrong CONFIG_PROC_SYSCTL ifdef Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    [PATCH 4.10 041/129] mwifiex: Avoid skipping WEP key deletion for AP Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    [PATCH 4.10 050/129] iwlwifi: pcie: fix the set of DMA memory mask Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    [PATCH 4.10 039/129] mwifiex: debugfs: Fix (sometimes) off-by-1 SSID print Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    [PATCH 4.10 057/129] iwlwifi: mvm: writing zero bytes to debugfs causes a crash Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    [PATCH 4.10 014/129] powerpc/mm: Fixup wrong LPCR_VRMASD value Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    [PATCH 4.10 030/129] spi: armada-3700: Remove spi_master_put in a3700_spi_remove() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    [PATCH 4.10 020/129] power: supply: bq24190_charger: Fix irq trigger to IRQF_TRIGGER_FALLING Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    [PATCH 4.10 048/129] iwlwifi: pcie: dont increment / decrement a bool Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    [PATCH 4.10 021/129] power: supply: bq24190_charger: Call set_mode_host() on pm_resume() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    [PATCH 4.10 017/129] powerpc/ftrace: Fix confusing help text for DISABLE_MPROFILE_KERNEL Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:00 +0200
    Re: [PATCH 4.10 000/129] 4.10.16-stable review Shuah Khan <shuahkh@osg.samsung.com> - 2017-05-11 18:10 +0200
      Re: [PATCH 4.10 000/129] 4.10.16-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 19:50 +0200
        Re: [PATCH 4.10 000/129] 4.10.16-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 20:20 +0200
    [PATCH 4.10 001/129] 9p: fix a potential acl leak Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-05-11 18:10 +0200
    Re: [PATCH 4.10 000/129] 4.10.16-stable review Shuah Khan <shuahkh@osg.samsung.com> - 2017-05-12 17:30 +0200
    Re: [PATCH 4.10 000/129] 4.10.16-stable review Guenter Roeck <linux@roeck-us.net> - 2017-05-12 22:00 +0200

#1639805 — [PATCH 4.10 000/129] 4.10.16-stable review

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 000/129] 4.10.16-stable review
Message-ID<tFX6F-7p4-3@gated-at.bofh.it>
This is the start of the stable review cycle for the 4.10.16 release.
There are 129 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 Sat May 13 14:11:48 UTC 2017.
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.10.16-rc1.gz
or in the git tree and branch at:
  git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.10.y
and the diffstat can be found below.

thanks,

greg k-h

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

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

Ilya Dryomov <idryomov@gmail.com>
    block: get rid of blk_integrity_revalidate()

Nicolai Hähnle <nicolai.haehnle@amd.com>
    drm/ttm: fix use-after-free races in vm fault handling

Dan Carpenter <dan.carpenter@oracle.com>
    drm: mxsfb: drm_dev_alloc() returns error pointers

Wei Yongjun <weiyongjun1@huawei.com>
    drm/hisilicon/hibmc: Fix wrong pointer passed to PTR_ERR()

Boris Ostrovsky <boris.ostrovsky@oracle.com>
    xen: Revert commits da72ff5bfcb0 and 72a9b186292d

Jin Qian <jinqian@google.com>
    f2fs: sanity check segment count

Jarno Rajahalme <jarno@ovn.org>
    openvswitch: Set internal device max mtu to ETH_MAX_MTU.

Jon Mason <jon.mason@broadcom.com>
    net: mdio-mux: bcm-iproc: call mdiobus_free() in error path

Daniel Borkmann <daniel@iogearbox.net>
    bpf: don't let ldimm64 leak map addresses on unprivileged

Dan Carpenter <dan.carpenter@oracle.com>
    bnxt_en: allocate enough space for ->ntp_fltr_bmap

WANG Cong <xiyou.wangcong@gmail.com>
    ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf

WANG Cong <xiyou.wangcong@gmail.com>
    ipv6: initialize route null entry in addrconf_init()

Michal Schmidt <mschmidt@redhat.com>
    rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string

Alexander Potapenko <glider@google.com>
    ipv4, ipv6: ensure raw socket message is big enough to hold an IP header

Eric Dumazet <edumazet@google.com>
    tcp: do not inherit fastopen_req from parent

Daniele Palmas <dnlplm@gmail.com>
    net: usb: qmi_wwan: add Telit ME910 support

David Ahern <dsahern@gmail.com>
    net: ipv6: Do not duplicate DAD on link up

Eric Dumazet <edumazet@google.com>
    tcp: fix wraparound issue in tcp_lp

Daniel Borkmann <daniel@iogearbox.net>
    bpf, arm64: fix jit branch offset related to ldimm64

Yonghong Song <yhs@fb.com>
    bpf: enhance verifier to understand stack pointer arithmetic

Girish Moodalbail <girish.moodalbail@oracle.com>
    geneve: fix incorrect setting of UDP checksum flag

Alexandre Belloni <alexandre.belloni@free-electrons.com>
    net: macb: fix phy interrupt parsing

Eric Dumazet <edumazet@google.com>
    net: adjust skb->truesize in ___pskb_trim()

Eric Dumazet <edumazet@google.com>
    tcp: do not underestimate skb->truesize in tcp_trim_head()

Jason A. Donenfeld <Jason@zx2c4.com>
    macsec: dynamically allocate space for sglist

Dave Aldridge <david.j.aldridge@oracle.com>
    sparc64: fix fault handling in NGbzero.S and GENbzero.S

Takashi Iwai <tiwai@suse.de>
    ALSA: hda - Fix deadlock of controller device lock at unbinding

Arnd Bergmann <arnd@arndb.de>
    staging: lustre: ptlrpc: avoid warning on missing return

Arnd Bergmann <arnd@arndb.de>
    staging: emxx_udc: remove incorrect __init annotations

Igor Pylypiv <igor.pylypiv@gmail.com>
    staging: wlan-ng: add missing byte order conversion

Oleg Drokin <green@linuxhacker.ru>
    staging/lustre/llite: move root_squash from sysfs to debugfs

James Hughes <james.hughes@raspberrypi.org>
    brcmfmac: Make skb header writable before use

James Hughes <james.hughes@raspberrypi.org>
    brcmfmac: Ensure pointer correctly set if skb data location changes

Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
    MIPS: R2-on-R6 MULTU/MADDU/MSUBU emulation bugfix

Arnd Bergmann <arnd@arndb.de>
    scsi: smartpqi: fix time handling

Dan Carpenter <dan.carpenter@oracle.com>
    scsi: scsi_dh_emc: return success in clariion_std_inquiry()

Finn Thain <fthain@telegraphics.com.au>
    scsi: mac_scsi: Fix MAC_SCSI=m option when SCSI=m

Bill Kuzeja <William.Kuzeja@stratus.com>
    scsi: qla2xxx: Fix crash in qla2xxx_eh_abort on bad ptr

Arnd Bergmann <arnd@arndb.de>
    scsi: qedi: fix build error without DEBUG_FS

Wei Yongjun <weiyongjun1@huawei.com>
    scsi: qedi: Fix possible memory leak in qedi_iscsi_update_conn()

Tony Lindgren <tony@atomide.com>
    serial: 8250_omap: Fix probe and remove for PM runtime

Stephen Boyd <stephen.boyd@linaro.org>
    phy: qcom-usb-hs: Add depends on EXTCON

Heiko Stuebner <heiko@sntech.de>
    clk: rockchip: add "," to mux_pll_src_apll_dpll_gpll_usb480m_p on rk3036

Johan Hovold <johan@kernel.org>
    USB: serial: sierra: fix bogus alternate-setting assumption

Johan Hovold <johan@kernel.org>
    USB: serial: io_edgeport: fix descriptor error handling

Johan Hovold <johan@kernel.org>
    USB: serial: ch341: fix modem-status handling

Johan Hovold <johan@kernel.org>
    USB: serial: mct_u232: fix modem-status error handling

Johan Hovold <johan@kernel.org>
    USB: serial: quatech2: fix control-message error handling

Johan Hovold <johan@kernel.org>
    USB: serial: ftdi_sio: fix latency-timer error handling

Johan Hovold <johan@kernel.org>
    USB: serial: ark3116: fix open error handling

Johan Hovold <johan@kernel.org>
    USB: serial: ti_usb_3410_5052: fix control-message error handling

Johan Hovold <johan@kernel.org>
    USB: serial: io_edgeport: fix epic-descriptor handling

Johan Hovold <johan@kernel.org>
    USB: serial: ssu100: fix control-message error handling

Johan Hovold <johan@kernel.org>
    USB: serial: digi_acceleport: fix incomplete rx sanity check

Johan Hovold <johan@kernel.org>
    USB: serial: keyspan_pda: fix receive sanity checks

Stephen Boyd <stephen.boyd@linaro.org>
    usb: chipidea: Handle extcon events properly

Stephen Boyd <stephen.boyd@linaro.org>
    usb: chipidea: Only read/write OTGSC from one place

Krzysztof Kozlowski <krzk@kernel.org>
    usb: host: ohci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths

Krzysztof Kozlowski <krzk@kernel.org>
    usb: host: ehci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths

Nicholas Mc Guire <hofrat@osadl.org>
    usb: dwc2: host: use msleep() for long delay

Ladi Prosek <lprosek@redhat.com>
    KVM: nVMX: do not leak PML full vmexit to L1

Ladi Prosek <lprosek@redhat.com>
    KVM: nVMX: initialize PML fields in vmcs02

Jim Mattson <jmattson@google.com>
    Revert "KVM: nested VMX: disable perf cpuid reporting"

Paul Mackerras <paulus@ozlabs.org>
    KVM: PPC: Book3S HV: Don't try to signal cpu -1

Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    x86/platform/intel-mid: Correct MSI IRQ line for watchdog device

Masami Hiramatsu <mhiramat@kernel.org>
    kprobes/x86: Fix kernel panic when certain exception-handling addresses are probed

Andrey Ryabinin <aryabinin@virtuozzo.com>
    platform/x86: intel_pmc_core: fix out-of-bounds accesses on stack

Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    clk: Make x86/ conditional on CONFIG_COMMON_CLK

Dave Hansen <dave.hansen@linux.intel.com>
    x86/mpx: Re-add MPX to selftests Makefile

Nikola Pajkovsky <npajkovsky@suse.cz>
    x86/pci-calgary: Fix iommu_free() comparison of unsigned expression >= 0

Ruslan Ruslichenko <rruslich@cisco.com>
    x86/ioapic: Restore IO-APIC irq_chip retrigger callback

Sara Sharon <sara.sharon@intel.com>
    iwlwifi: mvm: fix accessing fw_id_to_mac_id

Dan Carpenter <dan.carpenter@oracle.com>
    iwlwifi: mvm: writing zero bytes to debugfs causes a crash

Sara Sharon <sara.sharon@intel.com>
    iwlwifi: mvm: synchronize firmware DMA paging memory

Sara Sharon <sara.sharon@intel.com>
    iwlwifi: mvm: fix references to first_agg_queue in DQA mode

Sara Sharon <sara.sharon@intel.com>
    iwlwifi: mvm: fix pending frame counter calculation

Johannes Berg <johannes.berg@intel.com>
    iwlwifi: mvm/pcie: adjust A-MSDU tx_cmd length in PCIe

Beni Lev <beni.lev@intel.com>
    iwlwifi: mvm: Use aux queue for offchannel frames in dqa

Sara Sharon <sara.sharon@intel.com>
    iwlwifi: mvm: fix reorder timer re-arming

Sara Sharon <sara.sharon@intel.com>
    iwlwifi: pcie: fix the set of DMA memory mask

Kirtika Ruchandani <kirtika.ruchandani@gmail.com>
    iwlwifi: pcie: trans: Remove unused 'shift_param'

Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    iwlwifi: pcie: don't increment / decrement a bool

Johannes Berg <johannes.berg@intel.com>
    iwlwifi: mvm: overwrite skb info later

Luca Coelho <luciano.coelho@intel.com>
    iwlwifi: mvm: don't restart HW if suspend fails with unified image

Jürg Billeter <j@bitron.ch>
    iwlwifi: fix MODULE_FIRMWARE for 6030

Johannes Berg <johannes.berg@intel.com>
    iwlwifi: mvm: properly check for transport data in dump

Brian Norris <briannorris@chromium.org>
    mwifiex: set adapter->dev before starting to use mwifiex_dbg()

Brian Norris <briannorris@chromium.org>
    mwifiex: don't enable/disable IRQ 0 during suspend/resume

Ganapathi Bhat <gbhat@marvell.com>
    mwifiex: Avoid skipping WEP key deletion for AP

Xinming Hu <huxm@marvell.com>
    mwifiex: remove redundant dma padding in AMSDU

Brian Norris <briannorris@chromium.org>
    mwifiex: debugfs: Fix (sometimes) off-by-1 SSID print

Florian Fainelli <f.fainelli@gmail.com>
    ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings

Sekhar Nori <nsekhar@ti.com>
    ARM: dts: am57xx-idk: tpic2810 is on I2C bus, not SPI

Tony Lindgren <tony@atomide.com>
    ARM: OMAP3: Fix smartreflex platform data regression

Matthijs van Duin <matthijsvanduin@gmail.com>
    ARM: OMAP5 / DRA7: Fix HYP mode boot for thumb2 build

Fabio Estevam <fabio.estevam@nxp.com>
    ARM: dts: imx6sx-udoo-neo: Fix reboot hang

Jon Mason <jon.mason@broadcom.com>
    ARM: dts: NSP: GPIO reboot open-source

Arnd Bergmann <arnd@arndb.de>
    ARM: pxa: ezx: fix a910 camera data

Arnd Bergmann <arnd@arndb.de>
    leds: ktd2692: avoid harmless maybe-uninitialized warning

Wei Yongjun <weiyongjun1@huawei.com>
    spi: armada-3700: Remove spi_master_put in a3700_spi_remove()

Catalin Marinas <catalin.marinas@arm.com>
    arm64: Improve detection of user/non-user mappings in set_pte(_at)

Juri Lelli <juri.lelli@arm.com>
    arm64: remove wrong CONFIG_PROC_SYSCTL ifdef

Stephen Boyd <sboyd@codeaurora.org>
    arm: dts: qcom: Fix ipq board clock rates

Geert Uytterhoeven <geert+renesas@glider.be>
    arm64: dts: r8a7795: Mark EthernetAVB device node disabled

Liam Breck <liam@networkimprov.net>
    power: supply: bq24190_charger: Handle fault before status on interrupt

Liam Breck <liam@networkimprov.net>
    power: supply: bq24190_charger: Don't read fault register outside irq_handle_thread()

Liam Breck <liam@networkimprov.net>
    power: supply: bq24190_charger: Call power_supply_changed() for relevant component

Liam Breck <liam@networkimprov.net>
    power: supply: bq24190_charger: Install irq_handler_thread() at end of probe()

Liam Breck <liam@networkimprov.net>
    power: supply: bq24190_charger: Call set_mode_host() on pm_resume()

Liam Breck <liam@networkimprov.net>
    power: supply: bq24190_charger: Fix irq trigger to IRQF_TRIGGER_FALLING

Alexander Shishkin <alexander.shishkin@linux.intel.com>
    perf/x86/intel/pt: Add format strings for PTWRITE and power event tracing

Andrew Donnellan <andrew.donnellan@au1.ibm.com>
    powerpc: Correctly disable latent entropy GCC plugin on prom_init.o

Anton Blanchard <anton@samba.org>
    powerpc/ftrace: Fix confusing help text for DISABLE_MPROFILE_KERNEL

Michael Ellerman <mpe@ellerman.id.au>
    powerpc/mm: Fix build break when CMA=n && SPAPR_TCE_IOMMU=y

Michael Ellerman <mpe@ellerman.id.au>
    powerpc/powernv: Fix opal_exit tracepoint opcode

Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
    powerpc/mm: Fixup wrong LPCR_VRMASD value

Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
    powerpc/perf: Avoid FAB_*_MATCH checks for power9

Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
    powerpc/perf: Handle sdar_mode for marked event in power9

Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
    powerpc/perf: Fix perf_get_data_addr() for power9 DD1

Ben Hutchings <ben@decadent.org.uk>
    cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores

Giedrius Statkevičius <giedrius.statkevicius@gmail.com>
    power: supply: lp8788: prevent out of bounds array access

Horia Geantă <horia.geanta@nxp.com>
    crypto: caam - don't dma_map key for hash algorithms

Horia Geantă <horia.geanta@nxp.com>
    crypto: caam - fix error path for ctx_dma mapping failure

Winkler, Tomas <tomas.winkler@intel.com>
    tmp: use pdev for parent device in tpm_chip_alloc

Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
    tpm: fix RC value check in tpm2_seal_trusted

Jean Delvare <jdelvare@suse.de>
    mtd: nand: Add OX820 NAND hardware dependency

Guenter Roeck <linux@roeck-us.net>
    hwmon: (it87) Fix pwm4 detection for IT8620 and IT8628

Vincent Abriou <vincent.abriou@st.com>
    drm/sti: fix GDP size to support up to UHD resolution

Cong Wang <xiyou.wangcong@gmail.com>
    9p: fix a potential acl leak


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

Diffstat:

 Makefile                                           |   4 +-
 arch/arm/boot/dts/am57xx-idk-common.dtsi           |  14 +-
 arch/arm/boot/dts/bcm958522er.dts                  |   1 +
 arch/arm/boot/dts/bcm958525er.dts                  |   1 +
 arch/arm/boot/dts/bcm958525xmc.dts                 |   1 +
 arch/arm/boot/dts/bcm958622hr.dts                  |   1 +
 arch/arm/boot/dts/bcm958623hr.dts                  |   1 +
 arch/arm/boot/dts/bcm958625hr.dts                  |   1 +
 arch/arm/boot/dts/bcm988312hr.dts                  |   1 +
 arch/arm/boot/dts/imx6sx-udoo-neo.dtsi             |   5 -
 arch/arm/boot/dts/qcom-ipq8064.dtsi                |   4 +-
 arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts          |   2 +-
 arch/arm/mach-omap2/omap-headsmp.S                 |   3 +-
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c         |  20 +++
 arch/arm/mach-pxa/ezx.c                            |  56 ++++---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi           |   1 +
 arch/arm64/include/asm/pgtable.h                   |  15 +-
 arch/arm64/kernel/topology.c                       |   2 -
 arch/arm64/net/bpf_jit_comp.c                      |   8 +-
 arch/mips/kernel/mips-r2-to-r6-emul.c              |  12 +-
 arch/powerpc/Kconfig                               |   4 +-
 arch/powerpc/include/asm/reg.h                     |   2 +-
 arch/powerpc/kernel/Makefile                       |   2 +-
 arch/powerpc/kvm/book3s_hv.c                       |   3 +-
 arch/powerpc/mm/mmu_context_iommu.c                |   2 +-
 arch/powerpc/perf/core-book3s.c                    |   2 +
 arch/powerpc/perf/isa207-common.c                  | 101 +++++++++---
 arch/powerpc/perf/isa207-common.h                  |   1 +
 arch/powerpc/perf/power9-pmu.c                     |   8 +-
 arch/powerpc/platforms/powernv/opal-wrappers.S     |   2 +-
 arch/sparc/kernel/head_64.S                        |   6 +
 arch/sparc/lib/GENbzero.S                          |   2 +-
 arch/sparc/lib/NGbzero.S                           |   2 +-
 arch/x86/events/intel/pt.c                         |   6 +
 arch/x86/include/asm/xen/events.h                  |  11 ++
 arch/x86/kernel/apic/io_apic.c                     |   2 +
 arch/x86/kernel/kprobes/common.h                   |   2 +-
 arch/x86/kernel/kprobes/core.c                     |   6 +-
 arch/x86/kernel/kprobes/opt.c                      |   2 +-
 arch/x86/kernel/pci-calgary_64.c                   |   2 +-
 arch/x86/kvm/cpuid.c                               |   6 -
 arch/x86/kvm/vmx.c                                 |  17 +-
 arch/x86/pci/xen.c                                 |   2 +-
 .../intel-mid/device_libs/platform_mrfld_wdt.c     |   2 +-
 arch/x86/xen/enlighten.c                           |  21 ++-
 arch/x86/xen/smp.c                                 |   2 +
 arch/x86/xen/time.c                                |   5 +
 block/blk-integrity.c                              |  19 +--
 block/partition-generic.c                          |   1 -
 drivers/char/tpm/tpm-chip.c                        |   8 +-
 drivers/char/tpm/tpm.h                             |   5 +
 drivers/char/tpm/tpm2-cmd.c                        |   2 +-
 drivers/clk/Makefile                               |   2 +
 drivers/clk/rockchip/clk-rk3036.c                  |   2 +-
 drivers/crypto/caam/caamhash.c                     |  25 +--
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c  |   2 +-
 drivers/gpu/drm/mxsfb/mxsfb_drv.c                  |   4 +-
 drivers/gpu/drm/sti/sti_gdp.c                      |  12 +-
 drivers/gpu/drm/ttm/ttm_bo_vm.c                    |  12 ++
 drivers/hwmon/it87.c                               |   2 +-
 drivers/leds/leds-ktd2692.c                        |   8 +-
 drivers/mtd/nand/Kconfig                           |   1 +
 drivers/net/ethernet/broadcom/bnxt/bnxt.c          |   3 +-
 drivers/net/ethernet/cadence/macb.c                |  18 +-
 drivers/net/geneve.c                               |   2 +-
 drivers/net/macsec.c                               |  29 +++-
 drivers/net/phy/mdio-mux-bcm-iproc.c               |   5 +-
 drivers/net/usb/qmi_wwan.c                         |   1 +
 .../wireless/broadcom/brcm80211/brcmfmac/core.c    |  23 +--
 drivers/net/wireless/intel/iwlwifi/iwl-6000.c      |   2 +-
 drivers/net/wireless/intel/iwlwifi/mvm/d3.c        |  13 +-
 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c   |   2 +
 drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c    |  15 +-
 drivers/net/wireless/intel/iwlwifi/mvm/fw.c        |  23 ++-
 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c  |   2 +-
 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c      |   3 +-
 drivers/net/wireless/intel/iwlwifi/mvm/sta.c       |  33 ++--
 drivers/net/wireless/intel/iwlwifi/mvm/tx.c        |  80 ++++-----
 drivers/net/wireless/intel/iwlwifi/pcie/internal.h |   2 +-
 drivers/net/wireless/intel/iwlwifi/pcie/trans.c    |  16 +-
 drivers/net/wireless/intel/iwlwifi/pcie/tx.c       |  23 ++-
 drivers/net/wireless/marvell/mwifiex/11n_aggr.c    |  19 +--
 drivers/net/wireless/marvell/mwifiex/debugfs.c     |   3 +-
 drivers/net/wireless/marvell/mwifiex/main.c        |  16 +-
 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c   |   2 -
 drivers/phy/Kconfig                                |   1 +
 drivers/platform/x86/intel_pmc_core.c              |   6 +-
 drivers/power/supply/bq24190_charger.c             | 182 +++++++++------------
 drivers/power/supply/lp8788-charger.c              |   2 +-
 drivers/scsi/Kconfig                               |   2 +-
 drivers/scsi/device_handler/scsi_dh_emc.c          |   2 +-
 drivers/scsi/qedi/qedi_debugfs.c                   |  16 +-
 drivers/scsi/qedi/qedi_fw.c                        |   4 +-
 drivers/scsi/qedi/qedi_gbl.h                       |   8 +-
 drivers/scsi/qedi/qedi_iscsi.c                     |  12 +-
 drivers/scsi/qla2xxx/qla_os.c                      |   3 +-
 drivers/scsi/smartpqi/smartpqi_init.c              |   8 +-
 drivers/spi/spi-armada-3700.c                      |   1 -
 drivers/staging/emxx_udc/emxx_udc.c                |   4 +-
 drivers/staging/lustre/lustre/llite/lproc_llite.c  |  27 +--
 .../staging/lustre/lustre/ptlrpc/pack_generic.c    |   1 +
 drivers/staging/wlan-ng/p80211netdev.c             |   2 +-
 drivers/tty/serial/8250/8250_omap.c                |   8 +-
 drivers/usb/chipidea/ci.h                          |   3 -
 drivers/usb/chipidea/core.c                        |  32 ----
 drivers/usb/chipidea/otg.c                         |  80 ++++++++-
 drivers/usb/dwc2/core.c                            |   2 +-
 drivers/usb/host/ehci-exynos.c                     |   2 +
 drivers/usb/host/ohci-exynos.c                     |   2 +
 drivers/usb/serial/ark3116.c                       |  25 ++-
 drivers/usb/serial/ch341.c                         |  27 ++-
 drivers/usb/serial/digi_acceleport.c               |  38 +++--
 drivers/usb/serial/ftdi_sio.c                      |   7 +-
 drivers/usb/serial/io_edgeport.c                   |  48 ++++--
 drivers/usb/serial/keyspan_pda.c                   |  19 ++-
 drivers/usb/serial/mct_u232.c                      |   6 +-
 drivers/usb/serial/quatech2.c                      |  24 +--
 drivers/usb/serial/sierra.c                        |  28 +---
 drivers/usb/serial/ssu100.c                        |  31 +++-
 drivers/usb/serial/ti_usb_3410_5052.c              |  12 +-
 drivers/xen/events/events_base.c                   |  26 ++-
 drivers/xen/platform-pci.c                         |  13 +-
 fs/9p/acl.c                                        |   2 +
 fs/block_dev.c                                     |   1 -
 fs/f2fs/super.c                                    |   7 +
 include/linux/f2fs_fs.h                            |   6 +
 include/linux/genhd.h                              |   2 -
 include/linux/usb/chipidea.h                       |   2 +
 include/net/addrconf.h                             |   2 +
 include/net/ip6_route.h                            |   1 +
 include/xen/xen.h                                  |   3 +-
 kernel/bpf/verifier.c                              |  32 +++-
 lib/test_bpf.c                                     |  45 +++++
 net/core/rtnetlink.c                               |   2 +-
 net/core/skbuff.c                                  |   2 +
 net/ipv4/raw.c                                     |   3 +
 net/ipv4/tcp_lp.c                                  |   6 +-
 net/ipv4/tcp_minisocks.c                           |   1 +
 net/ipv4/tcp_output.c                              |  19 ++-
 net/ipv6/addrconf.c                                |   8 +-
 net/ipv6/raw.c                                     |   2 +
 net/ipv6/route.c                                   |  39 +++--
 net/openvswitch/vport-internal_dev.c               |   2 +
 sound/pci/hda/hda_intel.c                          |  13 ++
 tools/power/cpupower/utils/helpers/cpuid.c         |   1 +
 tools/testing/selftests/bpf/test_verifier.c        |  18 +-
 tools/testing/selftests/x86/Makefile               |   2 +-
 147 files changed, 1052 insertions(+), 699 deletions(-)

[toc] | [next] | [standalone]


#1639806 — [PATCH 4.10 051/129] iwlwifi: mvm: fix reorder timer re-arming

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 051/129] iwlwifi: mvm: fix reorder timer re-arming
Message-ID<tFYFt-8gi-43@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Sara Sharon <sara.sharon@intel.com>

commit 5351f9ab254c30d41659924265f1ecd7b4758d9e upstream.

When NSSN is behind the reorder buffer due to timeout
the reorder timer isn't getting re-armed until NSSN
catches up. Fix it.

Fixes: 0690405fef29 ("iwlwifi: mvm: add reorder timeout per frame")

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
@@ -409,7 +409,7 @@ static void iwl_mvm_release_frames(struc
 
 	/* ignore nssn smaller than head sn - this can happen due to timeout */
 	if (iwl_mvm_is_sn_less(nssn, ssn, reorder_buf->buf_size))
-		return;
+		goto set_timer;
 
 	while (iwl_mvm_is_sn_less(ssn, nssn, reorder_buf->buf_size)) {
 		int index = ssn % reorder_buf->buf_size;
@@ -432,6 +432,7 @@ static void iwl_mvm_release_frames(struc
 	}
 	reorder_buf->head_sn = nssn;
 
+set_timer:
 	if (reorder_buf->num_stored && !reorder_buf->removed) {
 		u16 index = reorder_buf->head_sn % reorder_buf->buf_size;
 

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


#1639807 — [PATCH 4.10 028/129] arm64: remove wrong CONFIG_PROC_SYSCTL ifdef

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 028/129] arm64: remove wrong CONFIG_PROC_SYSCTL ifdef
Message-ID<tFYFt-8gi-47@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Juri Lelli <juri.lelli@arm.com>

commit fe0a7ef74d1f65b86820a54636323df2b31e0c3f upstream.

The sysfs cpu_capacity entry for each CPU has nothing to do with
PROC_FS, nor it's in /proc/sys path.

Remove such ifdef.

Cc: Will Deacon <will.deacon@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Reported-and-suggested-by: Sudeep Holla <sudeep.holla@arm.com>
Fixes: be8f185d8af4 ('arm64: add sysfs cpu_capacity attribute')
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/arm64/kernel/topology.c |    2 --
 1 file changed, 2 deletions(-)

--- a/arch/arm64/kernel/topology.c
+++ b/arch/arm64/kernel/topology.c
@@ -41,7 +41,6 @@ static void set_capacity_scale(unsigned
 	per_cpu(cpu_scale, cpu) = capacity;
 }
 
-#ifdef CONFIG_PROC_SYSCTL
 static ssize_t cpu_capacity_show(struct device *dev,
 				 struct device_attribute *attr,
 				 char *buf)
@@ -98,7 +97,6 @@ static int register_cpu_capacity_sysctl(
 	return 0;
 }
 subsys_initcall(register_cpu_capacity_sysctl);
-#endif
 
 static u32 capacity_scale;
 static u32 *raw_capacity;

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


#1639808 — [PATCH 4.10 041/129] mwifiex: Avoid skipping WEP key deletion for AP

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 041/129] mwifiex: Avoid skipping WEP key deletion for AP
Message-ID<tFYFt-8gi-51@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Ganapathi Bhat <gbhat@marvell.com>

commit a5b60de6972decc6b50a39abb376077c3c3621c8 upstream.

This patch fixes the issue specific to AP. AP is started with WEP
security and external station is connected to it. Data path works
in this case. Now if AP is restarted with WPA/WPA2 security,
station is able to connect but ping fails.

Driver skips the deletion of WEP keys if interface type is AP.
Removing that redundant check resolves the issue.

Fixes: e57f1734d87a ("mwifiex: add key material v2 support")
Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c |    2 --
 1 file changed, 2 deletions(-)

--- a/drivers/net/wireless/marvell/mwifiex/sta_ioctl.c
+++ b/drivers/net/wireless/marvell/mwifiex/sta_ioctl.c
@@ -1159,8 +1159,6 @@ int mwifiex_set_encode(struct mwifiex_pr
 			encrypt_key.is_rx_seq_valid = true;
 		}
 	} else {
-		if (GET_BSS_ROLE(priv) == MWIFIEX_BSS_ROLE_UAP)
-			return 0;
 		encrypt_key.key_disable = true;
 		if (mac_addr)
 			memcpy(encrypt_key.mac_addr, mac_addr, ETH_ALEN);

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


#1639809 — [PATCH 4.10 050/129] iwlwifi: pcie: fix the set of DMA memory mask

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 050/129] iwlwifi: pcie: fix the set of DMA memory mask
Message-ID<tFYFu-8gi-53@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Sara Sharon <sara.sharon@intel.com>

commit 2c6262b754f3c3338cb40b23880a3ac1f4693b25 upstream.

Our 9000 device supports 64 bit DMA address for RX only, and
not for TX.
Setting DMA mask to 64 for the whole device is erroneous - we
can do it only for a000 devices where device is capable of
both RX & TX DMA with 64 bit address space.

Fixes: 96a6497bc3ed ("iwlwifi: pcie: add 9000 series multi queue rx DMA support")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/net/wireless/intel/iwlwifi/pcie/trans.c |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

--- a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
@@ -2956,16 +2956,12 @@ struct iwl_trans *iwl_trans_pcie_alloc(s
 				       PCIE_LINK_STATE_CLKPM);
 	}
 
-	if (cfg->mq_rx_supported)
-		addr_size = 64;
-	else
-		addr_size = 36;
-
 	if (cfg->use_tfh) {
+		addr_size = 64;
 		trans_pcie->max_tbs = IWL_TFH_NUM_TBS;
 		trans_pcie->tfd_size = sizeof(struct iwl_tfh_tfd);
-
 	} else {
+		addr_size = 36;
 		trans_pcie->max_tbs = IWL_NUM_OF_TBS;
 		trans_pcie->tfd_size = sizeof(struct iwl_tfd);
 	}

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


#1639812 — [PATCH 4.10 039/129] mwifiex: debugfs: Fix (sometimes) off-by-1 SSID print

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 039/129] mwifiex: debugfs: Fix (sometimes) off-by-1 SSID print
Message-ID<tFYFu-8gi-57@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Brian Norris <briannorris@chromium.org>

commit 6183468a23fc6b6903f8597982017ad2c7fdefcf upstream.

Similar to commit fcd2042e8d36 ("mwifiex: printk() overflow with 32-byte
SSIDs"), we failed to account for the existence of 32-char SSIDs in our
debugfs code. Unlike in that case though, we zeroed out the containing
struct first, and I'm pretty sure we're guaranteed to have some padding
after the 'ssid.ssid' and 'ssid.ssid_len' fields (the struct is 33 bytes
long).

So, this is the difference between:

  # cat /sys/kernel/debug/mwifiex/mlan0/info
  ...
  essid="0123456789abcdef0123456789abcdef "
  ...

and the correct output:

  # cat /sys/kernel/debug/mwifiex/mlan0/info
  ...
  essid="0123456789abcdef0123456789abcdef"
  ...

Fixes: 5e6e3a92b9a4 ("wireless: mwifiex: initial commit for Marvell mwifiex driver")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/net/wireless/marvell/mwifiex/debugfs.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/drivers/net/wireless/marvell/mwifiex/debugfs.c
+++ b/drivers/net/wireless/marvell/mwifiex/debugfs.c
@@ -114,7 +114,8 @@ mwifiex_info_read(struct file *file, cha
 	if (GET_BSS_ROLE(priv) == MWIFIEX_BSS_ROLE_STA) {
 		p += sprintf(p, "multicast_count=\"%d\"\n",
 			     netdev_mc_count(netdev));
-		p += sprintf(p, "essid=\"%s\"\n", info.ssid.ssid);
+		p += sprintf(p, "essid=\"%.*s\"\n", info.ssid.ssid_len,
+			     info.ssid.ssid);
 		p += sprintf(p, "bssid=\"%pM\"\n", info.bssid);
 		p += sprintf(p, "channel=\"%d\"\n", (int) info.bss_chan);
 		p += sprintf(p, "country_code = \"%s\"\n", info.country_code);

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


#1639813 — [PATCH 4.10 057/129] iwlwifi: mvm: writing zero bytes to debugfs causes a crash

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 057/129] iwlwifi: mvm: writing zero bytes to debugfs causes a crash
Message-ID<tFYFu-8gi-59@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Dan Carpenter <dan.carpenter@oracle.com>

commit 251fe09f13bfb54c1ede66ee8bf8ddd0061c4f7c upstream.

This is a static analysis fix.  The warning is:

	drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c:912 iwl_mvm_fw_dbg_collect()
	warn: integer overflows 'sizeof(*desc) + len'

I guess this code is supposed to take a NUL character, but if we write
zero bytes then it tries to write -1 characters and crashes.

Fixes: c91b865cb14d ("iwlwifi: mvm: support description for user triggered fw dbg collection")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
@@ -1056,6 +1056,8 @@ static ssize_t iwl_dbgfs_fw_dbg_collect_
 
 	if (ret)
 		return ret;
+	if (count == 0)
+		return 0;
 
 	iwl_mvm_fw_dbg_collect(mvm, FW_DBG_TRIGGER_USER, buf,
 			       (count - 1), NULL);

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


#1639814 — [PATCH 4.10 014/129] powerpc/mm: Fixup wrong LPCR_VRMASD value

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 014/129] powerpc/mm: Fixup wrong LPCR_VRMASD value
Message-ID<tFYFu-8gi-63@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>

commit 4ab2537c4204b976e4ca350bbdc193b4649cad28 upstream.

In commit a4b349540a26af ("powerpc/mm: Cleanup LPCR defines") we updated
LPCR_VRMASD wrongly as below.

-#define   LPCR_VRMASD  (0x1ful << (63-16))
+#define   LPCR_VRMASD_SH       47
+#define   LPCR_VRMASD          (ASM_CONST(1) << LPCR_VRMASD_SH)

We initialize the VRMA bits in LPCR to 0x00 in kvm. Hence using a
different mask value as above while updating lpcr should not have any
impact.

This patch updates it to the correct value.

Fixes: a4b349540a26 ("powerpc/mm: Cleanup LPCR defines")
Reported-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Jia He <hejianet@gmail.com>
Acked-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/powerpc/include/asm/reg.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/powerpc/include/asm/reg.h
+++ b/arch/powerpc/include/asm/reg.h
@@ -338,7 +338,7 @@
 #define   LPCR_DPFD_SH		52
 #define   LPCR_DPFD		(ASM_CONST(7) << LPCR_DPFD_SH)
 #define   LPCR_VRMASD_SH	47
-#define   LPCR_VRMASD		(ASM_CONST(1) << LPCR_VRMASD_SH)
+#define   LPCR_VRMASD		(ASM_CONST(0x1f) << LPCR_VRMASD_SH)
 #define   LPCR_VRMA_L		ASM_CONST(0x0008000000000000)
 #define   LPCR_VRMA_LP0		ASM_CONST(0x0001000000000000)
 #define   LPCR_VRMA_LP1		ASM_CONST(0x0000800000000000)

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


#1639815 — [PATCH 4.10 030/129] spi: armada-3700: Remove spi_master_put in a3700_spi_remove()

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 030/129] spi: armada-3700: Remove spi_master_put in a3700_spi_remove()
Message-ID<tFYFu-8gi-65@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Wei Yongjun <weiyongjun1@huawei.com>

commit e92f0051c0c65d7bee989884a233cfcd80303bdf upstream.

The call to spi_master_put() in a3700_spi_remove() is redundant since
the master is registered using devm_spi_register_master() and no
reference hold by using spi_master_get() in a3700_spi_remove().

This is detected by Coccinelle semantic patch.

Fixes: 5762ab71eb24 ("spi: Add support for Armada 3700 SPI Controller")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/spi/spi-armada-3700.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/spi/spi-armada-3700.c
+++ b/drivers/spi/spi-armada-3700.c
@@ -901,7 +901,6 @@ static int a3700_spi_remove(struct platf
 	struct a3700_spi *spi = spi_master_get_devdata(master);
 
 	clk_unprepare(spi->clk);
-	spi_master_put(master);
 
 	return 0;
 }

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


#1639816 — [PATCH 4.10 020/129] power: supply: bq24190_charger: Fix irq trigger to IRQF_TRIGGER_FALLING

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 020/129] power: supply: bq24190_charger: Fix irq trigger to IRQF_TRIGGER_FALLING
Message-ID<tFYFu-8gi-71@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Liam Breck <liam@networkimprov.net>

commit 767eee362fd72bb2ca44cc80419ca4b38c6d8369 upstream.

The interrupt signal is TRIGGER_FALLING. This is is specified in the
data sheet PIN FUNCTIONS: "The INT pin sends active low, 256us
pulse to host to report charger device status and fault."

Also the direction can be seen in the data sheet Figure 37 "BQ24190
with D+/D- Detection and USB On-The-Go (OTG)" which shows a 10k
pull-up resistor installed for the sample configurations.

Fixes: d7bf353fd0aa3 ("bq24190_charger: Add support for TI BQ24190 Battery Charger")
Signed-off-by: Liam Breck <kernel@networkimprov.net>
Acked-by: Mark Greer <mgreer@animalcreek.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/power/supply/bq24190_charger.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/power/supply/bq24190_charger.c
+++ b/drivers/power/supply/bq24190_charger.c
@@ -1394,7 +1394,7 @@ static int bq24190_probe(struct i2c_clie
 
 	ret = devm_request_threaded_irq(dev, bdi->irq, NULL,
 			bq24190_irq_handler_thread,
-			IRQF_TRIGGER_RISING | IRQF_ONESHOT,
+			IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
 			"bq24190-charger", bdi);
 	if (ret < 0) {
 		dev_err(dev, "Can't set up irq handler\n");

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


#1639817 — [PATCH 4.10 048/129] iwlwifi: pcie: dont increment / decrement a bool

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 048/129] iwlwifi: pcie: dont increment / decrement a bool
Message-ID<tFYFu-8gi-61@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Emmanuel Grumbach <emmanuel.grumbach@intel.com>

commit 04fa3e680b4dd2fdd11d0152fb9b6067e7aac140 upstream.

David reported that the code I added uses the decrement
and increment operator on a boolean variable.

Fix that.

Fixes: 0cd58eaab148 ("iwlwifi: pcie: allow the op_mode to block the tx queues")
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/net/wireless/intel/iwlwifi/pcie/internal.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/wireless/intel/iwlwifi/pcie/internal.h
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/internal.h
@@ -279,7 +279,7 @@ struct iwl_txq {
 	bool frozen;
 	u8 active;
 	bool ampdu;
-	bool block;
+	int block;
 	unsigned long wd_timeout;
 	struct sk_buff_head overflow_q;
 

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


#1639818 — [PATCH 4.10 021/129] power: supply: bq24190_charger: Call set_mode_host() on pm_resume()

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 021/129] power: supply: bq24190_charger: Call set_mode_host() on pm_resume()
Message-ID<tFYFu-8gi-73@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Liam Breck <liam@networkimprov.net>

commit e05ad7e0741ce0505e1df157c62b22b95172bb97 upstream.

pm_resume() does a register_reset() which clears charger host mode.

Fix by calling set_mode_host() after the reset.

Fixes: d7bf353fd0aa3 ("bq24190_charger: Add support for TI BQ24190 Battery Charger")
Signed-off-by: Liam Breck <kernel@networkimprov.net>
Acked-by: Mark Greer <mgreer@animalcreek.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/power/supply/bq24190_charger.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/power/supply/bq24190_charger.c
+++ b/drivers/power/supply/bq24190_charger.c
@@ -1494,6 +1494,7 @@ static int bq24190_pm_resume(struct devi
 
 	pm_runtime_get_sync(bdi->dev);
 	bq24190_register_reset(bdi);
+	bq24190_set_mode_host(bdi);
 	pm_runtime_put_sync(bdi->dev);
 
 	/* Things may have changed while suspended so alert upper layer */

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


#1639820 — [PATCH 4.10 017/129] powerpc/ftrace: Fix confusing help text for DISABLE_MPROFILE_KERNEL

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:00 +0200
Subject[PATCH 4.10 017/129] powerpc/ftrace: Fix confusing help text for DISABLE_MPROFILE_KERNEL
Message-ID<tFYFu-8gi-67@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Anton Blanchard <anton@samba.org>

commit 496e9cb5b2aa2ba303d2bbd08518f9be2219ab4b upstream.

The final paragraph of the help text is reversed. We want to enable
this option by default, and disable it if the toolchain has a working
-mprofile-kernel.

Fixes: 8c50b72a3b4f ("powerpc/ftrace: Add Kconfig & Make glue for mprofile-kernel")
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/powerpc/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -390,8 +390,8 @@ config DISABLE_MPROFILE_KERNEL
 	  be disabled also.
 
 	  If you have a toolchain which supports mprofile-kernel, then you can
-	  enable this. Otherwise leave it disabled. If you're not sure, say
-	  "N".
+	  disable this. Otherwise leave it enabled. If you're not sure, say
+	  "Y".
 
 config MPROFILE_KERNEL
 	depends on PPC64 && CPU_LITTLE_ENDIAN

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


#1639822

FromShuah Khan <shuahkh@osg.samsung.com>
Date2017-05-11 18:10 +0200
Message-ID<tFYP8-7g-7@gated-at.bofh.it>
In reply to#1639805
On 05/11/2017 08:10 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.10.16 release.
> There are 129 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 Sat May 13 14:11:48 UTC 2017.
> 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.10.16-rc1.gz
> or in the git tree and branch at:
>   git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.10.y
> and the diffstat can be found below.
> 
> thanks,
> 
> greg k-h
> 

Looks like patch hasn't made it to kernel.org yet. Same with others except
patch-3.18.53-rc1.gz.

thanks,
-- Shuah

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


#1639926

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 19:50 +0200
Message-ID<tG0nU-Yx-3@gated-at.bofh.it>
In reply to#1639822
On Thu, May 11, 2017 at 09:59:55AM -0600, Shuah Khan wrote:
> On 05/11/2017 08:10 AM, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 4.10.16 release.
> > There are 129 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 Sat May 13 14:11:48 UTC 2017.
> > 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.10.16-rc1.gz
> > or in the git tree and branch at:
> >   git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.10.y
> > and the diffstat can be found below.
> > 
> > thanks,
> > 
> > greg k-h
> > 
> 
> Looks like patch hasn't made it to kernel.org yet. Same with others except
> patch-3.18.53-rc1.gz.

Yeah, the backend of kernel.org is being updated right now and the
patches can't be uploaded.  Hopefully it will be done in a few hours, if
not, I'll email out the patches...

thanks,

greg k-h

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


#1639939

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 20:20 +0200
Message-ID<tG0QV-1nQ-13@gated-at.bofh.it>
In reply to#1639926
On Thu, May 11, 2017 at 07:45:55PM +0200, Greg Kroah-Hartman wrote:
> On Thu, May 11, 2017 at 09:59:55AM -0600, Shuah Khan wrote:
> > On 05/11/2017 08:10 AM, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 4.10.16 release.
> > > There are 129 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 Sat May 13 14:11:48 UTC 2017.
> > > 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.10.16-rc1.gz
> > > or in the git tree and branch at:
> > >   git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.10.y
> > > and the diffstat can be found below.
> > > 
> > > thanks,
> > > 
> > > greg k-h
> > > 
> > 
> > Looks like patch hasn't made it to kernel.org yet. Same with others except
> > patch-3.18.53-rc1.gz.
> 
> Yeah, the backend of kernel.org is being updated right now and the
> patches can't be uploaded.  Hopefully it will be done in a few hours, if
> not, I'll email out the patches...

It's now up and running, and the patches should all be there.  If you
don't see them, please let me know.

thanks,

greg k-h

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


#1639836 — [PATCH 4.10 001/129] 9p: fix a potential acl leak

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-05-11 18:10 +0200
Subject[PATCH 4.10 001/129] 9p: fix a potential acl leak
Message-ID<tFYP9-7g-33@gated-at.bofh.it>
In reply to#1639805
4.10-stable review patch.  If anyone has any objections, please let me know.

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

From: Cong Wang <xiyou.wangcong@gmail.com>

commit b5c66bab72a6a65edb15beb60b90d3cb84c5763b upstream.

posix_acl_update_mode() could possibly clear 'acl', if so we leak the
memory pointed by 'acl'.  Save this pointer before calling
posix_acl_update_mode() and release the memory if 'acl' really gets
cleared.

Link: http://lkml.kernel.org/r/1486678332-2430-1-git-send-email-xiyou.wangcong@gmail.com
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Reported-by: Mark Salyzyn <salyzyn@android.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Greg Kurz <groug@kaod.org>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 fs/9p/acl.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/fs/9p/acl.c
+++ b/fs/9p/acl.c
@@ -277,6 +277,7 @@ static int v9fs_xattr_set_acl(const stru
 	case ACL_TYPE_ACCESS:
 		if (acl) {
 			struct iattr iattr;
+			struct posix_acl *old_acl = acl;
 
 			retval = posix_acl_update_mode(inode, &iattr.ia_mode, &acl);
 			if (retval)
@@ -287,6 +288,7 @@ static int v9fs_xattr_set_acl(const stru
 				 * by the mode bits. So don't
 				 * update ACL.
 				 */
+				posix_acl_release(old_acl);
 				value = NULL;
 				size = 0;
 			}

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


#1640543

FromShuah Khan <shuahkh@osg.samsung.com>
Date2017-05-12 17:30 +0200
Message-ID<tGkFY-6vb-23@gated-at.bofh.it>
In reply to#1639805
On 05/11/2017 08:10 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.10.16 release.
> There are 129 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 Sat May 13 14:11:48 UTC 2017.
> 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.10.16-rc1.gz
> or in the git tree and branch at:
>   git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.10.y
> and the diffstat can be found below.
> 
> thanks,
> 
> greg k-h
> 

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

thanks,
-- Shuah

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


#1640718

FromGuenter Roeck <linux@roeck-us.net>
Date2017-05-12 22:00 +0200
Message-ID<tGoTf-139-5@gated-at.bofh.it>
In reply to#1639805
On Thu, May 11, 2017 at 04:10:48PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.10.16 release.
> There are 129 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 Sat May 13 14:11:48 UTC 2017.
> Anything received after that time might be too late.
> 
Build results:
	total: 145 pass: 145 fail: 0
Qemu test results:
	total: 122 pass: 122 fail: 0

Details are available at http://kerneltests.org/builders.

Guenter

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web