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


Groups > linux.kernel > #1465641 > unrolled thread

[PATCH 3.14 00/46] 3.14.77-stable review

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2016-08-18 17:00 +0200
Last post2016-08-19 09:40 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 3.14 00/46] 3.14.77-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-08-18 17:00 +0200
    [PATCH 3.14 02/46] usb: renesas_usbhs: protect the CFIFOSEL setting in usbhsg_ep_enable() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-08-18 17:00 +0200
    Re: [PATCH 3.14 00/46] 3.14.77-stable review Shuah Khan <shuah.kh@samsung.com> - 2016-08-19 03:50 +0200
    Re: [PATCH 3.14 00/46] 3.14.77-stable review Guenter Roeck <linux@roeck-us.net> - 2016-08-19 04:10 +0200
      Re: [PATCH 3.14 00/46] 3.14.77-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-08-19 09:40 +0200

#1465641 — [PATCH 3.14 00/46] 3.14.77-stable review

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2016-08-18 17:00 +0200
Subject[PATCH 3.14 00/46] 3.14.77-stable review
Message-ID<s7w1r-vD-3@gated-at.bofh.it>
This is the start of the stable review cycle for the 3.14.77 release.
There are 46 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 Aug 20 13:54:21 UTC 2016.
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/v3.x/stable-review/patch-3.14.77-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-3.14.y
and the diffstat can be found below.

thanks,

greg k-h

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

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

Ben Hutchings <ben@decadent.org.uk>
    Documentation/module-signing.txt: Note need for version info if reusing a key

Ben Hutchings <ben@decadent.org.uk>
    module: Invalidate signatures on force-loaded modules

Mike Snitzer <snitzer@redhat.com>
    dm flakey: error READ bios during the down_interval

Chris Blake <chrisrblake93@gmail.com>
    PCI: Mark Atheros AR9485 and QCA9882 to avoid bus reset

Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Input: i8042 - break load dependency between atkbd/psmouse and i8042

Mike Christie <mchristi@redhat.com>
    target: Fix max_unmap_lba_count calc overflow

Nicholas Bellinger <nab@linux-iscsi.org>
    target: Fix race between iscsi-target connection shutdown + ABORT_TASK

Iosif Harutyunov <iharutyunov@SonicWALL.com>
    ubi: Fix race condition between ubi device creation and udev

Richard Weinberger <richard@nod.at>
    ubi: Make volume resize power cut aware

Yishai Hadas <yishaih@mellanox.com>
    IB/mlx4: Fix the SQ size of an RC QP

Erez Shitrit <erezsh@mellanox.com>
    IB/IPoIB: Don't update neigh validity for unresolved entries

Eli Cohen <eli@mellanox.com>
    IB/mlx5: Fix post send fence logic

Noa Osherovich <noaos@mellanox.com>
    IB/mlx5: Fix returned values of query QP

Artemy Kovalyov <artemyko@mellanox.com>
    IB/mlx5: Fix MODIFY_QP command input structure

James Hogan <james.hogan@imgtec.com>
    metag: Fix __cmpxchg_u32 asm constraint for CMP

Laura Abbott <labbott@redhat.com>
    ftrace/recordmcount: Work around for addition of metag magic but not relocations

Konstantin Neumoin <kneumoin@virtuozzo.com>
    balloon: check the number of available pages in leak balloon

Mario Kleiner <mario.kleiner.de@gmail.com>
    drm/i915/dp: Revert "drm/i915/dp: fall back to 18 bpp when sink capability is unknown"

Alex Deucher <alexander.deucher@amd.com>
    drm/radeon: support backlight control for UNIPHY3

Alex Deucher <alexander.deucher@amd.com>
    drm/radeon: fix firmware info version checks

Lyude <cpaul@redhat.com>
    drm/radeon: Poll for both connect/disconnect on analog connectors

Alex Deucher <alexander.deucher@amd.com>
    drm/radeon: add a delay after ATPX dGPU power off

Paul Moore <paul@paul-moore.com>
    netlabel: add address family checks to netlbl_{sock,req}_delattr()

