Re: [PATCH v2] video: fbdev: add Marvell PXA framebuffer binding

2015-10-08 Thread Rob Herring
On Thu, Oct 8, 2015 at 2:15 PM, Robert Jarzmik wrote: > Rob Herring writes: >>> And then, when a board maintainer will create a devicetree description, he >>> will >>> write something like : >>> compatible = "toshiba,ltm0305a776"; >>> compatible = "marvell,pxa2xx-panel"; >> >> Drop

[PATCH 3.2 079/107] s390/compat: correct uc_sigmask of the compat signal frame

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky commit 8d4bd0ed0439dfc780aab801a085961925ed6838 upstream. The uc_sigmask in the ucontext structure is an array of words to keep the 64 signal bits (or 1024 if you ask glibc

[PATCH 3.2 075/107] ARM: 7880/1: Clear the IT state independent of the Thumb-2 mode

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: "T.J. Purtell" commit 6ecf830e5029598732e04067e325d946097519cb upstream. The ARM architecture reference specifies that the IT state bits in the PSR must be all zeros in ARM mode or behavior is

[PATCH 3.2 083/107] usb: xhci: Clear XHCI_STATE_DYING on start

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Roger Quadros commit e5bfeab0ad515b4f6df39fe716603e9dc6d3dfd0 upstream. For whatever reason if XHCI died in the previous instant then it will never recover on the next xhci_start unless we

[PATCH 3.2 090/107] ipv6: addrconf: validate new MTU before applying it

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Marcelo Leitner commit 77751427a1ff25b27d47a4c36b12c3c8667855ac upstream. Currently we don't check if the new MTU is valid or not and this allows one to configure a smaller than minimum

[PATCH 3.2 043/107] drivers: usb: fsl: Workaround for USB erratum-A005275

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Nikhil Badola commit f8786a91548df6930643a052e40e5c0b7a8403a5 upstream. Incoming packets in high speed are randomly corrupted by h/w resulting in multiple errors. This workaround makes FS as

[PATCH 3.2 053/107] drivercore: Fix unregistration path of platform devices

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Grant Likely commit 7f5dcaf1fdf289767a126a0a5cc3ef39b5254b06 upstream. The unregister path of platform_device is broken. On registration, it will register all resources with either a parent

[PATCH 3.2 085/107] cifs: use server timestamp for ntlmv2 authentication

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Seiderer commit 98ce94c8df762d413b3ecb849e2b966b21606d04 upstream. Linux cifs mount with ntlmssp against an Mac OS X (Yosemite 10.10.5) share fails in case the clocks differ more than

[PATCH 3.2 046/107] USB: ftdi_sio: Added custom PID for CustomWare products

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Matthijs Kooijman commit 1fb8dc36384ae1140ee6ccc470de74397606a9d5 upstream. CustomWare uses the FTDI VID with custom PIDs for their ShipModul MiniPlex products. Signed-off-by: Matthijs

[PATCH 3.2 105/107] parisc: Filter out spurious interrupts in PA-RISC irq handler

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit b1b4e435e4ef7de77f07bf2a42c8380b960c2d44 upstream. When detecting a serial port on newer PA-RISC machines (with iosapic) we have a long way to go to find the right IRQ

[PATCH 3.2 013/107] perf: Fix fasync handling on inherited events

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit fed66e2cdd4f127a43fd11b8d92a99bdd429528c upstream. Vince reported that the fasync signal stuff doesn't work proper for inherited events. So fix that. Installing fasync

[PATCH 3.2 093/107] ipc/sem.c: fully initialize sem_array before making it visible

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Manfred Spraul commit e8577d1f0329d4842e8302e289fb2c22156abef4 upstream. ipc_addid() makes a new ipc identifier visible to everyone. New objects start as locked, so that the caller can

[PATCH 3.2 010/107] MIPS: Fix sched_getaffinity with MT FPAFF enabled

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 1d62d737555e1378eb62a8bba26644f7d97139d2 upstream. p->thread.user_cpus_allowed is zero-initialized and is only filled on the first sched_setaffinity call. To avoid adding

Re: [PATCH 0/3] sys_membarrier (x86, generic)

2015-10-08 Thread Rusty Russell
Mathieu Desnoyers writes: > - On Oct 5, 2015, at 7:21 PM, Rusty Russell ru...@ozlabs.org wrote: > >> Mathieu Desnoyers writes: >>> Hi Andrew, >>> >>> Here is a repost of sys_membarrier, rebased on top of Linus commit >>> c4b5fd3fb2058b650447372472ad24e2a989f9f6 without any change since the

[PATCH 3.2 062/107] IB/uverbs: reject invalid or unknown opcodes

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit b632ffa7cee439ba5dce3b3bc4a5cbe2b3e20133 upstream. We have many WR opcodes that are only supported in kernel space and/or require optional information to be copied

[PATCH 3.2 002/107] pktgen: Require CONFIG_INET due to use of IPv4 checksum function

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Graf commit ffd756b3174e496cf6f3c5458c434e31d2cd48b0 upstream. Unlike for IPv6, the IPv4 checksum functions are only available if CONFIG_INET is set. Reported-by: kbuild test robot

[PATCH 3.2 091/107] virtio-net: drop NETIF_F_FRAGLIST

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Jason Wang commit 48900cb6af4282fa0fb6ff4d72a81aa3dadb5c39 upstream. virtio declares support for NETIF_F_FRAGLIST, but assumes that there are at most MAX_SKB_FRAGS + 2 fragments which isn't

[PATCH 3.2 058/107] IB/uverbs: Fix race between ib_uverbs_open and remove_one

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Yishai Hadas commit 35d4a0b63dc0c6d1177d4f532a9deae958f0662c upstream. Fixes: 2a72f212263701b927559f6850446421d5906c41 ("IB/uverbs: Remove dev_table") Before this commit there was a device

[PATCH 3.2 039/107] auxdisplay: ks0108: fix refcount

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Sudip Mukherjee commit bab383de3b84e584b0f09227151020b2a43dc34c upstream. parport_find_base() will implicitly do parport_get_port() which increases the refcount. Then parport_register_device()

[PATCH 3.2 074/107] btrfs: skip waiting on ordered range for special files

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Jeff Mahoney commit a30e577c96f59b1e1678ea5462432b09bf7d5cbc upstream. In btrfs_evict_inode, we properly truncate the page cache for evicted inodes but then we call btrfs_wait_ordered_range

[PATCH 3.2 003/107] jbd2: protect all log tail updates with j_checkpoint_mutex

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit a78bb11d7acd525623c6a0c2ff4e213d527573fa upstream. There are some log tail updates that are not protected by j_checkpoint_mutex. Some of these are harmless because they happen

[PATCH 3.2 102/107] perf tools: Fix build with perl 5.18

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: "Kirill A. Shutemov" commit 575bf1d04e908469d26da424b52fc1b12a1db9d8 upstream. perl.h from new Perl release doesn't like -Wundef and -Wswitch-default:

[PATCH 3.2 081/107] usb: Use the USB_SS_MULT() macro to get the burst multiplier.

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit ff30cbc8da425754e8ab96904db1d295bd034f27 upstream. Bits 1:0 of the bmAttributes are used for the burst multiplier. The rest of the bits used to be reserved (zero), but

[PATCH 3.2 041/107] windfarm: decrement client count when unregistering

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Paul Bolle commit fe2b592173ff0274e70dc44d1d28c19bb995aa7c upstream. wf_unregister_client() increments the client count when a client unregisters. That is obviously incorrect. Decrement that

[PATCH 3.2 100/107] net/ipv6: Correct PIM6 mrt_lock handling

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Laing [ Upstream commit 25b4a44c19c83d98e8c0807a7ede07c1f28eab8b ] In the IPv6 multicast routing code the mrt_lock was not being released correctly in the MFC iterator, as a result

[PATCH 3.2 006/107] USB: sierra: add 1199:68AB device ID

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Dirk Behme commit 74472233233f577eaa0ca6d6e17d9017b6e53150 upstream. Add support for the Sierra Wireless AR8550 device with USB descriptor 0x1199, 0x68AB. It is common with MC879x modules

[PATCH 3.2 030/107] dcache: Handle escaped paths in prepend_path

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit cde93be45a8a90d8c264c776fab63487b5038a65 upstream. A rename can result in a dentry that by walking up d_parent will never reach it's mnt_root. For lack of a better

[PATCH 3.2 023/107] libiscsi: Fix host busy blocking during connection teardown

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: John Soni Jose commit 660d0831d1494a6837b2f810d08b5be092c1f31d upstream. In case of hw iscsi offload, an host can have N-number of active connections. There can be IO's running on some

[PATCH 3.2 018/107] x86/ldt: Make modify_ldt synchronous

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 37868fe113ff2ba814b3b4eb12df214df555f8dc upstream. modify_ldt() has questionable locking and does not synchronize threads. Improve it: redesign the locking and

[PATCH 3.2 094/107] Initialize msg/shm IPC objects before doing ipc_addid()

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit b9a532277938798b53178d5a66af6e2915cb27cf upstream. As reported by Dmitry Vyukov, we really shouldn't do ipc_addid() before having initialized the IPC object state. Yes,

[PATCH] wait: add comment before waitqueue_active noting memory barrier is required

2015-10-08 Thread Kosuke Tatsukawa
This patch adds a comment before waitqueue_active noting that a memory barrier is required. Besides the original problem in drivers/tty/n_tty.c which caused a program stall (described in https://lkml.org/lkml/2015/9/28/849), there were several other places in the linux kernel source, which calls

[PATCH] kvm: fix waitqueue_active without memory barrier in virt/kvm/async_pf.c

2015-10-08 Thread Kosuke Tatsukawa
async_pf_execute() seems to be missing a memory barrier which might cause the waker to not notice the waiter and miss sending a wake_up as in the following figure. async_pf_executekvm_vcpu_block

[PATCH] ALSA: seq_oss: fix waitqueue_active without memory barrier in snd-seq-oss

2015-10-08 Thread Kosuke Tatsukawa
snd_seq_oss_readq_put_event() seems to be missing a memory barrier which might cause the waker to not notice the waiter and miss sending a wake_up as in the following figure. snd_seq_oss_readq_put_event snd_seq_oss_readq_wait

[PATCH] sunrpc: fix waitqueue_active without memory barrier in sunrpc

2015-10-08 Thread Kosuke Tatsukawa
There are several places in net/sunrpc/svcsock.c which calls waitqueue_active() without calling a memory barrier. Change the code to call wq_has_sleeper() instead, which other networking code uses in similar places. I found this issue when I was looking through the linux source code for places

[PATCH] brcmfmac: fix waitqueue_active without memory barrier in brcmfmac driver

2015-10-08 Thread Kosuke Tatsukawa
brcmf_msgbuf_ioctl_resp_wake() seems to be missing a memory barrier which might cause the waker to not notice the waiter and miss sending a wake_up as in the following figure. brcmf_msgbuf_ioctl_resp_wake brcmf_msgbuf_ioctl_resp_wait

Re: [PATCH v6] clk: bcm2835: Add support for programming the audio domain clocks.

2015-10-08 Thread Stephen Boyd
Please drop the full-stop from your subject lines. On 10/08, Eric Anholt wrote: > This adds support for enabling, disabling, and setting the rate of the > audio domain clocks. It will be necessary for setting the pixel clock > for HDMI in the VC4 driver and let us write a cpufreq driver. It

[PATCH 3.2 051/107] rtlwifi: rtl8192cu: Add new device ID

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Adrien Schildknecht commit 1642d09fb9b128e8e538b2a4179962a34f38dff9 upstream. The v2 of NetGear WNA1000M uses a different idProduct: USB ID 0846:9043 Signed-off-by: Adrien Schildknecht

[PATCH] btrfs: fix waitqueue_active without memory barrier in btrfs

2015-10-08 Thread Kosuke Tatsukawa
btrfs_bio_counter_sub() seems to be missing a memory barrier which might cause the waker to not notice the waiter and miss sending a wake_up as in the following figure. btrfs_bio_counter_sub btrfs_rm_dev_replace_blocked

[PATCH] mei: fix waitqueue_active without memory barrier in mei drivers

2015-10-08 Thread Kosuke Tatsukawa
mei_cl_complete() seems to be missing a memory barrier which might cause the waker to not notice the waiter and miss sending a wake_up as in the following figure. mei_cl_complete mei_cl_write

[PATCH] media: fix waitqueue_active without memory barrier in cpia2 driver

2015-10-08 Thread Kosuke Tatsukawa
cpia2_usb_disconnect() seems to be missing a memory barrier which might cause the waker to not notice the waiter and miss sending a wake_up as in the following figure. cpia2_usb_disconnectsync

[PATCH] blk-mq: fix waitqueue_active without memory barrier in block/blk-mq-tag.c

2015-10-08 Thread Kosuke Tatsukawa
blk_mq_tag_update_depth() seems to be missing a memory barrier which might cause the waker to not notice the waiter and fail to send a wake_up as in the following figure. blk_mq_tag_update_depth bt_get

[PATCH 3.2 070/107] hfs: fix B-tree corruption after insertion at position 0

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Hin-Tak Leung commit b4cc0efea4f0bfa2477c56af406cfcf3d3e58680 upstream. Fix B-tree corruption when a new record is inserted at position 0 in the node in hfs_brec_insert(). This is an

[PATCH 3.2 019/107] x86/ldt: Correct LDT access in single stepping logic

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Juergen Gross commit 136d9d83c07c5e30ac49fc83b27e8c4842f108fc upstream. Commit 37868fe113ff ("x86/ldt: Make modify_ldt synchronous") introduced a new struct ldt_struct anchored at

[PATCH 3.2 009/107] target: REPORT LUNS should return LUN 0 even for dynamic ACLs

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Roland Dreier commit 9c395170a559d3b23dad100b01fc4a89d661c698 upstream. If an initiator doesn't have any real LUNs assigned, we should report LUN 0 and a LUN list length of 1. Some versions

[PATCH 3.2 054/107] xfs: return errors from partial I/O failures to files

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: David Jeffery commit c9eb256eda4420c06bb10f5e8fbdbe1a34bc98e0 upstream. There is an issue with xfs's error reporting in some cases of I/O partially failing and partially succeeding. Calls like

[PATCH 3.2 048/107] xfs: Fix xfs_attr_leafblock definition

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit ffeecc5213024ae663377b442eedcfbacf6d0c5d upstream. struct xfs_attr_leafblock contains 'entries' array which is declared with size 1 altough it can in fact contain much more

[PATCH 3.2 068/107] powerpc/MSI: Fix race condition in tearing down MSI interrupts

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit e297c939b745e420ef0b9dc989cb87bda617b399 upstream. This fixes a race which can result in the same virtual IRQ number being assigned to two different MSI interrupts. The

[PATCH 3.2 044/107] serial: 8250: bind to ALi Fast Infrared Controller (ALI5123)

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: "Maciej S. Szmigiero" commit 1d7002777a8fe8188caaa98d4a8eb4ed298fcdae upstream. This way this device can be used with irtty-sir - at least on Toshiba Satellite A20-S103 it is not configured by

[PATCH 3.2 036/107] PCI: Add VPD function 0 quirk for Intel Ethernet devices

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Mark Rustad commit 7aa6ca4d39edf01f997b9e02cf6d2fdeb224f351 upstream. Set the PCI_DEV_FLAGS_VPD_REF_F0 flag on all Intel Ethernet device functions other than function 0, so that on

[PATCH 3.2 095/107] net/tipc: initialize security state for new connection socket

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Stephen Smalley [ Upstream commit fdd75ea8df370f206a8163786e7470c1277a5064 ] Calling connect() with an AF_TIPC socket would trigger a series of error messages from SELinux along the lines of:

[PATCH 3.2 037/107] usb: gadget: m66592-udc: forever loop in set_feature()

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 5feb5d2003499b1094d898c010a7604d7afddc4c upstream. There is an "&&" vs "||" typo here so this loops 3000 times or if we get unlucky it could loop forever. Fixes:

[PATCH 3.2 060/107] drm/i915: Always mark the object as dirty when used by the GPU

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 51bc140431e233284660b1d22c47dec9ecdb521e upstream. There have been many hard to track down bugs whereby userspace forgot to flag a write buffer and then cause graphics

[PATCH 3.2 029/107] sparc64: Fix userspace FPU register corruptions.

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" commit 44922150d87cef616fd183220d43d8fde4d41390 upstream. If we have a series of events from userpsace, with %fprs=FPRS_FEF, like follows: ETRAP ETRAP

[PATCH 3.2 033/107] PCI: Fix TI816X class code quirk

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas commit d1541dc977d376406f4584d8eb055488655c98ec upstream. In fixup_ti816x_class(), we assigned "class = PCI_CLASS_MULTIMEDIA_VIDEO". But PCI_CLASS_MULTIMEDIA_VIDEO is only the

[PATCH 3.2 035/107] PCI: Add dev_flags bit to access VPD through function 0

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Mark Rustad commit 932c435caba8a2ce473a91753bad0173269ef334 upstream. Add a dev_flags bit, PCI_DEV_FLAGS_VPD_REF_F0, to access VPD through function 0 to provide VPD access on other functions.

[PATCH 3.2 026/107] x86/ldt: Further fix FPU emulation

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 12e244f4b550498bbaf654a52f93633f7dde2dc7 upstream. The previous fix confused a selector with a segment prefix. Fix it. Compile-tested only. Cc: Juergen Gross

[PATCH 3.2 025/107] ipc,sem: fix use after free on IPC_RMID after a task using same semaphore set exits

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: "Herton R. Krzesinski" commit 602b8593d2b4138c10e922eeaafe306f6b51817b upstream. The current semaphore code allows a potential use after free: in exit_sem we may free the task's sem_undo_list

[PATCH 3.2 017/107] net: Fix skb_set_peeked use-after-free bug

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit a0a2a6602496a45ae838a96db8b8173794b5d398 upstream. The commit 738ac1ebb96d02e0d23bc320302a6ea94c612dec ("net: Clone skb before setting peeked flag") introduced a

[PATCH 3.2 007/107] target/iscsi: Fix double free of a TUR followed by a solicited NOPOUT

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexei Potashnik commit 9547308bda296b6f69876c840a0291fcfbeddbb8 upstream. Make sure all non-READ SCSI commands get targ_xfer_tag initialized to 0x, not just WRITEs. Double-free of a

[PATCH 3.2 001/107] ipv6: Fix build failure when CONFIG_INET disabled

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings output_core.c, added in 3.2.66, is only needed and can only be compiled when CONFIG_INET is enabled. The condition in the Makefile is already correct upstream. Reported-by:

[PATCH 3.2 005/107] crypto: ixp4xx - Remove bogus BUG_ON on scattered dst buffer

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit f898c522f0e9ac9f3177d0762b76e2ab2d2cf9c0 upstream. This patch removes a bogus BUG_ON in the ablkcipher path that triggers when the destination buffer is different from the

[PATCH 1/2] f2fs: add F2FS_GOING_DOWN_METAFLUSH to test power-failure

2015-10-08 Thread Jaegeuk Kim
This patch introduces F2FS_GOING_DOWN_METAFLUSH which flushes meta pages like SSA blocks and then blocks all the writes. This can be used by power-failure tests. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 1 + fs/f2fs/file.c | 4 2 files changed, 5 insertions(+) diff --git

[PATCH 2/2] Revert "f2fs: do not skip dentry block writes"

2015-10-08 Thread Jaegeuk Kim
The periodic checkpoint can resolve the previous issue. So, now we can use this again to improve the reported performance regression: https://lkml.org/lkml/2015/10/8/20 This reverts commit 15bec0ff5a9ba6d203178fa8772259df6207942a. --- fs/f2fs/data.c| 5 + fs/f2fs/node.c| 5 +

[PATCH 3.2 050/107] rtlwifi: rtl8192cu: Add new device ID

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Marek Vasut commit 9374e7d2fdcad3c36dafc8d3effd554bc702c4b6 upstream. Add new ID for ASUS N10 WiFi dongle. Signed-off-by: Marek Vasut Tested-by: Marek Vasut Cc: Larry Finger Cc: John W.

[PATCH 3.2 098/107] ipv6: lock socket in ip6_datagram_connect()

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 03645a11a570d52e70631838cb786eb4253eb463 ] ip6_datagram_connect() is doing a lot of socket changes without socket being locked. This looks wrong, at least for

[PATCH 3.2 032/107] [media] rc-core: fix remove uevent generation

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: David Härdeman commit a66b0c41ad277ae62a3ae6ac430a71882f899557 upstream. The input_dev is already gone when the rc device is being unregistered so checking for its presence only means that no

[PATCH 3.2 092/107] RDS: verify the underlying transport exists before creating a connection

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 74e98eb085889b0d2d4908f59f6e00026063014f upstream. There was no verification that an underlying transport exists when creating a connection, this would cause dereferencing a

[PATCH 3.2 012/107] rds: fix an integer overflow test in rds_info_getsockopt()

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 468b732b6f76b138c0926eadf38ac88467dcd271 upstream. "len" is a signed integer. We check that len is not negative, so it goes from zero to INT_MAX. PAGE_SIZE is unsigned

[PATCH 3.2 072/107] USB: option: add ZTE PIDs

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: "Liu.Zhao" commit 19ab6bc5674a30fdb6a2436b068d19a3c17dc73e upstream. This is intended to add ZTE device PIDs on kernel. Signed-off-by: Liu.Zhao [johan: sort the new entries ] Signed-off-by:

Re: [f2fs-dev] [PATCH] f2fs: merge meta writes as many possible

2015-10-08 Thread Jaegeuk Kim
Hi Chao, [snip] > > > > struct writeback_control wbc = { > > > > @@ -277,6 +277,11 @@ long sync_meta_pages(struct f2fs_sb_info *sbi, > > > > enum page_type type, > > > > for (i = 0; i < nr_pages; i++) { > > > > struct page *page = pvec.pages[i]; >

[PATCH 3.2 022/107] dm btree: add ref counting ops for the leaves of top level btrees

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Joe Thornber commit b0dc3c8bc157c60b1d470163882be8c13e1950af upstream. When using nested btrees, the top leaves of the top levels contain block addresses for the root of the next tree down.

[PATCH 3.2 024/107] libfc: Fix fc_fcp_cleanup_each_cmd()

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 8f2777f53e3d5ad8ef2a176a4463a5c8e1a16431 upstream. Since fc_fcp_cleanup_cmd() can sleep this function must not be called while holding a spinlock. This patch avoids that

[PATCH 3.2 034/107] mac80211: enable assoc check for mesh interfaces

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Bob Copeland commit 3633ebebab2bbe88124388b7620442315c968e8f upstream. We already set a station to be associated when peering completes, both in user space and in the kernel. Thus we should

[PATCH 3.2 089/107] md: use kzalloc() when bitmap is disabled

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Benjamin Randazzo commit b6878d9e03043695dbf3fa1caa6dfc09db225b16 upstream. In drivers/md/md.c get_bitmap_file() uses kmalloc() for creating a mdu_bitmap_file_t called "file". 5769

[PATCH 3.2 107/107] Revert "sctp: Fix race between OOTB responce and route removal"

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings This reverts commit 117b8a10fe0c434d9043267efd51f3ba3f3d359a, which was commit 29c4afc4e98f4dc0ea9df22c631841f9c220b944 upstream. The bug it fixes upstream clearly doesn't exist

[PATCH 3.2 097/107] net: Fix skb csum races when peeking

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Herbert Xu [ Upstream commit 89c22d8c3b278212eef6a8cc66b570bc840a6f5a ] When we calculate the checksum on the recv path, we store the result in the skb as an optimisation in case we need the

[PATCH 3.2 040/107] devres: fix devres_get()

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Masahiro Yamada commit 64526370d11ce8868ca495723d595b61e8697fbf upstream. Currently, devres_get() passes devres_free() the pointer to devres, but devres_free() should be given with the pointer

[PATCH 3.2 027/107] net: Fix RCU splat in af_key

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: David Ahern commit ba51b6be38c122f7dab40965b4397aaf6188a464 upstream. Hit the following splat testing VRF change for ipsec: [ 113.475692] === [ 113.476194] [

Re: [PATCH 3.2 035/107] PCI: Add dev_flags bit to access VPD through function 0

2015-10-08 Thread Rustad, Mark D
Ben Hutchings wrote: > --- a/include/linux/pci.h > +++ b/include/linux/pci.h > @@ -176,6 +176,8 @@ enum pci_dev_flags { > PCI_DEV_FLAGS_NO_D3 = (__force pci_dev_flags_t) 2, > /* Provide indication device is assigned by a Virtual Machine Manager */ > PCI_DEV_FLAGS_ASSIGNED =

[PATCH 3.2 028/107] sctp: donot reset the overall_error_count in SHUTDOWN_RECEIVE state

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: lucien commit f648f807f61e64d247d26611e34cc97e4ed03401 upstream. Commit f8d960524328 ("sctp: Enforce retransmission limit during shutdown") fixed a problem with excessive retransmissions in

[PATCH 3.2 031/107] vfs: Test for and handle paths that are unreachable from their mnt_root

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit 397d425dc26da728396e66d392d5dcb8dac30c37 upstream. In rare cases a directory can be renamed out from under a bind mount. In those cases without special handling it

[PATCH 3.2 020/107] x86/ldt: Correct FPU emulation access to LDT

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Juergen Gross commit 4809146b86c3d41ce588fdb767d021e2a80600dd upstream. Commit 37868fe113ff ("x86/ldt: Make modify_ldt synchronous") introduced a new struct ldt_struct anchored at

[PATCH 3.2 021/107] localmodconfig: Use Kbuild files too

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit c0ddc8c745b7f89c50385fd7aa03c78dc543fa7a upstream. In kbuild it is allowed to define objects in files named "Makefile" and "Kbuild". Currently localmodconfig reads

[PATCH 3.2 000/107] 3.2.72-rc1 review

2015-10-08 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.72 release. There are 107 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Tue Oct 13 00:00:00 UTC 2015. Anything

[PATCH 3.2 049/107] DRM - radeon: Don't link train DisplayPort on HPD until we get the dpcd

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Stephen Chandler Paul commit 924f92bf12bfbef3662619e3ed24a1cea7c1cbcd upstream. Most of the time this isn't an issue since hotplugging an adaptor will trigger a crtc mode change which in turn,

[PATCH 3.2 067/107] pagemap: hide physical addresses from non-privileged users

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 1c90308e7a77af6742a97d1021cca923b23b7f0d upstream. This patch makes pagemap readable for normal users and hides physical addresses from them. For some use-cases

[PATCH 3.2 080/107] KVM: x86: trap AMD MSRs for the TSeg base and mask

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 3afb1121800128aae9f5722e50097fcf1a9d4d88 upstream. These have roughly the same purpose as the SMRR, which we do not need to implement in KVM. However, Linux accesses

[PATCH 3.2 015/107] ocfs2: fix BUG in ocfs2_downconvert_thread_do_work()

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Joseph Qi commit 209f7512d007980fd111a74a064d70a3656079cf upstream. The "BUG_ON(list_empty(>blocked_lock_list))" in ocfs2_downconvert_thread_do_work can be triggered in the following case:

[PATCH 3.2 069/107] hfs,hfsplus: cache pages correctly between bnode_create and bnode_free

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Hin-Tak Leung commit 7cb74be6fd827e314f81df3c5889b87e4c87c569 upstream. Pages looked up by __hfs_bnode_create() (called by hfs_bnode_create() and hfs_bnode_find() for finding or creating pages

[PATCH 3.2 106/107] jbd2: avoid infinite loop when destroying aborted journal

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 841df7df196237ea63233f0f9eaa41db53afd70f upstream. Commit 6f6a6fda2945 "jbd2: fix ocfs2 corrupt when updating journal superblock fails" changed jbd2_cleanup_journal_tail() to

[PATCH 3.2 014/107] MIPS: Make set_pte() SMP safe.

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: David Daney commit 46011e6ea39235e4aca656673c500eac81a07a17 upstream. On MIPS the GLOBAL bit of the PTE must have the same value in any aligned pair of PTEs. These pairs of PTEs are referred

[PATCH 3.2 101/107] fib_rules: fix fib rule dumps across multiple skbs

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Wilson Kok [ Upstream commit 41fc014332d91ee90c32840bf161f9685b7fbf2b ] dump_rules returns skb length and not error. But when family == AF_UNSPEC, the caller of dump_rules assumes that it

[PATCH 3.2 011/107] xhci: fix off by one error in TRB DMA address boundary check

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 7895086afde2a05fa24a0e410d8e6b75ca7c8fdd upstream. We need to check that a TRB is part of the current segment before calculating its DMA address. Previously a ring

[PATCH 3.2 086/107] x86/paravirt: Replace the paravirt nop with a bona fide empty function

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit fc57a7c68020dcf954428869eafd934c0ab1536f upstream. PARAVIRT_ADJUST_EXCEPTION_FRAME generates this code (using nmi as an example, trimmed for readability): ff 15 00

[PATCH 3.2 096/107] net: pktgen: fix race between pktgen_thread_worker() and kthread_stop()

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov [ Upstream commit fecdf8be2d91e04b0a9a4f79ff06499a36f5d14f ] pktgen_thread_worker() is obviously racy, kthread_stop() can come between the kthread_should_stop() check and

[PATCH 3.2 008/107] md/raid1: extend spinlock to protect raid1_end_read_request against inconsistencies

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 423f04d63cf421ea436bcc5be02543d549ce4b28 upstream. raid1_end_read_request() assumes that the In_sync bits are consistent with the ->degaded count. raid1_spare_active updates

[PATCH 3.2 038/107] KVM: MMU: fix validation of mmio page fault

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Xiao Guangrong commit 6f691251c0350ac52a007c54bf3ef62e9d8cdc5e upstream. We got the bug that qemu complained with "KVM: unknown exit, hardware reason 31" and KVM shown these info:

[PATCH 3.2 045/107] usb: host: ehci-sys: delete useless bus_to_hcd conversion

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Chen commit 0521cfd06e1ebcd575e7ae36aab068b38df23850 upstream. The ehci platform device's drvdata is the pointer of struct usb_hcd already, so we doesn't need to call bus_to_hcd

[PATCH 3.2 099/107] bonding: correct the MAC address for "follow" fail_over_mac policy

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: dingtianhong [ Upstream commit a951bc1e6ba58f11df5ed5ddc41311e10f5fd20b ] The "follow" fail_over_mac policy is useful for multiport devices that either become confused or incur a performance

[PATCH 3.2 088/107] USB: whiteheat: fix potential null-deref at probe

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit cbb4be652d374f64661137756b8f357a1827d6a4 upstream. Fix potential null-pointer dereference at probe by making sure that the required endpoints are present. The whiteheat

<    1   2   3   4   5   6   7   8   9   10   >