Steve Capper <steve.capper@arm.com>
    ARM: 8579/1: mm: Fix definition of pmd_mknotpresent

Eric Dumazet <edumazet@google.com>
    udp: properly support MSG_PEEK with truncated buffers

Kangjie Lu <kangjielu@gmail.com>
    USB: usbfs: fix potential infoleak in devio

Benjamin Coddington <bcodding@redhat.com>
    nfs: don't create zero-length requests

James Hogan <james.hogan@imgtec.com>
    MIPS: KVM: Propagate kseg0/mapped tlb fault errors

James Hogan <james.hogan@imgtec.com>
    MIPS: KVM: Fix gfn range check in kseg0 tlb faults

James Hogan <james.hogan@imgtec.com>
    MIPS: KVM: Add missing gfn range check

James Hogan <james.hogan@imgtec.com>
    MIPS: KVM: Fix mapped fault broken commpage handling

Theodore Ts'o <tytso@mit.edu>
    random: print a warning for the first ten uninitialized random users

Eric Biggers <ebiggers3@gmail.com>
    random: properly align get_random_int_hash

Pavel Shilovsky <pshilovsky@samba.org>
    CIFS: Fix a possible invalid memory access in smb2_query_symlink()

Rabin Vincent <rabinv@axis.com>
    cifs: fix crash due to race in hmac(md5) handling

Sachin Prabhu <sprabhu@redhat.com>
    cifs: Check for existing directory when opening file with O_CREAT

Amadeusz Sławiński <amadeusz.slawinski@tieto.com>
    Bluetooth: Fix l2cap_sock_setsockopt() with optname BT_RCVMTU

Javier Martinez Canillas <javier@osg.samsung.com>
    s5p-mfc: Add release callback for memory region devs

Javier Martinez Canillas <javier@osg.samsung.com>
    s5p-mfc: Set device name for reserved memory region devs

Alex Hung <alex.hung@canonical.com>
    hp-wmi: Fix wifi cannot be hard-unblocked

Paul Mackerras <paulus@ozlabs.org>
    KVM: PPC: Book3S HV: Save/restore TM state in H_CEDE

Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    gpio: intel-mid: Remove potentially harmful code

Vignesh R <vigneshr@ti.com>
    gpio: pca953x: Fix NBANK calculation for PCA9536

Daniele Palmas <dnlplm@gmail.com>
    USB: serial: option: add support for Telit LE910 PID 0x1206

Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
    usb: renesas_usbhs: protect the CFIFOSEL setting in usbhsg_ep_enable()

Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    tcp: make challenge acks faster


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

Diffstat:

 Documentation/module-signing.txt             |  6 +++
 Makefile                                     |  4 +-
 arch/arm/include/asm/pgtable-3level.h        |  7 +++-
 arch/metag/include/asm/cmpxchg_lnkget.h      |  2 +-
 arch/mips/kvm/kvm_mips_emul.c                | 33 +++++++++++----
 arch/mips/kvm/kvm_tlb.c                      | 61 +++++++++++++++++++---------
 arch/powerpc/kvm/book3s_hv_rmhandlers.S      | 13 ++++++
 drivers/char/random.c                        | 16 +++++---
 drivers/gpio/gpio-intel-mid.c                | 19 ---------
 drivers/gpio/gpio-pca953x.c                  |  2 +-
 drivers/gpu/drm/i915/intel_display.c         | 20 +++------
 drivers/gpu/drm/radeon/atombios_encoders.c   |  1 +
 drivers/gpu/drm/radeon/radeon_atombios.c     |  4 +-
 drivers/gpu/drm/radeon/radeon_atpx_handler.c |  5 +++
 drivers/gpu/drm/radeon/radeon_connectors.c   | 15 ++++---
 drivers/infiniband/hw/mlx4/qp.c              |  2 +-
 drivers/infiniband/hw/mlx5/qp.c              | 21 ++++++----
 drivers/infiniband/ulp/ipoib/ipoib_main.c    |  4 +-
 drivers/input/serio/i8042.c                  | 16 +-------
 drivers/input/serio/libps2.c                 | 10 ++---
 drivers/md/dm-flakey.c                       | 23 +++++++----
 drivers/media/platform/s5p-mfc/s5p_mfc.c     | 11 +++++
 drivers/mtd/ubi/build.c                      |  5 ++-
 drivers/mtd/ubi/vmt.c                        | 25 ++++++++----
 drivers/pci/quirks.c                         | 10 +++--
 drivers/platform/x86/hp-wmi.c                |  7 +++-
 drivers/target/iscsi/iscsi_target.c          | 22 +++++++---
 drivers/target/target_core_device.c          |  8 ++--
 drivers/target/target_core_file.c            |  3 +-
 drivers/target/target_core_iblock.c          |  3 +-
 drivers/target/target_core_transport.c       |  3 +-
 drivers/usb/core/devio.c                     |  9 ++--
 drivers/usb/renesas_usbhs/mod_gadget.c       |  9 +++-
 drivers/usb/serial/option.c                  |  3 ++
 drivers/virtio/virtio_balloon.c              |  2 +
 fs/cifs/cifsencrypt.c                        | 16 +++++---
 fs/cifs/dir.c                                | 24 +++++++++--
 fs/cifs/smb2ops.c                            | 30 +++++++++++++-
 fs/nfs/write.c                               |  5 ++-
 include/linux/i8042.h                        |  6 ---
 include/linux/mlx5/qp.h                      |  5 ++-
 include/linux/serio.h                        | 24 ++++++++---
 include/target/target_core_backend.h         |  2 +-
 kernel/module.c                              | 13 ++++--
 net/bluetooth/l2cap_sock.c                   |  2 +-
 net/ipv4/tcp_input.c                         |  6 +--
 net/ipv4/udp.c                               |  6 ++-
 net/ipv6/udp.c                               |  6 ++-
 net/netlabel/netlabel_kapi.c                 | 12 +++++-
 scripts/recordmcount.c                       |  9 +++-
 50 files changed, 378 insertions(+), 192 deletions(-)

[toc] | [next] | [standalone]


#1465642 — [PATCH 3.14 02/46] usb: renesas_usbhs: protect the CFIFOSEL setting in usbhsg_ep_enable()

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2016-08-18 17:00 +0200
Subject[PATCH 3.14 02/46] usb: renesas_usbhs: protect the CFIFOSEL setting in usbhsg_ep_enable()
Message-ID<s7wXw-1aa-33@gated-at.bofh.it>
In reply to#1465641
3.14-stable review patch.  If anyone has any objections, please let me know.

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

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

commit 15e4292a2d21e9997fdb2b8c014cc461b3f268f0 upstream.

This patch fixes an issue that the CFIFOSEL register value is possible
to be changed by usbhsg_ep_enable() wrongly. And then, a data transfer
using CFIFO may not work correctly.

For example:
 # modprobe g_multi file=usb-storage.bin
 # ifconfig usb0 192.168.1.1 up
 (During the USB host is sending file to the mass storage)
 # ifconfig usb0 down

In this case, since the u_ether.c may call usb_ep_enable() in
eth_stop(), if the renesas_usbhs driver is also using CFIFO for
mass storage, the mass storage may not work correctly.

So, this patch adds usbhs_lock() and usbhs_unlock() calling in
usbhsg_ep_enable() to protect CFIFOSEL register. This is because:
 - CFIFOSEL.CURPIPE = 0 is also needed for the pipe configuration
 - The CFIFOSEL (fifo->sel) is already protected by usbhs_lock()

Fixes: 97664a207bc2 ("usb: renesas_usbhs: shrink spin lock area")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/usb/renesas_usbhs/mod_gadget.c |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

--- a/drivers/usb/renesas_usbhs/mod_gadget.c
+++ b/drivers/usb/renesas_usbhs/mod_gadget.c
@@ -558,6 +558,9 @@ static int usbhsg_ep_enable(struct usb_e
 	struct usbhs_priv *priv = usbhsg_gpriv_to_priv(gpriv);
 	struct usbhs_pipe *pipe;
 	int ret = -EIO;
+	unsigned long flags;
+
+	usbhs_lock(priv, flags);
 
 	/*
 	 * if it already have pipe,
@@ -566,7 +569,8 @@ static int usbhsg_ep_enable(struct usb_e
 	if (uep->pipe) {
 		usbhs_pipe_clear(uep->pipe);
 		usbhs_pipe_sequence_data0(uep->pipe);
-		return 0;
+		ret = 0;
+		goto usbhsg_ep_enable_end;
 	}
 
 	pipe = usbhs_pipe_malloc(priv,
@@ -594,6 +598,9 @@ static int usbhsg_ep_enable(struct usb_e
 		ret = 0;
 	}
 
+usbhsg_ep_enable_end:
+	usbhs_unlock(priv, flags);
+
 	return ret;
 }
 

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


#1465839

FromShuah Khan <shuah.kh@samsung.com>
Date2016-08-19 03:50 +0200
Message-ID<s7H6x-7vO-19@gated-at.bofh.it>
In reply to#1465641
On 08/18/2016 07:54 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 3.14.77 release.
> There are 46 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 Aug 20 13:54:21 UTC 2016.
> 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/v3.x/stable-review/patch-3.14.77-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-3.14.y
> 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)
shuah.kh@samsung.com

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


#1465878

FromGuenter Roeck <linux@roeck-us.net>
Date2016-08-19 04:10 +0200
Message-ID<s7HpT-7RC-9@gated-at.bofh.it>
In reply to#1465641
On Thu, Aug 18, 2016 at 03:54:22PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 3.14.77 release.
> There are 46 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 Aug 20 13:54:21 UTC 2016.
> Anything received after that time might be too late.
> 

Build results:
	total: 131 pass: 129 fail: 2
Failed builds:
	powerpc:defconfig
	powerpc:allmodconfig

Qemu test results:
	total: 89 pass: 88 fail: 1
Failed tests:
	powerpc:pseries_defconfig

Build error:

arch/powerpc/kvm/built-in.o: In function `kvmppc_h_cede': (.text+0x1460):
	undefined reference to `kvmppc_save_tm'
arch/powerpc/kvm/built-in.o: In function `kvm_end_cede':
arch/powerpc/kvm/book3s_hv_rmhandlers.o:(.text+0x14b8):
	undefined reference to `kvmppc_restore_tm'

Caused by commit 5c2337847932 ("KVM: PPC: Book3S HV: Save/restore TM state
in H_CEDE").

Guenter

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


#1466169

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2016-08-19 09:40 +0200
Message-ID<s7Mzf-2Fi-23@gated-at.bofh.it>
In reply to#1465878
On Thu, Aug 18, 2016 at 01:05:48PM -0700, Guenter Roeck wrote:
> On Thu, Aug 18, 2016 at 03:54:22PM +0200, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 3.14.77 release.
> > There are 46 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 Aug 20 13:54:21 UTC 2016.
> > Anything received after that time might be too late.
> > 
> 
> Build results:
> 	total: 131 pass: 129 fail: 2
> Failed builds:
> 	powerpc:defconfig
> 	powerpc:allmodconfig
> 
> Qemu test results:
> 	total: 89 pass: 88 fail: 1
> Failed tests:
> 	powerpc:pseries_defconfig
> 
> Build error:
> 
> arch/powerpc/kvm/built-in.o: In function `kvmppc_h_cede': (.text+0x1460):
> 	undefined reference to `kvmppc_save_tm'
> arch/powerpc/kvm/built-in.o: In function `kvm_end_cede':
> arch/powerpc/kvm/book3s_hv_rmhandlers.o:(.text+0x14b8):
> 	undefined reference to `kvmppc_restore_tm'
> 
> Caused by commit 5c2337847932 ("KVM: PPC: Book3S HV: Save/restore TM state
> in H_CEDE").

Argh, that was my fault, it shouldn't have been applied there.

Now removed, thanks for letting me know.

greg k-h

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web